Commit graph

245 commits

Author SHA1 Message Date
Scott Lowe
a94de56ddd Update Consul learning environment
Remove references to personally-maintained Vagrant boxes. Update setup script to use newer version of Consul (0.7.1).

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2016-12-02 13:25:52 -07:00
Scott S. Lowe
174c5a9b5a Update master README.md
Add entry to master README.md about "complex" JSON file environment

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-11-26 02:03:25 -07:00
Scott S. Lowe
62e173886a Add "complex" JSON environment
Add examples of working with more "complex" JSON environments.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-11-26 01:43:54 -07:00
Scott S. Lowe
23ad41fdee Change default box for VMware platforms
Begin the process of phasing out my personal Vagrant boxes in favor of better-maintained boxes. This involves changes to machines.yml and README.md for many projects in this repo.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-11-26 00:00:19 -07:00
Scott Lowe
26b9091be6 Correct minor typo
Fix a minor typo in README.md

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2016-11-23 17:03:42 -07:00
Scott S. Lowe
d5582d7117 Update Vagrantfile to support DHCP
Update Vagrantfile to support DHCP-assigned IP addresses for additional networks

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-11-11 09:16:45 -07:00
Scott S. Lowe
62837642cb Shift to nested YAML data files
Edit machines.yml to use nested YAML data structures for box names. Edit Vagrantfile to reference updated YAML data appropriately.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-11-09 23:35:13 -07:00
Scott S. Lowe
ba4d123faf Shift to nested YAML data files
Edit YAML data files to use nested data structures. Edit Vagrantfile to reference YAML data accordingly.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-11-09 23:24:47 -07:00
Scott S. Lowe
d6abc231cd Update README.md
Update README.md for Terraform-AWS configuration to reflect the "new-vpc" directory.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-11-09 09:15:53 -07:00
Scott S. Lowe
b5ed2b6c64 Merge pull request #62 from lowescott/tf-vpc
Add a Terraform configuration for creating a new VPC
2016-11-09 01:40:58 -07:00
Scott S. Lowe
b12b263e77 Add Terraform configurations for creating a new VPC
Add Terraform configuration files for launching an instance in a new VPC on a new subnet, with a new Internet gateway, new route table, and new route table association (all required when creating a new VPC).

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-11-09 01:38:43 -07:00
Scott S. Lowe
4bd2a658de Add directory-specific Git ignore file
Add .gitignore to "rkt" directory to ignore the rkt tarball.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-25 23:42:06 -06:00
Scott S. Lowe
1fbc1d71c9 Update main README.md
Update main repository README file to include new environments and tools that had been added but were not reflected in the READE.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-25 23:36:35 -06:00
Scott S. Lowe
fbb1ba1d5f Update README.md
Update the README.md for the Ansible-powered SSH bastion host environment.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-25 23:23:56 -06:00
Scott S. Lowe
f0f6e92b19 Add Ansible-based SSH bastion host environment
Add files to show how to set up an SSH bastion host test environment using Ansible instead of the Vagrant file/shell provisioners.
2016-10-25 21:32:18 -06:00
Scott S. Lowe
4538551e92 Merge pull request #61 from lowescott/ansible-aws
Commit learning environment for using Ansible with AWS
2016-10-23 10:11:56 -06:00
Scott S. Lowe
b0a8f6de59 Commit learning environment for using Ansible with AWS
Add Ansible configuration, Ansible inventory, dynamic inventory script, and Ansible playbooks for a learning environment that shows how to manage AWS infrastructure using Ansible.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-10-23 10:09:49 -06:00
Scott S. Lowe
916242a569 Update project status
Update status of the etcd-backed Docker Swarm cluster running Photon to reflect that it is now fully operational.
2016-10-22 10:14:39 -06:00
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