Home >Technology >AWS Webcast - AWS OpsWorks Continuous Integration Demo

AWS Webcast - AWS OpsWorks Continuous Integration Demo

Date post:08-May-2015
Category:
View:3,486 times
Download:3 times
Share this document with a friend
Description:
In this session we'll discuss and demonstrate key concepts and design patterns for continuous deployment and integration using technologies like AWS OpsWorks and Chef to enable better control of applications and infrastructures.
Transcript:
  • 1.AWS OpsWorksChris BarclayProduct Manager

2. Application Management Challenges Your apps reliability and scalability are really important. The operational tasks needed to keep it runningsmoothly take time As your app grows, routine operational tasks canbecome even more time-consuming and error-prone. Dont want to tradeoff control or flexibility for ease of use. Provision Deploy Configure Monitor Scale Secure 3. Once upon a timeSource: http://www.mixph.com/2008/10/how-to-make-donuts-food-business.html 4. This is what we wantSource http://thethriftythings.com/2013/01/doughnut-heaven-with-krispy-kreme-2013-bloggers-summit.html 5. Recipes + AutomationSource www.ericjoyner.com 6. In todays infrastructure, everything is codefrom the applications developers are writing, toyour configuration management tools, toprovisioning resources with CloudFormationtemplates. 7. AWS OpsWorks Integrated application management solution forops-minded developers and IT admins Model, control and automate applications ofnearly any scale and complexity Management Console, SDKs, or CLI No additional cost 8. Why AWS OpsWorks?SIMPLEEasy to use,quickly getstarted andproductivePRODUCTIVEReduceserrors withconventionsand scriptedconfigurationFLEXIBLESimplifiesdeploymentsof anyscale andcomplexityPOWERFULReduce costand time withautomationSECUREEnablescontrol withfine grainedpermissions 9. Software Config & Deployment OptionsLinuxJEEHibernateYour CodeStrutsApacheTomcatLinuxJEEHibernateYour CodeStrutsApacheTomcatLinuxJEEHibernateYour CodeStrutsApacheTomcatChef 10. AWS Application Management ServicesElastic Beanstalk OpsWorks CloudFormation EC2Convenience ControlHigher-level Services Do it yourself 11. What were going to show in the demoA stack representsthe cloudinfrastructure andapplications that youwant to managetogether.A layer defines howto setup andconfigure a set ofinstances and relatedresources.Then deploy yourapp to specificinstances andcustomize thedeployment withChef recipes.Decide how to scale:manually, with 24/7instances, orautomatically, withload-based or time-based instances. 12. What is Chef and how does OpsWorks use it Chef is an open-sourceframework thatautomates softwaredeployment andconfiguration. Whenever a changehappens on your stack,or upon request, allinstances are notifiedand recipes are run.RecipesLifecycle EventsMetadata 13. Chef recipes in actionRecipe+Metadata=Commandexecute mysql-connect docommand /usr/bin/mysql-u#{node[:deploy][:myphpapp][:database][:username]}-p#{node[:deploy][:myphpapp][:database][:password]}#{node[:deploy][:myphpapp][:database][:database]}deploy: {myphpapp: {database: {username: root,password: abcxyz,/usr/bin/mysql -uroot pabcxyz myphpapp 14. Demonstration: Deployment Pipeline to StagingDeployCode Build Test Provision MonitorOpsWorksGit JenkinsCheck in Build & Test Tests pass Deploy to Staging 15. Demonstration: Deployment Pipeline to ProdBlue/Green Deploys We stand up a duplicate part of ourinfrastructure and slowly cut trafficover to it Shift via DNS Makes it easy to do testing of newfeatures Makes it easy to roll back As we shift more traffic over, letauto-scaling grow/shrink ourinstances of the new or oldapplication Shut down the old when no trafficthereAmazonRoute 53EC2 InstancesELB100%MySQL RDSInstance 16. Demonstration: Deployment Pipeline to ProdBlue/Green Deploys We stand up a duplicate part of ourinfrastructure and slowly cut trafficover to it Shift via DNS Makes it easy to do testing of newfeatures Makes it easy to roll back As we shift more traffic over, letauto-scaling grow/shrink ourinstances of the new or oldapplication Shut down the old when no trafficthereAmazonRoute 53EC2 InstancesELBEC2 InstancesELB90% 10%MySQL RDSInstance 17. Demonstration: Deployment Pipeline to ProdBlue/Green Deploys We stand up a duplicate part of ourinfrastructure and slowly cut trafficover to it Shift via DNS Makes it easy to do testing of newfeatures Makes it easy to roll back As we shift more traffic over, letauto-scaling grow/shrink ourinstances of the new or oldapplication Shut down the old when no trafficthereAmazonRoute 53EC2 InstancesELBEC2 InstancesELB50% 50%MySQL RDSInstance 18. Demonstration: Deployment Pipeline to ProdBlue/Green Deploys We stand up a duplicate part of ourinfrastructure and slowly cut trafficover to it Shift via DNS Makes it easy to do testing of newfeatures Makes it easy to roll back As we shift more traffic over, letauto-scaling grow/shrink ourinstances of the new or oldapplication Shut down the old when no trafficthereAmazonRoute 53EC2 InstancesELBEC2 InstancesELB0% 100%MySQL RDSInstance 19. Demonstration: Deployment Pipeline to ProdBlue/Green Deploys We stand up a duplicate part of ourinfrastructure and slowly cut trafficover to it Shift via DNS Makes it easy to do testing of newfeatures Makes it easy to roll back As we shift more traffic over, letauto-scaling grow/shrink ourinstances of the new or oldapplication Shut down the old when no trafficthereAmazonRoute 53EC2 InstancesELBEC2 InstancesELB0% 100%MySQL RDSInstance 20. Demonstration: Deployment Pipeline to ProdBlue/Green Deploys We stand up a duplicate part of ourinfrastructure and slowly cut trafficover to it Shift via DNS Makes it easy to do testing of newfeatures Makes it easy to roll back As we shift more traffic over, letauto-scaling grow/shrink ourinstances of the new or oldapplication Shut down the old when no trafficthereAmazonRoute 53EC2 InstancesELB100%MySQL RDSInstance 21. Thank you!For more information, see us at https://aws.amazon.com/opsworks/

of 21/21
AWS OpsWorks Chris Barclay Product Manager
Embed Size (px)
Recommended