Commit graph

363 commits

Author SHA1 Message Date
Scott S. Lowe
4736fc3a5f Merge pull request #97 from lowescott/vpc-all-azs
Add an environment demonstrating how to dynamically accommodate availability zones
2017-09-22 10:22:58 -06:00
Scott Lowe
9e7bff18cb
Add documentation
Add README.md with instructions on how to use this environment

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-22 10:19:35 -06:00
Scott Lowe
525db796e6
Commit multi-AZ Terraform configurations
Commit a set of Terraform configurations that support multi-AZ deployments

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-21 23:28:51 -06:00
Scott S. Lowe
a961d689c8 Merge pull request #96 from lowescott/issue-95
Add files to show how to bootstrap Ubuntu 16.04 for Ansible
2017-09-18 21:55:01 -06:00
Scott Lowe
2fca12122a
Add files to show how to bootstrap Ubuntu 16.04 for Ansible
Add Terraform configurations to launch an Ubuntu 16.04 AWS instance. Add Ansible playbook to bootstrap the instance for use with Ansible.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-18 21:40:05 -06:00
Scott Lowe
7d59f80652
Add documentation
Make brief changes to new files and existing files

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-17 21:15:48 -06:00
Scott S. Lowe
de55213460 Merge pull request #94 from lowescott/tf-ans-swarm
Add a Traefik learning environment leveraging Ubuntu on AWS
2017-09-17 21:07:20 -06:00
Scott Lowe
198771b160
Initial commit
Commit set of files for turning up a Docker Swarm mode cluster on Ubuntu instances on AWS

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-17 21:04:26 -06:00
Scott S. Lowe
228677ee8c Merge pull request #93 from lowescott/tr-vag-ans
Add learning environment for Traefik on local Docker Swarm mode cluster
2017-09-14 08:01:39 -06:00
Scott Lowe
72b2b02d55
Add documentation
Add documentation for this environment in the form of README.md with instructions for using Vagrant+Ansible to create the cluster and deploying Traefik and other web services on top of the cluster

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-14 07:59:19 -06:00
Scott Lowe
12215bbf7e
Integrate changes from ubuntu-swarm-mode environment
Integrate changes to create-swarm.yml, destroy-swarm.yml, machines.yml, and provision.yml based on learnings from the ubuntu-swarm-mode environment

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-14 07:35:48 -06:00
Scott Lowe
1a47f0fc21
Initial commit
Commit initial set of files for using/learning Traefik on a local Docker Swarm mode cluster

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-14 07:31:55 -06:00
Scott S. Lowe
99bdc12926 Merge pull request #92 from lowescott/ubu-sw-mode
Add learning environment for running a local Docker Swarm mode cluster
2017-09-14 07:17:33 -06:00
Scott Lowe
fe8b4dfad7
Finalize environment
Add documentation in the form of README.md with instructions for using the environment. Fix variable references in create-swarm.yml so that the Ansible playbook works as expected.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-14 07:15:01 -06:00
Scott Lowe
0eb0ea7e0d
Update Ansible playbook
Update Ansible playbook to work with Vagrant instead of Terraform/EC2

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-13 11:13:27 -06:00
Scott S. Lowe
79a7b6849a Merge pull request #91 from lowescott/traefik
Add learning environment for Traefik with Docker Swarm
2017-09-13 10:00:04 -06:00
Scott Lowe
6c71f0db3f
Add documentation
Update README.md with instructions for using this environment

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-13 09:50:15 -06:00
Scott Lowe
55dea108f0
Update directory name
Move all files from 'aws-tf-ansible' to 'aws-tf-traefik' to reflect removal of Ansible from the environment (due to CoreOS switch)

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-13 08:29:49 -06:00
Scott Lowe
66128c2420
Switch Traefik environment to CoreOS
Update data.tf to use CoreOS AMI. Update compute.tf to reference new AMI names in data.tf. Remove all Ansible-related files (Ansible not supported with CoreOS).

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-13 08:25:25 -06:00
Scott Lowe
9c9da6e266
Move files to new location
Move files into new 'aws-tf-ansible' directory

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-12 07:51:36 -06:00
Scott Lowe
fa48a0d2d2
Update Ansible playbook and Docker Compose file
Update Ansible playbook to copy Docker Compose file to manager. Update Docker Compose file.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-12 07:48:09 -06:00
Scott Lowe
db91b58b0b
Work on Swarm/AWS infrastructure setup
Fine-tune the Terraform configurations. Rework the Docker Compose file for deploying containers onto the swarm cluster.

Environment is still non-functional.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-09 10:43:55 -06:00
Scott Lowe
510e92646a
Commit initial environment for learning Traefik
Commit initial set of files for an learning environment for Traefik (includes Terraform configurations and Ansible playbooks). Not completely functional yet; Terraform configuration works but Ansible playbook still being tested.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-09 08:44:51 -06:00
Scott S. Lowe
79224ff7f4 Merge pull request #90 from lowescott/asg-elb
Add a learning environment for ASG-ELB using Terraform
2017-09-07 23:11:42 -06:00
Scott Lowe
f9f765d552
Configure outputs and documentation
Add output.tf to output the DNS name of the ELB. Add README.md to document how to use the environment.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-07 23:08:10 -06:00
Scott Lowe
2aec01ac64
Udpate Terraform configuration
Update the Terraform configuration to properly register the ASG instances with the ELB

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-07 22:03:37 -06:00
Scott Lowe
d5dc506b41
Incorporate minor fixes
Fix incorrect placement of Ansible provisioner in Vagrantfile. Update Ansible playbook to create swarm based on learnings from Interop ITX Swarm demo. Change machines.yml to use bento/ubuntu-14.04 instead of ubuntu/trusty64.

Unable to test due to slowness/connectivity issues to Ubuntu repositories.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-07 20:22:16 -06:00
Scott Lowe
d209719e15
Add documentation for Terraform+AWS environments
Add `README.md` files for the Terraform+AWS environments that did not already have documentation on use. Update `README.md` for the bastion-aws environment to appropriately reflect the environment.

Closes #83.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-07 09:57:19 -06:00
Scott Lowe
d1c1f6c306
First attempt at a "static" ASG-ELB config
Add files for creating a "static" (not heavily parameterized) config with an Auto Scaling group and an Elastic Load Balancer.

Functional, but doesn't work as expected. More testing needed.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-06-06 06:06:11 -06:00
Scott Lowe
a9d816d7a9
Update documentation
Update documentation to reflect new Packer environment

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-06-02 10:06:27 -06:00
Scott S. Lowe
9f8e1cd6f8 Merge pull request #89 from lowescott/packer-simple
Add files for building AMI with Packer
2017-06-02 10:03:30 -06:00
Scott Lowe
e47be03d9c
Add files for building AMI with Packer
Add Packer build template, variables file, Ansible role and playbook, and instructions for how to use them to build a Docker CE-provisioned custom AMI on AWS.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-06-02 10:00:59 -06:00
Scott Lowe
6cc0fd0b19
Update README.md
Update README.md to reflect the non-essential nature of the custom SSH configuration

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-06-01 13:54:11 -06:00
Scott S. Lowe
1b413f6f5b Merge pull request #87 from lowescott/docker-cloudinit
Add learning environment demonstrating cloud-init to customize Docker
2017-06-01 13:52:00 -06:00
Scott Lowe
c5f23fa498
Finalize instructions
Finalize the instructions in README.md

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-06-01 13:49:14 -06:00
Scott Lowe
a3a435aafc
Update cloud-init configuration, add launch script
Update cloud-init configuration per discussion with Dusty Mabe in #atomic on IRC (to fix circular dependency between docker and docker-storage-setup). Add launch script to make it easier.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-06-01 13:24:20 -06:00
Scott Lowe
ecdc17a8b2
Add reference to contribution guidelines
Update README.md to include a reference to the contribution guidelines

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-31 22:42:20 -06:00
Scott S. Lowe
4a593644c5 Merge pull request #85 from lowescott/issue-84
Add initial contribution guidelines
2017-05-31 22:24:47 -06:00
Scott Lowe
9145357ca1
Resolved merge conflict
Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-31 16:33:29 -06:00
Scott Lowe
3bbaef7f04
Update custom SSH configuration, add instructions
Update custom SSH configuration to use directory-specific known hosts file. Add preliminary set of instructions. Not quite ready to merge yet; CentOS Atomic Host on AWS seems to have an issue starting the Docker service.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-31 16:26:24 -06:00
Scott Lowe
a5d3926f44 Enable new systemd units
Modify cloud-config.yml to enable new systemd units after they are copied onto the system

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-31 15:47:13 -06:00
Scott Lowe
6c1f156dbc Add files for cloud-init testing
Add cloud-config.yml and ssh.cfg to test using cloud-init to customize Docker Engine on CentOS Atomic Host running on AWS

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-31 15:47:13 -06:00
Scott Lowe
32df1c52ff
Add initial contribution guidelines
Add initial contribution guidelines in the form of CONTRIBUTING.md.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-28 00:49:03 -06:00
Scott Lowe
3e2713cd95
Fix ssh.cfg.example
Fix ssh.cfg.example to correctly reference the custom SSH configuration in the ProxyCommand line

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-26 08:54:02 -06:00
Scott S. Lowe
10476fbcdc Merge pull request #82 from lowescott/vpc-cleanup
Clean up environment
2017-05-25 10:10:08 -06:00
Scott Lowe
e0228f2809
Clean up environment
Clean up Terraform+AWS `new-vpc` environment to adhere to standards described in issue #80.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-25 10:09:03 -06:00
Scott S. Lowe
9fa36f70bf Merge pull request #81 from lowescott/bastion-cleanup
Clean up SSH bastion environment
2017-05-25 09:54:58 -06:00
Scott Lowe
85ba80ace7
Clean up SSH bastion environment
Clean up Terraform+AWS SSH bastion environment. This is part of #80.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-25 09:50:48 -06:00
Scott S. Lowe
c1c422b18a Merge pull request #79 from lowescott/ec2-cleanup
Clean up simple EC2 environment
2017-05-25 09:34:51 -06:00
Scott Lowe
0014866674
Clean up simple EC2 environment
Remove hard-coded variables and move to `terraform.tfvars` for better portability. Rename variables file for greater consistency across environments. Add output to display IP address of spawned EC2 instance.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-25 09:31:56 -06:00