Commit graph

345 commits

Author SHA1 Message Date
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
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
Scott S. Lowe
9476c3ab2f Merge pull request #78 from lowescott/module1
Add an example of using Terraform modules
2017-05-25 09:08:58 -06:00
Scott Lowe
0f20740eec
Update README.md for Terraform/AWS environments
Update the README.md for Terraform/AWS environments to include a brief description of the new `simple-module` directory

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-25 09:06:48 -06:00
Scott Lowe
23f55bbdcc
Fix small typo
Fix a small typo in one of the attributes of the VPCs

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-25 09:02:44 -06:00
Scott Lowe
fa0bd115bb Commit first run at using modules
Commit a set of files that show the use of modules

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-25 08:59:01 -06:00
Scott Lowe
545996b891
Update .gitignore
Add .terraform to .gitignore (to ignore local copies of Terraform state)

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-24 16:38:23 -06:00
Scott Lowe
76922920bb
Update README.md files
Update README.md for the `terraform/aws` directory. Add new README.md for the `terraform/aws/bastion-aws` directory.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-23 17:12:34 -06:00
Scott Lowe
3a953dde62
Update example SSH configuration
Update the example SSH configuration to make placeholders more clear

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-23 16:28:46 -06:00
Scott Lowe
90aba1dc1e
Update .gitignore
Add a few more files to the global .gitignore for the repository

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-23 16:22:59 -06:00
Scott S. Lowe
287dee3f1a Merge pull request #75 from lowescott/aws-bastion
Add learning environment to show Terraform building an SSH bastion host on AWS
2017-05-23 16:21:09 -06:00
Scott Lowe
b115a5c624
Commit finalized Terraform configuration
Commit finalized Terraform configuration using CentOS and CentOS Atomic Host images for working with an SSH bastion host

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-23 16:19:56 -06:00
Scott Lowe
f2952181fe
Clean up .gitignore files
Remove extraneous .gitignore files, add definitions to main .gitignore file in the root of the repository

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-23 15:04:03 -06:00
Scott Lowe
d9504bffff
Add environment for Docker CE
Add environment to run Docker CE on Ubuntu 16.04, provisioned by Ansible

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-17 12:50:57 -06:00
Scott S. Lowe
421f54ae59 Merge pull request #76 from mvasilenko/master
changed from 0.7.0 to latest consul version
2017-04-28 09:38:20 -06:00
Mikhail Vasilenko
71ad20f8dc port is required, otherwise it would give an error "--advertise should be of the form ip:port or hostname:port" 2017-04-28 18:27:00 +03:00
Mikhail Vasilenko
cb9c0986bb change from 0.7.0 to latest consul version
add temporary consul config files to .gitignore
2017-04-28 17:17:47 +03:00
Scott Lowe
e9f83eb143
Commit files for simple 2 VM OVS environment
Add Vagrantfile, external YAML data file, and Ansible playbook to create a simple 2 VM environment running Ubuntu 16.04 and OVS 2.5.2.

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-04-12 23:25:33 -06:00
Scott Lowe
601ac9f278
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-03-29 23:00:35 -06:00