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/credentialsfile. We'll be using thedefaultcredentials -
Deploy puppet server
cd terraform/05-puppetserverterraform planterraform apply
-
Deploy the sample app
cd terraform/10-appserverterraform planterraform apply
- govuk/aws
- govuk/puppet
- puppetlabs/control-repo