Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 776 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 776 Bytes

cdevops

example of puppet and AWS in the real world.

This example uses a few off-the-shelf bits:

go to AWS console and create a puppetmaster instance for "long term use":

  • create a keypair named 'cdevops'
  • create a keypair named 'puppetmaster'
  • launch new Puppetmaster instance of ami-656be372 (Ubuntu 16.04 LTS 20160721 snapshot)
  • open ports 22, 80, 443, 8140
  • scp -i puppetmaster.pem install.sh ubuntu@Puppetmaster:
  • scp -i puppetmaster.pem cdevops.pem ubuntu@Puppetmaster:

now ssh to ubuntu@Puppetmaster and:

  • sudo to root
  • mv ~/cdevops.pem /root
  • export AWS_ACCESS_KEY_ID=
  • export AWS_SECRET_ACCESS_KEY=
  • bash ~/install.sh