This repo is a proof of concept on knitting together the following technologies, which intends see "services", rather than "servers", in an automated fashion.
- Puppet 6 & Hiera 5
- Puppet control-repo w/ roles & profiles
- puppetlabs/r10k
- AWS AutoScaling Groups
- Terraform (0.12.x)
-
Create an ssh key pair for puppet to access Github, see ssh-key.md
-
Ensure you have aws creds in your
~/.aws/credentials
file. We'll be using thedefault
credentials -
Deploy puppet server
cd terraform/05-puppetserver
terraform plan
terraform apply
-
Deploy the sample app
cd terraform/10-appserver
terraform plan
terraform apply
- govuk/aws
- govuk/puppet
- puppetlabs/control-repo