(APP308) Chef on AWS: Deep Dive | AWS re:Invent 2014

Click here to load reader

  • date post

    27-Jun-2015
  • Category

    Technology

  • view

    637
  • download

    3

Embed Size (px)

description

"When your infrastructure scales, you need to have the tooling and knowledge to support that scale. Chef is one of the commonly used tools for deploying and managing all kinds of infrastructure at any scale. In this session, we focus on how you can get your existing infrastructure robustly represented in Chef. We dive deep on all the specifics that make deploying with Chef on AWS easy: authentication management, versioning, recipe testing, and leveraging AWS resources in your recipes. Whether you're building new infrastructure with no existing operations management software or deploying existing Chef recipes into AWS, this session will outline all the tips and tricks you need to be a master Chef in the cloud."

Transcript of (APP308) Chef on AWS: Deep Dive | AWS re:Invent 2014

  • 1. Data_Bags EnvironmentsChef Building BlocksRolesCookbooksRecipesResources

2. https://flic.kr/p/4Ab3qP 3. https://flic.kr/p/4w7zdc 4. https://supermarket.getchef.com/cookbooks/usershttps://www.getchef.com/blog/2014/07/10/managing-users-and-ssh-keys-in-a-hybrid-world/ 5. http://semver.org/https://flic.kr/p/5EGZV1 6. Attributes can be used for Application versioning 7. https://flic.kr/p/69hd1g 8. prod.json{id: prod,"myapp": {"version": "1.0.9},"depapp" {"version": "1.2.0}} 9. TDDREDREFACTOR GREEN 10. Set Up DependenciesImport Keys (Optional)Register Against the ELBhttps://supermarket.getchef.com/cookbooks/aws 11. https://supermarket.getchef.com/cookbooks/aws_security 12. https://supermarket.getchef.com/cookbooks/aws-rds 13. https://supermarket.getchef.com/cookbooks/route53 14. [email protected]$ knife ec2 server create -I ami-b06a98d8 -f t1.micro -x ec2-user /-S default --identity-file $SSH_KEY --iam-profile createLB --user-data /user_data.sh -r "role[base_centos]Instance ID: i-edc6330cFlavor: t1.microImage: ami-b06a98d8Region: us-east-1Availability Zone: us-east-1eSecurity Groups: defaultTags: Name: i-edc6330cSSH Key: defaultWaiting for instance..... 15. https://flic.kr/p/eycPj7 16. https://flic.kr/p/knDPjc 17. CODE 18. https://www.getchef.com/blog/2014/07/10/managing-users-and-ssh-keys-in-a-hybrid-world/https://supermarket.getchef.com/cookbooks/usershttp://tcotav.github.io/chefdk_getting_started.htmlhttps://micgo.net/automating-cookbook-testing-with-test-kitchen-berkshelf-vagrant-and-guard/https://supermarket.getchef.com/cookbooks/awssupermarket.getchef.com 19. Please give us your feedback on this session.Complete session evaluations and earn re:Invent swag.http://bit.ly/awsevals