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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>