Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

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

1,630 views

Published on

"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."

Published in: Technology
  • Be the first to comment

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

  1. 1. Data_Bags Environments Chef Building Blocks Roles Cookbooks Recipes Resources
  2. 2. https://flic.kr/p/4Ab3qP
  3. 3. https://flic.kr/p/4w7zdc
  4. 4. https://supermarket.getchef.com/cookbooks/users https://www.getchef.com/blog/2014/07/10/managing-users-and-ssh-keys-in-a-hybrid-world/
  5. 5. http://semver.org/ https://flic.kr/p/5EGZV1
  6. 6. Attributes can be used for Application versioning
  7. 7. https://flic.kr/p/69hd1g
  8. 8. prod.json { “id”: “prod”, "myapp": { "version": "1.0.9” }, "depapp" { "version": "1.2.0” } }
  9. 9. TDD RED REFACTOR GREEN
  10. 10. Set Up Dependencies Import Keys (Optional) Register Against the ELB https://supermarket.getchef.com/cookbooks/aws
  11. 11. https://supermarket.getchef.com/cookbooks/aws_security
  12. 12. https://supermarket.getchef.com/cookbooks/aws-rds
  13. 13. https://supermarket.getchef.com/cookbooks/route53
  14. 14. user@machine$ 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-edc6330c Flavor: t1.micro Image: ami-b06a98d8 Region: us-east-1 Availability Zone: us-east-1e Security Groups: default Tags: Name: i-edc6330c SSH Key: default Waiting for instance.....
  15. 15. https://flic.kr/p/eycPj7
  16. 16. https://flic.kr/p/knDPjc
  17. 17. CODE
  18. 18. https://www.getchef.com/blog/2014/07/10/managing-users-and-ssh-keys-in-a-hybrid- world/ https://supermarket.getchef.com/cookbooks/users http://tcotav.github.io/chefdk_getting_started.html https://micgo.net/automating-cookbook-testing-with-test-kitchen-berkshelf-vagrant-and- guard/ https://supermarket.getchef.com/cookbooks/aws supermarket.getchef.com
  19. 19. Please give us your feedback on this session. Complete session evaluations and earn re:Invent swag. http://bit.ly/awsevals

×