Commit graph

227 commits

Author SHA1 Message Date
Scott S. Lowe
ebddc4b7da Merge pull request #60 from lowescott/tf-aws
Add Terraform-AWS learning environments
2016-10-21 15:30:49 -06:00
Scott S. Lowe
3279b2e390 Add Terraform configuration for simple EC2 instance
Add a simple Terraform configuration to spin up an Ubuntu 14.04 EC2 instance in the default VPC using the default security group.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-21 15:29:32 -06:00
Scott S. Lowe
c9a4adb3b8 Add directory-specific .gitignore file
Add .gitignore file to ignore Terraform state and state backup files.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-21 14:54:46 -06:00
Scott S. Lowe
f77e9928b5 Update environment
Update etcd-backed Docker Swarm environment with Ubuntu and Photon. Switch from shell provisioning to Ansible. Update Vagrantfile to use new techniques pioneered in other environments. Switch away from meta-data/user-data for Photon customization, use Ansible instead.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-21 12:45:13 -06:00
Scott S. Lowe
991deed856 Remove customized override files
Remove customized override files generated from ERB template (excluded from Git in previous commit)

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-21 08:04:31 -06:00
Scott S. Lowe
dea7e11c12 Add .gitignore for specific project
Add .gitignore file for the etcd-backed Docker Swarm cluster using Photon OS to ignore customized etcd override files generated from ERB template.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-21 06:14:29 -06:00
Scott S. Lowe
0d698c95a2 Merge pull request #59 from lowescott/swarm-etcd-upd
Update Docker Swarm-etcd environment
2016-10-20 16:20:11 -06:00
Scott S. Lowe
4f0eb76317 Update Docker Swarm-etcd environment
Update the etcd-backed Docker Swarm environment with new methods/techniques learned in building the Vagrant environment. This involves changes to the external YAML file (renamed to "machines.yml") and the Vagrantfile. Only minor changes were made to the ERB template and the provisioning script (to eliminate a dependency on shared folders).

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-20 16:18:13 -06:00
Scott S. Lowe
8afb4b147b Add README.md to "photon-ansible" learning environment
Add a `README.md` file to the "photon-ansible" learning environment. This commit addresses issue #52.

Closes #52.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-19 15:49:58 -06:00
Scott S. Lowe
9304087a33 Fix typo in Vagrantfile
Fix typo in Vagrantfile in `vagrant-json` environment
2016-10-12 21:52:17 -06:00
Scott S. Lowe
2fd58a0476 Fix typos in Vagrantfile
Replace references to OpenStack with AWS
2016-10-08 20:29:07 -06:00
Scott S. Lowe
e227252ef8 Merge pull request #57 from bhagerty/patch-1
Fix typo in readme.md
2016-10-08 20:27:56 -06:00
bhagerty
ebdf259807 Fix typo in readme.md
I'm pretty sure "OpenStack" should be "AWS."
2016-10-08 18:06:07 -05:00
Scott S. Lowe
ab517e0c81 Add multi-provider Vagrant environment
Add a relatively simple Vagrant environment that will work with AWS, VirtualBox, and VMware Fusion.
2016-10-05 23:24:56 -06:00
Scott S. Lowe
a3de6b21f7 Merge pull request #56 from lowescott/docker-yaml-upd
Update the Docker+YAML environment
2016-10-05 21:19:22 -06:00
Scott S. Lowe
e3feb33619 Update README.md
Update README.md based on new architecture of the learning environment
2016-10-05 21:08:30 -06:00
Scott S. Lowe
7e8077310d Re-factor Docker+Vagrat+YAML environment
Move host Vagrantfile into main directory, and refactor to use external YAML configuration file. Add multi-platform support.
2016-10-04 09:41:29 -06:00
Scott S. Lowe
be92f4dd56 Add examples of working with "complex" YAML files
Add examples of using data encoded in more "complex" YAML files within a Vagrant environment
2016-10-03 21:32:20 -06:00
Scott S. Lowe
355f711b40 Update YAML configuration files for KVM-based environments
Update the YAML configuration files for KVM-based environments to use the "vmw_box" notation for VMware-formatted boxes, even though VirtualBox is not supported for these environments.
2016-10-03 19:36:44 -06:00
Scott S. Lowe
f06de99342 Update README.md and Vagrantfile for KVM-based environments
For KVM-based environments (which require nested virtualization support), update the README.md to note that VirtualBox is not supported. Also update the Vagrantfile for clearer indications that only VMware-based providers are supported.
2016-10-03 19:33:49 -06:00
Scott S. Lowe
daafe0b704 Update Docker Swarm HA environment
Update Docker Swarm HA environment with changes from Docker Swarm environment
2016-09-26 21:12:07 -06:00
Scott S. Lowe
3157260988 Update instructions for Docker Swarm environment
Update the README.md for the Consul-backed Docker Swarm environment
2016-09-25 22:28:22 -06:00
Scott S. Lowe
5a061b1484 Add support for specifying the AWS instance type
Added line to Vagrantfile to read instance_type from instances.yml; this will allow user to specify the AWS instance type to be created.

Addresses #54.
2016-09-25 21:58:04 -06:00
Scott S. Lowe
a4178a889b Update Docker Swarm+Consul environment
Update learning environment for running a Consul-backed Docker Swarm cluster
2016-09-25 14:02:14 -06:00
Scott S. Lowe
64cac4ee8c Fix errors running under VirtualBox
Address a few issues when running the environment under VirtualBox. Additional issues still exist.
2016-09-21 20:44:33 -06:00
Scott S. Lowe
e9ec3cd4c4 Update README
Update the README.md file for multiple learning environments to reflect file name changes, changes in the process for using the learning environment, and changes in the supported/tested software versions.
2016-09-21 15:55:50 -06:00
Scott S. Lowe
11e06a7f43 Ensure consistency across environments
Continue efforts to synchronize content of Vagrant configurations (where possible) across learning environments
2016-09-21 15:04:32 -06:00
Scott S. Lowe
3efbd5ca0d Ensure consistency across environments
Continue efforts to ensure as much consistency as possible across learning environments
2016-09-21 14:52:53 -06:00
Scott S. Lowe
c5159acd48 Improve consistency across environments
Continue the process of improving consistency across different learning environments to help reduce administrative burden of maintaining environments.
2016-09-21 11:09:42 -06:00
Scott S. Lowe
3ab300285e Fix problem with Consul configuration on VirtualBox
Edit Consul Upstart configuration to force Consul to bind to secondary Ethernet interface. This fixes problems when using this environment with VirtualBox.
2016-09-21 11:08:58 -06:00
Scott Lowe
885b3387d8 Update README.md
Update the horribly outdated README.md for this learning environment.
2016-09-21 10:27:10 -06:00
Scott S. Lowe
7f7806ba8e Fix issue with Consul configuration on VirtualBox
Modify `consul.conf` to force Consul to bind to eth1 instead of eth0. Edit `server.json` to use the correct working directory for Consul, as created by `consul.sh` during provisioning.
2016-09-21 09:53:14 -06:00
Scott S. Lowe
684f291f41 Ensure consistency across learning environments
Modify YAML data files and Vagrantfile for various learning environments to ensure greater consistency and reduce technical debt
2016-09-21 01:29:12 -06:00
Scott S. Lowe
12c1e7cc37 Clean up all Vagrant configurations
Remove old settings that are no longer applicable.
2016-09-21 01:06:15 -06:00
Scott S. Lowe
d7a1b87569 Merge pull request #50 from lowescott/vagrant-aws-multi
Add new environment for using Vagrant with AWS (multiple instances)
2016-09-14 23:12:07 -06:00
Scott S. Lowe
e039a4eb8e Add new environment for using Vagrant with AWS
Add files for a learning environment that supports spinning up multiple instances on AWS via Vagrant with the `vagrant-aws` provider.
2016-09-14 23:10:26 -06:00
Scott S. Lowe
f7b1abfdfb Standardize filenames and multi-platform support
Continue changing `servers.yml` to `machines.yml` for all learning environments. Add multi-platform support via provider overrides.
2016-09-14 17:09:04 -06:00
Scott S. Lowe
e7723290ef Streamline file naming standards, add multi-platform support
Continue standardizing on `machines.yml` instead of `servers.yml` for external data file. Add multi-platform support to environments via provider overrides.
2016-09-14 16:47:11 -06:00
Scott S. Lowe
c30b1b5f53 Update multi-platform support
Migrate from a Fusion-only configuration to a configuration that supports both Fusion as well as VirtualBox.
2016-09-11 23:12:15 -06:00
Scott S. Lowe
0ee861c0b0 Add multi-provider support
Modify `Vagrantfile` and `servers.yml` to enable better multi-provider support.
2016-09-11 22:39:15 -06:00
Scott S. Lowe
7a871137a9 Update README.md for OVS multi-bridge environment
Add information to the README for the OVS multi-bridge configuration to state that Ansible 2.1.1.0 or later is required. Earlier versions had a bug in the OVS modules that would cause an error after the initial run of the playbook.
2016-08-12 15:20:09 -06:00
Scott Lowe
2e4f961e6e Merge branch 'master' of https://github.com/lowescott/learning-tools 2016-07-19 15:16:59 -06:00
Scott Lowe
1ddc7016fe Fix error in Vagrantfile
Fixed a missing "end" statement in Vagrantfile
2016-07-19 15:14:53 -06:00
Scott S. Lowe
42d7bbd7a4 Fix typo
Fix a typo in the master README.md file
2016-06-29 21:57:29 -06:00
Scott S. Lowe
41cdb61d77 Update master README.md
Add new learning environments to master README.md.
2016-06-29 21:53:58 -06:00
Scott S. Lowe
def9d39ef8 Update README.md for OVS multi-bridge configuration
Update README.md for OVS multi-bridge configuration with updated instructions.
2016-06-29 21:39:14 -06:00
Scott S. Lowe
95b9f0a5fe Merge pull request #46 from lowescott/ovs-multi-br
Add new environment for working with multiple OVS bridges
2016-06-29 17:47:50 -06:00
Scott S. Lowe
e7f983ddda Add new environment for working with multiple OVS bridges
Add Libvirt XML definitions, Ansible configuration file and playbook, YAML data file, README, and Vagrantfile for an environment enabling users to easily experiment with multi-bridge OVS configurations. Instructions are not yet fully complete. Also tracking a potential bug in the openvswitch_port Ansible module used.
2016-06-29 17:45:24 -06:00
Scott S. Lowe
07b11f18fc Merge pull request #45 from lowescott/ipvs-docker
Add files for using IPVS with Docker
2016-06-20 21:48:47 -06:00
Scott S. Lowe
b4ba9dfcb1 Add files for using IPVS with Docker
Add Vagrantfile, shell provisioning script, Vagrant data file, and README.md for using IPVS to load balance Docker containers.
2016-06-20 21:47:06 -06:00