Commit graph

379 commits

Author SHA1 Message Date
Scott Lowe
e0853c9856
Remove references to personally-built boxes
Remove references to Vagrant boxes that I personally built and (did not) maintain, replacing them with more regularly-maintained boxes

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-12-20 08:04:31 -07:00
Scott Lowe
643b064af3
Remove hard-coded path references
Remove hard-coded path references in some Ansible configuration files

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-12-20 07:43:10 -07:00
Scott Lowe
62db062ee9
Update Debian Jessie area, add Debian Stretch
Update Debian Jessie files. Add matching files for Debian Stretch. Remove references to personally-created boxes.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-12-20 07:34:43 -07:00
Scott S. Lowe
65a01d9fc3
Merge pull request #104 from lowescott/azure
Add files for using Vagrant with Azure
2017-12-11 21:37:20 -07:00
Scott Lowe
af9b582aca
Add files for using Vagrant with Azure
Add files (Vagrantfile and YAML data file) for using Vagrant with Azure

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-12-11 21:35:53 -07:00
Scott S. Lowe
aa337214e9 Merge pull request #101 from lowescott/fmt-cleanup
Clean up and update formatting for Terraform configurations
2017-10-18 11:53:24 -06:00
Scott Lowe
5645144589
Update formatting
Update formatting of all Terraform configuration files per `terraform fmt`

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-10-18 11:52:09 -06:00
Scott S. Lowe
2d5501b72d Merge pull request #100 from lowescott/lint
Update formatting
2017-10-18 09:00:53 -06:00
Scott Lowe
7842a4535a
Update formatting
Update formatting of all Terraform configurations per `terraform fmt`

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-10-18 08:59:59 -06:00
Scott Lowe
19b956f31c
Clean up files
Standardize on the use of main.tf for the "main" Terraform configuration as it seems to be a best practice within the Terraform community

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-10-17 14:00:36 -06:00
Scott Lowe
2f289a2887
Update README.md
Update the `terraform/aws` README.md to reflect new Terraform environments that have been recently added

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-26 10:39:19 -06:00
Scott S. Lowe
bc33d0be28 Merge pull request #99 from lowescott/ic-module-asg
Add environment leveraging Auto Scaling Groups
2017-09-26 10:34:05 -06:00
Scott Lowe
1e2301694a
Add environment leveraging Auto Scaling Groups
Add a Terraform learning environment that creates "instance clusters" using Auto Scaling Groups and modules

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-26 10:32:07 -06:00
Scott S. Lowe
520b1df7cb Merge pull request #98 from lowescott/ic-module
Add an environment showing how to use multiple Terraform modules
2017-09-25 22:57:03 -06:00
Scott Lowe
030b3bf4a5
Add documentation
Add README.md to explain how to use the ic-module area

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-25 22:55:01 -06:00
Scott Lowe
e260eb828e
Add files for instance-cluster environment
Commit files to show use of 2 separate Terraform modules, including the "instance-cluster" module to spin up a cluster of instances

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-09-24 22:04:11 -06:00
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