cloud computing scalability
play

Cloud Computing & Scalability Reid Holmes REID HOLMES - CPSC - PowerPoint PPT Presentation

http://geekandpoke.typepad.com/geekandpoke/2009/03/let-the-clouds-make-your-life-easier.html Cloud Computing & Scalability Reid Holmes REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING


  1. http://geekandpoke.typepad.com/geekandpoke/2009/03/let-the-clouds-make-your-life-easier.html Cloud Computing & Scalability Reid Holmes

  2. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  3. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  4. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  5. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  6. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  7. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  8. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  9. Cloud precursors ‣ Grid Computing: ‣ Combination of computing resources from multiple administrative domains applied to common tasks. ‣ Usually used to create ‘super computers’ that can work on specific parallel computation tasks. ‣ Utility Computing: ‣ Combining computation, storage, and services metered like utilities. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  10. Cloud Computing ‣ “Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management e ff ort or service provider interaction. This cloud model promotes availability and is composed of five essential characteristics, three service models, and four deployment models.” [NIST] REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  11. NIST Essential Characteristics ‣ On-demand self-service: ‣ Consumers can provision computing capabilities without human interaction. ‣ Resource pooling: ‣ Computing resources are pooled to serve multiple consumers. ‣ Location independence. ‣ Rapid elasticity ‣ Resources can be easily added and removed. ‣ Measured service [services and/or resources] ‣ Metering of storage, processing, bandwidth, etc. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  12. Benefits ‣ Agility ‣ Scalability ‣ Cost ‣ Reliability ‣ Security REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  13. Technology ‣ Thick and thin clients ‣ Broadband ‣ Data centres ‣ Large capacity ‣ Globally distributed ‣ APIs ‣ Administration ‣ Development ‣ Resource migration REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  14. Cloud Layers ‣ SaaS ‣ Vendor-controlled remote applications. ‣ Concerns: control, performance, security, privacy. ‣ PaaS ‣ Vendor-controlled environment. ‣ Concerns: as for SaaS w/ limited technology choices. ‣ IaaS ‣ Vendor-provided resources; consumer provisions VM. ‣ Concerns: more expertise needed to leverage flexibility. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  15. REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  16. Cloud Spectrum REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  17. Layers of Control =5><%?3" B%3#"8 =))( /))( ())( 0";7%@A"5# 0";7%@A"5# C7%?8 C7%?8 C7%?8 0)#) 0)#) 0)#) 0)#) 0)#) .// .// .// .// .// ,- ,- ,- ("&+12"3 ("&+12"3 ("&+"& ("&+"& ("&+"& ("&+"& ("&+"& (#%&)*" (#%&)*" (#%&)*" (#%&)*" (#%&)*" !"#$%&' !"#$%&' !"#$%&' !"#$%&' !"#$%&' 4&*)516)#1%5 4&*)516)#1%59:93"&+12"9 ("&+12"9/&%+18"& 2%5#&%77"8 ;&%+18"&93<)&"92%5#&%7 2%5#&%77"8 DEF9 !"#$%&"'"()*+,-*./$(0%1"-#*/2*3/(+1/&*"(*+,-*3&/$04*5-6*78894* <##;GHH'32%##A%&&13%5I2%AHJKKLHEJHKEH+13?)71615*>#<">M%?58)&1"3>%N>2%5#&%7>15>#<">27%?8H REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  18. Cloud Consistency ‣ CAP Theorem (Eric Brewer UC Berkeley) ‣ Cannot ensure all three simultaneously: ‣ Consistency ‣ Availability ‣ Partition tolerance REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  19. Cloud Security NFPs ‣ Users want assurances of: ‣ Confidentiality ‣ Integrity ‣ Authenticity ‣ Anonymity ‣ Privacy ‣ Data remanence is problematic: ‣ How can you purge data from the cloud? REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  20. Basic 3-Tier B www.devops.com Architecture • Amazon EC2 Instances Web Web Server Server Auto Scaling Group App App Server Server App Tier Amazon RDS AZ-1 Example From Chris Parnin: https://github.com/CSC-DevOps/Course REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  21. DNS Services DNS www.devops.com Amazon Route 53 Hosted Zone • • Amazon EC2 Instances Web Web Server Server Auto Scaling Group • App App Server Server • App Tier • • • Amazon RDS AZ-1 www1.devops.com, … Example From Chris Parnin: https://github.com/CSC-DevOps/Course REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  22. Load Balancing L www.devops.com Amazon Route 53 Hosted Zone • Elastic Load Balancer • Amazon EC2 Instances Web Web • Server Server Auto Scaling Group App App Server Server • App Tier • • • Amazon RDS AZ-1 Example From Chris Parnin: https://github.com/CSC-DevOps/Course REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  23. Content Delivery Co media.devops.com www.devops.com (Static data) Amazon Amazon Route 53 CloudFront Hosted Zone • Deliv conte Elastic Load Balancer Amazon EC2 • Don’t waste CPU, sockets, and Instances wor Web Web Server Server • Mos Amazon S3 Bucket Auto Scaling Group requ 100 App App Server Server • Exam App Tier • J • I Amazon RDS AZ-1 • P Example From Chris Parnin: https://github.com/CSC-DevOps/Course REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  24. On Latency Memory Reference .0001ms 4k from SSD .15ms Round trip (same datacenter) .5ms Disk seek 10ms https://gist.github.com/jboner/2841832 REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  25. Caches Ca media.devops.com www.devops.com (Static data) Amazon Amazon Route 53 CloudFront Hosted Zone • Cache • Data Elastic Load Balancer Amazon EC2 • Prov Instances • Exam Web Web Server Server • F Amazon S3 Bucket Auto Scaling Group • C App D App Server Server F App Tier • Que pr ElastiCache Tier Amazon RDS AZ-1 Example From Chris Parnin: https://github.com/CSC-DevOps/Course REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  26. Availability Zones Av media.devops.com www.devops.com (Static data) Amazon Amazon Route 53 CloudFront Hosted Zone • Isolat • Crea Elastic Load Balancer Amazon EC2 pro Instances isol Web Web Server Server • Exa Amazon S3 Bucket Auto Scaling Group • S n App App Server Server • H App Tier p • A tr ElastiCache Tier Amazon RDS AZ-1 h AZ-2 Example From Chris Parnin: https://github.com/CSC-DevOps/Course REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  27. On Latency Memory Reference .0001ms 4k from SSD .15ms Round trip (same datacenter) .5ms Disk seek 10ms Round trip (international) 150ms https://gist.github.com/jboner/2841832 REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  28. Regions Reg media.devops.com www.devops.com (Static data) Amazon Amazon Route 53 CloudFront Hosted Zone • Geog envi Elastic Load Balancer Amazon EC2 • Crea Instances pro Web Web isol Server Server Amazon S3 • Exa Bucket Auto Scaling Group • S App App Server Server o App Tier e • H d ElastiCache Tier Amazon RDS AZ-1 AZ-2 Region Example From Chris Parnin: https://github.com/CSC-DevOps/Course REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  29. Other Concerns Oth media.devops.com www.devops.com (Static data) Amazon Amazon Route 53 CloudFront Hosted Zone • Elastic Load • Balancer Amazon EC2 Instances Amazon • CloudWatch Alarms Web Web • Server Server Amazon S3 Amazon SNS Bucket Auto Scaling Group • … Notifications App App Server Server Amazon App Tier DynamoDB Tables Amazon SES Email ElastiCache Tier Amazon RDS AZ-1 AZ-2 Region Example From Chris Parnin: https://github.com/CSC-DevOps/Course REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  30. Disaster Recovery Not Active for Production Traffic Amazon Active Route 53 Elastic Load Balancer Reverse Reverse Proxy/ Proxy / Caching Caching Server Server Application Data Source Application Cut Over Server Application Server Slave Mirroring / Replication Database Server Master Database Server Scaled down Data Volume Standby Corporate Data center AWS Region Example From Chris Parnin: https://github.com/CSC-DevOps/Course REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

  31. • You know how to do this: Instances Web Web Server Server Auto Scaling Group App App Server Server App Tier Amazon RDS AZ-1 REID HOLMES - CPSC 410: ADVANCED SOFTWARE ENGINEERING

Recommend


More recommend