Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

13h00 aws 2012-fault_tolerant_applications


Published on

Published in: Technology, Travel
  • Writing good research paper is quite easy and very difficult simultaneously. It depends on the individual skill set also. You can get help from research paper writing. Check out, please ⇒ ⇐
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

13h00 aws 2012-fault_tolerant_applications

  1. 1. Building Fault-TolerantApplications in the CloudRyan HollandEcosystem Solution Architect
  2. 2. Faults?FacilitiesHardwareNetworkingCodePeople
  3. 3. What is “Fault-Tolerant”?Degrees of risk mitigation - not binaryAutomatedTested!
  4. 4. AgendaThe AWS ApproachBuilding BlocksDesign Patterns
  5. 5. Old School Fault-Tolerance: Build Two
  6. 6. Cloud Computing Benefits No Up-Front Low Cost Pay Only for Capital Expense What You Use Self-Service Easily Scale Improve Agility & Infrastructure Up and Down Time-to-Market Deploy
  7. 7. Cloud Computing Fault-Tolerance Benefits No Up-Front HA Low Cost Pay for DR Only Capital Expense Backups When You Use it Self-Service Easily Deliver Fault- Improve Agility & DR Infrastructure Tolerant Applications Time-to-Recovery Deploy
  8. 8. AWS Cloud allows Overcast Redundancy Have the shadow duplicate of your infrastructure ready to go when you need it……but only pay for whatyou actually use
  9. 9. Old Barriers to HAare now SurmountableCostComplexityExpertise
  10. 10. AWS Building Blocks: Two Strategies Inherently fault- Services that are fault-toleranttolerant services with the right architecture S3 Amazon EC2 SimpleDb VPC DynamoDB Cloudfront EBSSWF, SQS, SNS, SES RDS Route53Elastic Load Balancer Elastic Beanstalk ElastiCache Elastic MapReduce IAM
  11. 11. Resources DeploymentThe Stack: Management Configuration Networking Facilities Geographies
  12. 12. EC2 Instances Amazon Machine ImagesThe Stack: CW Alarms - AutoScaling Cloudformation - Beanstalk Route53 – ElasticIP – ELB Availability Zones Regions
  13. 13. Regional DiversityUse Regions for: Latency • Customers • Data Vendors • Staff Compliance Disaster Recovery … and Fault Tolerance!
  14. 14. Proper Use of Multiple Availability Zones
  15. 15. Network Fault-Tolerance Tools107.22.18.45 isn’t fault-tolerant but is: EIPElastic Load BalancingAutomated DNS: Route53Latency-Based Routing
  16. 16. New EC2 VPC feature:Elastic Network Interface Up to 8 Interfaces with 30 Addresses each Span Subnets Attach/Detach Public or Private
  17. 17. Cloudformation – Elastic Beanstalk Q: Is your stack unique?
  18. 18. Cloudwatch – Alarms – AutoScaling
  19. 19. AMI’sMaintenance is criticalAlternatives: Chef, Puppet, cfn-init, etc.When in doubt: 64-bitReplicate for DR
  20. 20. EC2 InstancesConsistent, reliable building block100% API controlledReserved InstancesEBSImmense Fleet Scale
  21. 21. Example:a “fork-lifted” app
  22. 22. Example:Fault-Tolerant
  23. 23. Why mess with all of that?
  24. 24. Design For FailureSPOF
  25. 25. Copyright © 2011 Amazon Build Loosely Coupled Systems Web ServicesTightCouplingLoose Couplingusing Queues
  26. 26. Fault-Tolerant Front-end SystemsAddressing: Route53, EIP Auto Scaling Amazon CloudFrontDistribution: Multi-AZ, ELB, CloudfrontRedundancy: Auto-Scaling Amazon CloudWatch Amazon Route 53 Elastic LoadMonitoring: Cloudwatch Balancer Elastic IP AWS ElasticPlatform: Elastic Beanstalk Beanstalk
  27. 27. Fault-Tolerant Data-Tier SystemsTunedPatchedCachedShardedReplicatedBacked UpArchivedMonitored
  28. 28. Fault-Tolerant Data-Tier SystemsTunedPatchedCached LOTSShardedReplicated OFBacked Up WORKArchivedMonitored
  29. 29. AWS Fault-Tolerant Data-Tier ServicesS3SimpleDB Amazon Relational Database Service Amazon Elastic (RDS) MapReduce Amazon Simple Storage ServiceEMR (S3)DynamoDB Amazon SimpleDB Amazon DynamoDBRDS Amazon ElastiCache
  30. 30. RDS Fault-Tolerant FeaturesMulti-AZ DeploymentsRead Replicas RDS DB Instance RDS DB Instance Multi-AZ StandbyAutomated BackupsSnapshots
  31. 31. Storage Gateway Your Datacenter Amazon Elastic Compute Cloud (EC2) AWS Storage Gateway VM SSL Clients Internet On-premises Host or Direct AWS Storage Amazon Simple Connect Gateway Service Storage Service (S3)Application Servers Amazon Elastic Block Storage (EBS) Direct Attached or Storage Area Network Disks
  32. 32. Test! Use a Chaos Monkey! Prudent Conservative Professional Open source …and all the cool kids are doing it
  33. 33. Thank You!