Your SlideShare is downloading. ×

Automating with CloudFormation

680

Published on

Presented at PHP Melbourne User Group (phpmelb.org). Source files for the presentation is available at http://bit.ly/phpmelb-aws-cf-auto

Presented at PHP Melbourne User Group (phpmelb.org). Source files for the presentation is available at http://bit.ly/phpmelb-aws-cf-auto

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
680
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
27
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. CloudFormation AWS Resource Automation
  • 2. Caveats • Not affiliated with AWS • No expert in AWS • Not extensive cover of CF
  • 3. World of AWS
  • 4. Before We Start • AWS Account • AWS Management Console • IAM Keys • AWS CLI • Boto (Python)
  • 5. What is CloudFormation? a template (config/manifest) in json
  • 6. What is CloudFormation?
  • 7. Anatomy Of A CF Template
  • 8. Parameters
  • 9. Mappings
  • 10. Resources
  • 11. Outputs
  • 12. The Basic Sekeleton
  • 13. Intrinsic Functions Fn::Base64 Fn::FindInMap Fn::GetAtt Fn::GetAZs Fn::Join Fn::Select Ref
  • 14. Condition Functions Fn::And Fn::Equals Fn::If Fn::Not Fn::Or
  • 15. Walkthrough http://bit.ly/phpmelb-aws-cf-auto
  • 16. Other Cool Stuff • AWS::CloudFormation::CustomResource • AWS::CloudFormation::WaitCondition • AWS::CloudFormation::WaitConditionHandle • CloudFormation Helper Scripts • cfn-init • cfn-get-metadata • cfn-signal
  • 17. These are handy • Instances Profiles • curl http://169.254.169.254/latest/meta-data/ • Cumulus (https://github.com/cotdsa/cumulus)
  • 18. How Do We Automate?
  • 19. A Typical Scenario • Already has a production environment • Possible have RDS or DB instance • Plenty of application servers • Deployment is difficult
  • 20. Script Build First
  • 21. Then CloudFormation
  • 22. Deploying
  • 23. Deployment Pipeline
  • 24. Deployment Pipeline
  • 25. Quick Demo
  • 26. Why Is This Important? • Highly auditable • [Cruelly] consistent & predictable • Conveniently reproducible ! • Immutable Servers • Avoids EOL of Instances • Reduces RTO
  • 27. Thank you weekeat@peazie.com @visualdensity @peaziesocial

×