A Comparison of AWS and Azure - Part2Presentation Transcript
Rob Gillen Amazon Web Services and Windows Azure (Part 2)
CodeStock is proudly partnered with: RecruitWise and Staff with Excellence - www.recruitwise.jobs Send instant feedback on this session via Twitter: Send a direct message with the room number to @CodeStock d codestock413aThis guy is AMAZING! For more information on sending feedback using Twitter while at CodeStock, please see the “CodeStock README” in your CodeStock guide.
Amazon Web Services and Windows Azure Rob Gillen rob.gillenfamily.net @argodev Session 1 of 2
Agenda Session 1 Market Overview Discussion of cloud primitives Session 2 Vendor-specific Lessons-Learned Guestbook – a side-by-side code comparison
What Happened Incorrect Network Change == Replication Storm for EC2 “Affected Availability Zone” Actually affected *multiple* AZs (initially) "Each availability zone runs on its own physically distinct, independent infrastructure, and is engineered to be highly reliable. Common points of failures like generators and cooling equipment are not shared across Availability Zones. Additionally, they are physically separate, such that even extremely uncommon disasters such as fires, tornados or flooding would only affect a single Availability Zone." http://aws.amazon.com/ec2/faqs/#How_isolated_are_Availability_Zones_from_one_another Amazon had a “cloud burst”
Oh No! The Cloud Can’t be Trusted!!! Is your data center any better? How would YOU recover from this type of issue Do you regularly TEST your HA/Recovery plans. What would it cost you to independently provide the same level of redundancy/fault-tolerance as current cloud providers offer? How do you cost-justify that compared to current cloud offerings?
Fault Tolerance AWS Azure Regions Availability Zones Elastic Load Balancing RDS in Multi-AZ mode S3/SDB/SQS Multiple Instances Regions Global Traffic Manager SQL Azure Sync Blobs/Tables/Queues
Design Tenants Use independent components Design everything as a black box Load balance and scale clusters Think about graceful degradation Use queues to isolate components
Document Clustering – Dynamic Scaling R C1 C2 C4 C3
Guest Book Example No-SQL Store Web Site 1. User Written to Table 2. Full-Res image written to blob store 3. Generate Thumbnail task stored Blob Store 4. Background service receives task Background Image Processing Service 5. Full-Size image retrieved from storage Queue 6. Thumbnail generated and written to storage 7. No-SQL Store is updated with path to thumbnail
Questions? Rob Gillen http://rob.gillenfamily.net @argodev Rate this talk: http://spkr8.com/t/7720 Free Access: http://windowsazurepass.comCode: ROBONAZURE http://aws.amazon.com/free/