aws hosted services
play

AWS Hosted Services 2 Compute Cloud Compu2ng - PowerPoint PPT Presentation

Cloud Computing ECPE 276 AWS Hosted Services 2 Compute Cloud Compu2ng Spring 2016 3 Compute Options 1. Amazon Elas2c Compute Cloud


  1. ì ¡ Cloud ¡Computing ¡ ECPE ¡276 ¡ AWS ¡Hosted ¡ Services ¡

  2. 2 ¡ ì ¡ Compute ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  3. 3 ¡ Compute ¡Options ¡ 1. Amazon ¡ Elas2c ¡Compute ¡Cloud ¡ (EC2) ¡ 2. Amazon ¡Lambda ¡(λ) ¡ 3. Amazon ¡Elas2c ¡Bean ¡Stalk ¡ (EBS) ¡ 4. Other ¡services ¡ ElasDc ¡Load ¡Balancing ¡ 1. Auto ¡Scaling ¡ 2. CloudFront ¡(content ¡delivery) ¡ 3. Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  4. 4 ¡ EC2 ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  5. 5 ¡ Amazon ¡Elastic ¡Compute ¡Cloud ¡ ì MarkeDng ¡ ì Infinite ¡supply ¡of ¡servers, ¡on-­‑demand ¡ ì Rent ¡by ¡the ¡hour ¡ ì You ¡supply ¡ ì The ¡operaDng ¡system ¡(or ¡use ¡standard ¡Amazon ¡ images) ¡ ì The ¡soVware ¡stack ¡ ì The ¡applicaDon ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  6. 6 ¡ AWS ¡Lambda ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  7. 7 ¡ AWS ¡Lambda ¡ ì Event-­‑driven ¡coding ¡ ì You ¡write ¡a ¡custom ¡Lambda ¡funcDon ¡ ì Node.js, ¡Java, ¡or ¡Python ¡ ì Amazon ¡runs ¡your ¡funcDon ¡automaDcally ¡upon ¡ event ¡ ì File ¡uploaded ¡to ¡S3 ¡bucket ¡ ì DynamoDB ¡record ¡changed ¡ ì HTTP ¡Request ¡(Amazon ¡API ¡gateway ¡or ¡your ¡own) ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  8. 8 ¡ AWS ¡Lambda ¡-­‑ ¡Marketing ¡ ì Sub-­‑second ¡metering ¡($$) ¡(in ¡100ms) ¡ ì (Charged ¡flat ¡rate ¡per ¡access ¡ plus ¡actual ¡compute ¡Dme ¡incurred) ¡ ì No ¡servers ¡to ¡manage ¡ ¡ ì ConDnuous ¡scaling ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  9. 9 ¡ h`ps://www.youtube.com/watch?v=eOBq__h4OJ4 ¡ ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  10. 10 ¡ AWS ¡Lambda ¡– ¡Example ¡Use ¡Case ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  11. 11 ¡ AWS ¡Lambda ¡– ¡Example ¡Use ¡Case ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  12. 12 ¡ AWS ¡Lambda ¡– ¡Example ¡Use ¡Case ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  13. AWS ¡Elastic ¡ 13 ¡ Beanstalk ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  14. 14 ¡ AWS ¡Elastic ¡Beanstalk ¡ ì Applica2on ¡Hos2ng ¡ Specifically, ¡web ¡sites ¡or ¡web ¡apps ¡ ì ì You ¡provide ¡ only ¡the ¡applicaDon ¡ (one-­‑click ¡deployment!) ¡ AWS ¡Management ¡Console ¡(manually ¡upload) ¡ ì Git ¡repository ¡(update ¡app ¡in ¡ seconds! ) ¡ ì IDE ¡on ¡local ¡machine ¡(Eclipse ¡or ¡Visual ¡Studio) ¡ ì ì Amazon ¡provides ¡ Infrastructure! ¡ ì Servers, ¡databases, ¡load ¡balancers, ¡firewalls, ¡networks, ¡ ì etc… ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  15. 15 ¡ AWS ¡Elastic ¡Beanstalk ¡-­‑ ¡Marketing ¡ ì AutomaDc ¡everything! ¡ ì Capacity ¡provisioning ¡ ì Load ¡balancing ¡(among ¡pool ¡of ¡servers) ¡ ì Auto-­‑scaling ¡(up ¡and ¡down) ¡ ì ApplicaDon ¡health ¡monitoring ¡ ì Full ¡control ¡of ¡underlying ¡infrastructure ¡and ¡ability ¡ to ¡modify ¡ if ¡desired ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  16. 16 ¡ h`ps://www.youtube.com/watch?v=SrwxAScdyT0 ¡ ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  17. 17 ¡ AWS ¡Elastic ¡Beanstalk ¡-­‑ ¡Environments ¡ ì Supported ¡environments ¡are ¡limited ¡ because ¡Amazon ¡ provides ¡the ¡enDre ¡soVware ¡stack ¡ Apache ¡Tomcat ¡for ¡Java ¡applicaDons ¡ ì Apache ¡HTTP ¡Server ¡for ¡PHP ¡applicaDons ¡ ì TargeDng ¡ ¡ Apache ¡HTTP ¡Server ¡for ¡Python ¡applicaDons ¡ ì web ¡sites ¡or ¡ Nginx ¡or ¡Apache ¡HTTP ¡Server ¡for ¡Node.js ¡applicaDons ¡ ì web ¡apps ¡ Passenger ¡or ¡Puma ¡for ¡Ruby ¡applicaDons ¡ ì MicrosoV ¡IIS ¡7.5, ¡8.0, ¡and ¡8.5 ¡for ¡.NET ¡applicaDons ¡ ì Java ¡SE ¡ ì Docker ¡ ì Go ¡ ì Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  18. 18 ¡ AWS ¡Elastic ¡Beanstalk ¡-­‑ ¡Control ¡ Programmer ¡opDons ¡/ ¡programmer ¡controls ¡ ì OperaDng ¡system ¡(Linux, ¡Windows, ¡specific ¡releases) ¡ ì Database ¡ ì Directly ¡login ¡to ¡EC2 ¡instances ¡for ¡immediate ¡ ì troubleshooDng ¡ Targeted ¡at ¡ Run ¡in ¡more ¡than ¡one ¡Availability ¡Zone ¡(reliability) ¡ ì programmer, ¡ HTTPS ¡on ¡load ¡balancer ¡ ì not ¡sysadmin ¡ Amazon ¡CloudWatch ¡monitoring ¡(cluster ¡health ¡and ¡events) ¡ ì Adjust ¡applicaDon ¡server ¡senngs ¡(e.g. ¡JVM ¡senngs) ¡and ¡ ì pass ¡environment ¡variables ¡ Run ¡other ¡applicaDon ¡components, ¡such ¡as ¡a ¡memory ¡ ì caching ¡service, ¡side-­‑by-­‑side ¡in ¡Amazon ¡EC2 ¡ Access ¡log ¡files ¡without ¡logging ¡in ¡to ¡the ¡applicaDon ¡servers ¡ ì Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  19. 19 ¡ Other ¡Services ¡– ¡Elastic ¡Load ¡Balancing ¡ Amazon ¡provides ¡load ¡balancers ¡ ì Accept ¡incoming ¡HTTP, ¡HTTPS, ¡SSL, ¡and ¡generic ¡TCP ¡requests ¡ ì Forward ¡request ¡to ¡mulDple ¡EC2 ¡instances ¡across ¡different ¡ ì availability ¡zones ¡ Improves ¡reliability ¡by ¡disDnguishing ¡between ¡healthy ¡and ¡ ì unhealthy ¡targets ¡ ApplicaDon ¡health-­‑check ¡(e.g. ¡try ¡to ¡load ¡a ¡special ¡page ¡from ¡ ì your ¡website) ¡ Design: ¡Never ¡have ¡customers ¡directly ¡connect ¡to ¡EC2 ¡ instance ¡– ¡they ¡always ¡go ¡through ¡load ¡balancer! ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  20. 20 ¡ Other ¡Services ¡– ¡Auto ¡Scaling ¡ ì Launch ¡or ¡terminate ¡EC2 ¡nodes ¡based ¡on ¡current ¡ demand ¡ CPU ¡uDlizaDon? ¡ ì Available ¡RAM? ¡ ì Disk ¡uDlizaDon? ¡(% ¡full? ¡ ¡Read/Write ¡bandwidth?) ¡ ì Network ¡uDlizaDon? ¡ ì Many ¡other ¡AWS ¡ CloudWatch ¡metrics ¡(or ¡custom) ¡ ì ì Launch ¡new ¡nodes ¡to ¡replace ¡failed ¡ones ¡ ì Coordinates ¡with ¡load ¡balancer ¡ New ¡nodes? ¡NoDfy ¡load ¡balancer ¡ ì TerminaDng ¡nodes? ¡NoDfy ¡load ¡balancer ¡ ì Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  21. 21 ¡ Other ¡Services ¡– ¡Auto ¡Scaling ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  22. 22 ¡ Other ¡Services ¡– ¡Auto ¡Scaling ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  23. 23 ¡ Other ¡Services ¡– ¡Auto ¡Scaling ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  24. 24 ¡ Other ¡Services ¡– ¡CloudFront ¡ ì Global ¡ Content ¡Distribu2on ¡Network ¡ (CDN) ¡for ¡web ¡ content ¡ ì Single ¡URL/domain ¡can ¡resolve ¡to ¡myriad ¡local ¡content ¡ servers ¡(caches) ¡close ¡to ¡customers ¡ DNS ¡trickery ¡(rouDng ¡based ¡on ¡latency ¡or ¡geography) ¡via ¡ ì Amazon ¡ Route53 ¡DNS ¡service ¡ ì Use ¡cases: ¡ Distribute ¡staDc ¡(infrequently ¡changing) ¡content ¡ ì ì Images, ¡style ¡sheets, ¡JavaScript ¡ Distribute ¡pre-­‑recorded ¡streaming ¡media ¡ ì Distribute ¡live ¡streaming ¡events ¡(short ¡buffer ¡in ¡cache) ¡ ¡ ì Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  25. 25 ¡ ì ¡ Networking ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  26. 26 ¡ Networking ¡ ì Amazon ¡ Virtual ¡Private ¡Cloud ¡ (VPC) ¡ ì AWS ¡ Direct ¡Connect ¡ ì Amazon ¡ Route ¡53 ¡ Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

  27. 27 ¡ Amazon ¡Virtual ¡Private ¡Cloud ¡ ì Virtual ¡ networking ¡ Isolate ¡your ¡EC2 ¡nodes ¡in ¡their ¡own ¡virtual ¡network ¡ ì Choose ¡your ¡own ¡subnets, ¡gateways, ¡routes, ¡address ¡ ì translaDon ¡(NAT), ¡firewall ¡rules, ¡… ¡ ì Use ¡case: ¡ Extend ¡your ¡corporate ¡network ¡ into ¡the ¡cloud ¡ Hardware ¡VPN ¡brings ¡AWS ¡cloud ¡servers ¡inside ¡your ¡ ì corporate ¡firewall ¡ ì Use ¡case: ¡ Mul2-­‑2er ¡applica2ons ¡ Web ¡servers ¡in ¡publically ¡accessible ¡subnet ¡ ì ApplicaDon ¡servers ¡and ¡databases ¡in ¡private ¡subnet ¡ ì Cloud ¡Compu2ng ¡ Spring ¡2016 ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend