Puppet Camp Portland 2014: Masterless Puppet in AWS

Download Puppet Camp Portland 2014: Masterless Puppet in AWS

Post on 13-Jul-2015




0 download

Embed Size (px)


<ul><li><p>Masterless Puppet in AWSby Daniel Thornton (relud)</p></li><li><p>AWS ResourcesEC2 instanceEC2 user-dataIAM roleS3 bucket</p></li><li><p>Other ResourcesGithubPuppet ForgeHiera</p></li><li><p>Git RepoModules and non-secret hiera data</p><p>Installed to /etc/puppet</p><p>List forge modules in hiera</p></li><li><p>SecretsStored in S3 bucket</p><p>IAM role for access</p></li><li><p>DeploymentWrite userdata</p><p>Assign role with Facter external fact</p><p>Launch EC2 instance with userdata</p></li><li><p>Live Demohttps://github.com/relud/puppet-demo</p></li><li><p>Improvements Bundle /etc/puppet (except secrets) Store secrets in git and automatically sync</p></li><li><p>Pros Deploy any code version Simple puppet forge integration Scalable No manual approval of servers Puppet only runs once</p></li><li><p>Cons Puppet only runs once Puppetdb and dashboards (like </p><p>TheForeman) dont work well Doesnt translate well outside AWS</p></li><li><p>Questions?</p></li></ul>