Skip to content

Testing full stack configurations for Chef & Puppet on EC2 free tier

Notifications You must be signed in to change notification settings

neldridge/ec2-stack-configurations-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Testing Full Stack build with Chef & Puppet combined using EC2 free tier

[default]
aws_access_key_id = your_access_key_id
aws_secret_access_key = your_secret_access_key

  • Add proper availability zones and regions
aws ec2 describe-regions
aws ec2 describe-availability-zones --region us-east-1

TODO

So, we can launch an EC2 instance with the configurations above-- then use an init script with "user data" on EC2 (not sure how to configure this with puppet yet, the variable is there.. but do we specify a file and it uploads it? or does it need to be a URL to download? or what)

Once we have an init script, we can use an AMI that has puppet pre-installed.. we just need a script like in the URL below, to configure the hosts file to the puppet master... Then it'll automatically fetch what it needs to from the puppet master and we don't need to touch it at all.

http://www.knowceantech.com/2012/08/let-userdata-tell-puppet-how-to-configure-your-cloud-vms/

Cloud Init

This seems to be the way to go.

Specify yum repo: https://yum.puppetlabs.com/puppetlabs-release-pc1-el-6.noarch.rpm

About

Testing full stack configurations for Chef & Puppet on EC2 free tier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages