O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

(AWS) OpsWorks

7.215 visualizações

Publicada em

AWS OpsWorks is an application management service that makes it easy for DevOps users to model and manage the entire application from load balancers to databases. Start from templates for common technologies like Ruby, Node.JS, PHP, and Java, or build your own using Chef recipes to install software packages and perform any task that you can script. AWS OpsWorks can scale your application using automatic load-based or time-based scaling and maintain the health of your application by detecting failed instances and replacing them. You have full control of deployments and automation of each component.

The tutorial includes topics like success stories of OpsWork, application challenges faced by OpsWork, details about OpsWork, why use OpsWork, competitors (beanstalk vs opswork vs CF vs DIY), types of layers, static application, adding a data store, auto-scaling, monitoring. The tutorial begins with a section about the success stories which took place using opswork like wooga, artsy and also the challenges faced by it. It is followed by a brief introduction to opswork and how a user can manage applications using opswork. Next comes a section about the benefits of using opswork. It gives pointers on why a user should use opswork and also about the many benefits of using opswork.

The subsequent section covers the competitors in the market like beanstalk, CF, DIY and gives details about the features of opswork which are lacking in the other competitors. Then comes the types of layers opswork uses. It includes the types of layers like app servers, My SQLDB, others and also shows opswork in action. It is further followed by a section about static applications like the architecture, the setup, creating a stack, adding a server layer, adding instances to the server layer, the states of instances, creating an application, deploying an application which are present in opswork.

Another section similar to this section is about adding a data store. It consists of the architecture, adding a layer and instance, application/DB configuration, deploying and running an application using opswork. Directly after this comes a section about auto scaling. It involves auto scaling and updating architecture, adding a LB layer, enabling load based auto scaling, adding load based instances, take action like start firing on servers. The last section of this tutorial is about monitoring. It includes monitoring like default monitoring, monitoring layer, individual default monitoring and also consists of the summary of the whole tutorial.

Publicada em: Educação
  • Seja o primeiro a comentar

(AWS) OpsWorks

  1. 1. AWS OpsWorks
  2. 2. Agenda 1. Success Stories 2. Application Challenges 3. What isOpsWorks 4. Why OpsWorks 5. BeanStalk vs OpsWorks vs CF vsDIY 6. OpsWorks 7. OpsWorks in Action 8. Monitoring 9. Summary
  3. 3. Success Stories Wooga • Monster World runs entirely on the AWS Cloud. • Wooga’s Monster World has approximately two million players per day. • 15,000 requests per second at its peak. "AWS OpsWorks gives us the tools we need to automate operations, We can scale Monster World to millions of users without ever needing more than two back-end developers.”
  4. 4. Success Stories Artsy • Marketplace and database for fine arts. • Application based on Rails and backed by a MongoDB, Memcached,CloudFront and S3. • Takes advantage of load-based and time-based scaling built into OpsWorks. “OpsWorks gives us a lot more control. We have to be aware of the infrastructure and make decisions accordingly, but the gains have been well worth it.” Application Challenges • Reliability • Scalability • Operational Tasks o Deployment o Configuration o Monitoring o Security
  5. 5. What is OpsWorks • AWS OpsWorks isan application management service that makes it easy for DevOps users to model and manage the entire application from load balancers to databases. Easy to use Quickly get Started and productive Reduces Errorswith Conventions and scripted configuration Simplifies Deployment of any Scale and complexity Reduce cost And time with automation Enables control With finegrained permissions SIMPLE PRODUCTIVE FLEXIBLE POWERFUL SECURE
  6. 6. Why OpsWorks • Full control of components • Automation • Inbuiltscalability • Auto Healing • Repeatable Architecture • Fully customizable • Permissions • Detailed Monitoring • Version control integration (Git/SVN) • Resource Management • Free, pay only for the resources that you use
  7. 7. BeanStalk vs OpsWorks vs CF vs DIY AWSElastic Beanstalk “Web Apps Made Easy” AWS OpsWorks “DevOps Automation” AWS CloudFormation “Template-Driven Provisioning” Amazon EC2 + Cloud Watch + Auto Scaling + CustomAMIs Do ityourselfHigher-LevelServices Convenience Control
  8. 8. BeanStalk vs OpsWorks YourCode Tomcat Apache Struts Hibernate JEE Linux YourCode Tomcat Apache Struts Hibernate JEE Linux Chef
  9. 9. OpsWorks Stack -> Layers -> Apps
  10. 10. Layer lifecycle event Predefined Cookbooks Custom Cookbooks
  11. 11. Types of Layers • HAProxyLoad Balancer • AppServers  Static,  Node.js  PHP  Rails  Java • MySQLDB • Others  Memcached (Caching)  Ganglia (Monitoring)  Custom (UsingChef)
  12. 12. OpsWorks in Action • A Static Application • Add a DB layer • ELB+Auto Scaling
  13. 13. Static Application : Architecture
  14. 14. Static Application Setup A. Create a Stack B. Add ServerLayer C. Add an Instance totheServer Layer D. Create App E. Deploy App
  15. 15. Static Application Setup : Create a Stack
  16. 16. Static Application Setup: Add a Server Layer • Layer Type • ELB • Each type of layer has different options ( related to application version).
  17. 17. Static Application Setup: Add an Instance to the Server Layer
  18. 18. Instance States create theEC2 Requested -OpsWorks has calledthe Amazon EC2 service to instance.  Pending -AWS OpsWorks iswaiting for the EC2 instance to start.  Booting -The EC2 instance isbooting.  Runningsetup-The AWS OpsWorks agent isrunning the layer's Setup recipes, which handle tasks such as configuring and installing packages, and the Deploy recipes, which deploy any apps to the instance.  Online -The instance isready for use.
  19. 19. Static Application Setup: Create App
  20. 20. Static Application Setup: Deploy App lDeploy multiple apps lA new server in same layer would have all existing appsdeployed lA new app needs to be deployed on all servers.
  21. 21. Adding a Data Store: Architecture
  22. 22. Adding a Data Store: Adding a layer and instance. A. Adding a layer andinstance. B. Application/DB Configuration C. Deploy
  23. 23. Adding a Data Store: Adding a layer and instance. • Create a DBlayer. • Add InstancetoDB layer • StartInstance
  24. 24. Adding a Data Store: Application/DB Configuration • UsingCookbooks • Specify customcookbook repo • Runcommand toupdate Stack Cookbooks.
  25. 25. Adding a Data Store: Configuring DB/Application • Update events. • Recipes explained
  26. 26. Adding a Data Store: Deploy and Run
  27. 27. LB + Auto Scaling A. Add a HAProxyLBlayer B. Enable Load Based Auto Scaling C. Add load basedinstances
  28. 28. Auto Scaling: Updated Architecture
  29. 29. Auto Scaling: Add a LB layer
  30. 30. Auto Scaling: Enable load based Auto Scaling
  31. 31. Auto Scaling: Add load based instances
  32. 32. Auto Scaling: Start firing on servers
  33. 33. Monitoring • DefaultMonitoring  CPU Usage  Memory Usage  Load on server  Processes • Monitoringlayer
  34. 34. Default Monitoring
  35. 35. Default Monitoring: Individual
  36. 36. Summary • Automate/Manageeverything • Designed firBlue/Green deployments. • Predefined optimized layers minimizes effort • TonsChef Cookbooks/recipes available • Permissions • Chef learningcurve. • No supportfor Windows
  37. 37. References • AWS Documentation • Demo Application • Walk-through : Demo Application • Demo Cookbook Repo • Chef Documentation • Todo :PHP Photo ShareApp
  38. 38. Contact us Here’s how TOTHENEW uses AWS for better infrastructure management for your customers. Click Here To Know More! Have more queries on AWS? Talk to our AWS experts Now! Talk To Our Experts! Our Offices Client Location