cloud computing with amazon web services and the devops
play

Cloud Computing with Amazon Web Services and the DevOps Methodology - PowerPoint PPT Presentation

Cloud Computing with Amazon Web Services and the DevOps Methodology www.cloudreach.com Who am I? www.cloudreach.com Cloud Computing with Amazon Web Services and the DevOps Methodology Max Manders @maxmanders Systems Developer at Cloudreach


  1. Cloud Computing with Amazon Web Services and the DevOps Methodology www.cloudreach.com

  2. Who am I? www.cloudreach.com

  3. Cloud Computing with Amazon Web Services and the DevOps Methodology Max Manders @maxmanders Systems Developer at Cloudreach @cloudreach Director / Co-Founder of Whisky Web @whiskyweb www.cloudreach.com

  4. Who are Cloudreach? www.cloudreach.com

  5. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Multi-platform cloud integrator for the enterprise. ● Top tier partner with ○ Amazon Web Services ○ Google ○ Heroku ○ SalesForce www.cloudreach.com

  6. Cloud Computing with Amazon Web Services and the DevOps Methodology www.cloudreach.com

  7. What do Cloudreach do? www.cloudreach.com

  8. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Consultancy Services ● Migration Services ○ Moving platforms to the cloud ○ Migrating business to Google Apps ● Application Development ○ Mobile development - Android/iOS ○ SalesForce integration ● Managed Services ○ 24/7 Monitoring ○ Break/Fix ○ Business As Usual / Keeping lights on www.cloudreach.com

  9. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Amazon Web Services ○ Cloud computing platform ● Chef ○ Configuration management ● Splunk ○ Data collection ○ "Big data" Analytics ● Zenoss ○ Monitoring and alerting ● Jira ○ "Agile" issue tracker & team management www.cloudreach.com

  10. What is Cloud Computing? www.cloudreach.com

  11. Cloud Computing with Amazon Web Services and the DevOps Methodology Paid For Required Variable Utilisation ● Traditionally pay for fixed capacity ○ VPS / co-location ○ Not always on ○ Underutilised www.cloudreach.com

  12. Cloud Computing with Amazon Web Services and the DevOps Methodology Paid For Required Investing in Expected Capacity ● Traditionally pay for fixed capacity ○ Stepwise expansion ○ Underutilised www.cloudreach.com

  13. Cloud Computing with Amazon Web Services and the DevOps Methodology Expected Peaks Unexpected Peaks ● Traditionally pay for fixed capacity ○ Underprovisioned ■ Lost revenue at peaks ○ Overprovisioned ■ Underutilised www.cloudreach.com

  14. Cloud Computing with Amazon Web Services and the DevOps Methodology Wouldn't it be nice if the red line more closely followed the blue line? With the cloud and Amazon Web Services, it can; and you only pay for what you use. www.cloudreach.com

  15. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Traditional infrastructure ○ Physical racks in data centres ○ Manually replace faulty hardware ○ Scaling up ■ Provision and install new hardware ○ Scaling down!? www.cloudreach.com

  16. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Elasticity ○ Scale up in response to spikes ○ Scale down afterwards ○ No CapEx ○ Pay as you go www.cloudreach.com

  17. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Elasticity ○ Disk space on demand ○ Networking on demand ○ CPU on demand ○ RAM on demand www.cloudreach.com

  18. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Virtualised infrastructure ● Abstracted hardware detail ● Still need physical hardware ● Managed reliably by someone else www.cloudreach.com

  19. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Agile ○ Try new things without heavy investment ○ Scrap ideas without significant overhead. ● "Just In Time" ○ Expecting increased traffic, spin up new temporary resource. ● Typically HTTP API to cloud resources www.cloudreach.com

  20. Cloud Computing with Amazon Web Services and the DevOps Methodology ● X as a Service ○ Application ○ Infrastructure ○ Platform ○ Network ○ Storage ○ Database ○ Etc. www.cloudreach.com

  21. Amazon Web Services www.cloudreach.com

  22. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Amazon.com not just a retailer ● Amazon.com built on top of AWS ● Built to be resilient ● Geographic diversity www.cloudreach.com

  23. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Multiple interfaces to API ○ Command line tools ○ HTTP API ○ Web Console ○ SDKs (Ruby, Java, Python etc.) www.cloudreach.com

  24. Cloud Computing with Amazon Web Services and the DevOps Methodology Web Libraries / SDKs Command Line Tools Console, Mobile Apps Java, .Net, Ruby, Python AWS-CLI, JQ etc. Deployment Monitoring Auth CloudFormation, Elastic CloudWatch IAM, MFA Beanstalk Processing CDN Communication MapReduce CloudFront SNS, SES, SQS Compute Storage Network Database EC2 S3, EBS, Glacier VPC, ELB, Route 53, RDS, ElasticCache, Autoscaling Groups DnaymoDB Regions / Availability Zones www.cloudreach.com

  25. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Regions ○ us-east-1, us-west-1, us-west-2 ● Availability Zones ○ eu-west-1a, eu-west-1b ○ Diverse network, bandwidth ○ Isolated from other AZs www.cloudreach.com

  26. Elastic Compute Cloud (EC2) www.cloudreach.com

  27. Cloud Computing with Amazon Web Services and the DevOps Methodology ● On demand compute power ● Basically a Virtual Machine with extras ● Based on AMIs ● Different instance sizes ○ Micro ~ 512Mb RAM, 1 CPU ○ Cluster 8 XL ~ 244Gb RAM, 88 CPU ● Boot a new instance in minutes ● Public DNS and IP address www.cloudreach.com

  28. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Choice of OS ○ Linux, Windows, FreeBSD, OpenSolaris ● CloudWatch monitoring ● Snapshots / Backups ● Build AMIs for VM templates ● Choice of pricing model ○ On Demand, Reserved, Spot www.cloudreach.com

  29. Storage Solutions (EBS, S3, Glacier) www.cloudreach.com

  30. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Elastic Block Store ○ Analogous to traditional hard disks ○ Commonly used as primary instance storage ○ Block level device access www.cloudreach.com

  31. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Simple Storage Service ○ Geographically distributed for redundancy ○ Can be used in conjunction with Route 53 to host static sites! ○ Useful for backup purposes ○ Currently > 1.3Tn objects www.cloudreach.com

  32. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Glacier ○ Very low storage cost ○ Designed for infrequent retrieval ○ Retrieval time of several hours ○ Not for servicing real time requests ○ Long term backup solution e.g. for data retention compliance www.cloudreach.com

  33. Elastic Load Balancer (ELB) www.cloudreach.com

  34. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Distribute load across many back-end instances ● Multiple AZ support ● Complemented by Autoscale Groups www.cloudreach.com

  35. Demo - AWS Console www.cloudreach.com

  36. What is DevOps? www.cloudreach.com

  37. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Buzzword ● Mindset ● Social Perspective ● Technical Perspective www.cloudreach.com

  38. Social Perspective www.cloudreach.com

  39. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Invisible fence between Devs and Ops ● Both throw things over the fence and call it a day ● Not about stable code or stable infrastructure, but a stable business ● All on the same team www.cloudreach.com

  40. Cloud Computing with Amazon Web Services and the DevOps Methodology Dev Ops Develop Monitor Test Patch QA Fix Release ● Devs create change ● Ops enforce stability ● Fundamentally opposing goals ● Key is to work together for the benefit of the whole www.cloudreach.com

  41. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Continuous delivery ○ Devs don't release to Ops ○ Ops don't release to Devs ○ Devs + Ops release to the business www.cloudreach.com

  42. Technical Perspective www.cloudreach.com

  43. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Humans make mistakes ● Testing ○ Mitigate risk ○ Don't release broken code ● Monitoring ○ Know when things go wrong (because they will!) ● Automation ○ Address issues quickly and efficiently ○ Only write it once www.cloudreach.com

  44. Cloud Computing with Amazon Web Services and the DevOps Methodology ● "...If you're not nervous deploying to production, you haven't understood the gravity of the situation..." ● Devops done correctly: ○ Confident deployment ○ Confident rollback ○ Confident team www.cloudreach.com

  45. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Code is in source control, so why not infrastructure? ● Define infrastructure as code ● Rebuild entire infrastructure ○ Infrastructure Code + ○ Application Code + ○ Data www.cloudreach.com

  46. Chef www.cloudreach.com

  47. Cloud Computing with Amazon Web Services and the DevOps Methodology ● Configuration management ● System integration ● Infrastructure as code ● Your estate in an API www.cloudreach.com

Recommend


More recommend