SlideShare uma empresa Scribd logo
1 de 41
Baixar para ler offline
Blazeclan

1
Agenda
Introduction
High Availability
Scalability
Fault Tolerance

AWS Global Infrastructure
Key Design Concepts
Design for Failure
Scaling
Self Healing / Fault Tolerant
Multiple AZ Architecture
Loose Coupling

Sample Architectures
Blazeclan

2

Cloud IT Better
Introduction

Blazeclan

3

Cloud IT Better
How Often Do You See This?

Blazeclan

4

Cloud IT Better
Cost of Downtime
A report published in 2010 for top
412 eCommerce sites says,
• The median length of downtime was 840
minutes

• On average, each of them saw 3291 minutes
of downtime

Lost Revenue
• On average, each of them lost $800,099 in
revenue due to downtime

• The total amount of revenue lost due to
downtime
of
all
was $329,640,928!

Blazeclan

412

companies

5

Cloud IT Better
Online Business & Downtime Facts
The Average Hourly Loss because
of Data Center Down Time in 2012

Source: http://www.techrepublic.com/blog/data-center/infographic-the-outrageous-costs-of-data-center-downtime

Blazeclan

6

Cloud IT Better
How to Build a HIGHLY
AVAILABLE, SCALABLE,
DURABLE AND
RESILIENT Web Application

Blazeclan

7

Cloud IT Better
High Availability
99.999%

• Up Time of an Application

uptime

• Planned or Unplanned Outage or Downtime
• Offline, Unreachable, or Partially Available
• Slow to Use

• Goal
• No Downtime
• Always Available

Blazeclan

8

Cloud IT Better
Scalability
Ability of an
Application to
accommodate
change in traffic
without
architectural
changes

Availability may
be impacted if
application
cannot Scale

Resources

Demand

Scalability
doesn’t
Guarantee
Availability

Blazeclan

Time

9

Cloud IT Better
Fault Tolerance
X

• Built-in Redundancy so
applications can Continue
Functioning when Components
fail

X

• Fault tolerance is crucial to
High Availability

Image courtesy: Gigamone.com

Blazeclan

10

Cloud IT Better
AWS Global
Infrastructure

Blazeclan

11

Cloud IT Better
AWS democratizes High Availability
• Multiple Servers
• Isolated Redundant Data
Centers

• Regions across the
Globe

• Availability Zones within

Source: http://aws.amazon.com/about-aws/globalinfrastructure/#reglink-sa

Regions

Blazeclan

12

Cloud IT Better
AWS Capacity

Source: http://www.slideshare.net/AmazonWebServices/aws-webinar-scaling-on-aws-for-the-first-10-million-users

Blazeclan

13

Cloud IT Better
AWS Platform

Source : http://www.slideshare.net/AmazonWebServices/aws-webinar-scaling-on-aws-for-the-first-10-million-users

Blazeclan

14

Cloud IT Better
AWS Building Blocks
Inherently Highly Available
and Fault Tolerant Services

 Amazon S3

 Amazon DynamoDB


Amazon SNS

 Amazon CloudFront
 Amazon SES
 Amazon Route53

Architect Across AZ’s

Span Across AZ’s

 Amazon SQS

Highly Available with Right
Architecture

 Amazon EC2
 Amazon EBS
 Amazon RDS
 Amazon VPC

 Amazon SWF
 Elastic Load Balancer
 …

Blazeclan

15

Cloud IT Better
Design For
Failure

Blazeclan

16

Cloud IT Better
Everything fails, all the time
– Werner Vogels, CTO, Amazon
Avoid
single
points of
failure
Application
Should
Continue to
Function
Assume
everything
fails, and
work
backwards

Obama’s Prized Limo after it
broke down in his Israel visit!

Blazeclan

17

Avoid Impact on
Business

Cloud IT Better
Ask Questions for Right Architecture

What kind of
Scenarios do I
have to
plan for?

What are my
single points
of failure?

If there are
master and slaves
In your architecture,
what if the master
node fails?

Blazeclan

If a load balancer
is sitting in front
of an array of application
servers, what if
that load
balancer fails?

What happens
if a node in your
system fails?

18

Cloud IT Better
Lots of Questions
How do you recognize
that failure?

How do I replace that node?

What if the cache keys grow beyond
memory limit of an instance?

How does the failover occur &
how is a new slave instantiated &
brought into sync with the master?

What if downstream service
times out or returns an exception?

Blazeclan

19

Cloud IT Better
Build Mechanisms to Handle Failure
• Build process threads that resume on reboot

• Allow the state of the system to re-sync
by reloading messages from queues

• Keep pre-configured and pre-optimized
virtual images to support above point
on launch/boot

• Avoid in-memory sessions or stateful
user context, move that to data stores
Image courtesy: http://www.outsmarthormones.com/wp-content/uploads/2011/06/Fix.jpg

• Have a coherent backup and restore
strategy for your data and automate it
Blazeclan

20

Cloud IT Better
Design for Failure

Source:
http://media.amazonwebservices.com/architecturecenter/AWS_ac_
ra_ftha_04.pdf

Blazeclan

21

Cloud IT Better
Scaling

Blazeclan

22

Cloud IT Better
Auto Scaling
• Enables to automatically scale
Amazon EC2 capacity up or down

• Enables to terminate Server
Instances at will

• Enables to add more instances
in response to an increasing load

• Enables launch of a replacement

Image Courtesy: http://www.knovelblogs.com/wp-content/uploads

instance immediately, in case of a failure

• Enables application to transition
seamlessly in case the primary server fails
Blazeclan

23

Cloud IT Better
Elastic Load Balancing (ELB)
• Distributes incoming traffic to a
application across several Amazon
EC2 instances

• ELB is given a DNS host name &
Requests Sent to this host name
are Delegated to a pool
of Amazon EC2 instances

• ELB Detects Unhealthy Instances
within its pool of Amazon EC2 instances and automatically
reroutes traffic to healthy instances, until the unhealthy
instances have been restored
Blazeclan

24

Cloud IT Better
ELB & Auto Scaling
• Auto Scaling & ELB are
an ideal combination

• ELB gives a single DNS
name for addressing

• Auto

Scaling ensures
there is always the right
number
of
healthy
Amazon EC2 instances to
accept requests

Blazeclan

25

Cloud IT Better
Fault
Tolerant

Blazeclan

26

Cloud IT Better
Fault Tolerance
• In order to build fault-tolerant
applications on Amazon EC2,
it’s important to follow best
practices such as,
• Quickly being able to commission
replacement instances

• Using Amazon EBS for persistent
storage

• Use Multiple Availability Zones and
elastic IP addresses.

Blazeclan

27

Cloud IT Better
Multi-AZ
Architecture

Blazeclan

28

Cloud IT Better
Multi-AZ Design Considerations
• Achieve greater Fault Tolerance
by Distributing your application geographically

• The Amazon EC2 service level
agreement commitment is 99.95%
availability for each Amazon EC2 Region

• Deploy application that spans
across multiple Availability Zones

• Redundant instances for each tier of an

Image Courtesy: http://chriscampcommunications.blogspot.in

application could be placed in distinct Availability Zones

• ELB can automatically balance traffic across multiple instances &
multiple Availability Zones
Blazeclan

29

Cloud IT Better
Multi- AZ Architecture

Blazeclan

30

Cloud IT Better
Loose
Coupling

Blazeclan

31

Cloud IT Better
Loose Coupled Systems

• Loosely coupled systems are
more fault tolerant and can achieve
a bigger scale

• Loosely coupled systems on AWS
• De-coupling systems allows for hybrid models
(in-cloud + in-physical data center)
• Balancing between clusters enables easier scaling
• Using queues (Amazon SQS) buffers against failures

• Design for a jumble of black boxes
Blazeclan

32

Cloud IT Better
Decoupling using SQS

Blazeclan

33

Cloud IT Better
Loose Coupling - Best Practices on AWS
• Use Amazon SQS to isolate components
• Use Amazon SQS as buffers between components

• Design every component such that it expose a service
interface and is responsible for its own scalability and
interacts with other components asynchronously

• Bundle the logical construct of a component
into an Amazon Machine Image so that it can
be deployed more often

• Make your applications as stateless as
possible. Store session state outside of component
(in Amazon SimpleDB, if appropriate)
Blazeclan

34

Cloud IT Better
Sample
Architectures

Blazeclan

35

Cloud IT Better
High Availability Architecture in RDS

Blazeclan

36

Cloud IT Better
Web Hosting on AWS

Blazeclan

37

Cloud IT Better
Scalable Reader Farm

Blazeclan

38

Cloud IT Better
Design for High Availability & Scale
Don’t let this happen to your Business

Our AWS Expert Solution Architects can help
you review your Architecture.

Avail for our 2hr Free Consultancy!
For any assistance please contact us at
info@blazeclan.com
Blazeclan

39

Cloud IT Better
Upcoming Webinars
Check out Our Upcoming Webinars
www.blazeclan.com/webinars

Blazeclan

40

Cloud IT Better
Thank you
info@blazeclan.com
Follow Us On :
Our Blog :
Blazeclan

http://blog.blazeclan.com/

Mais conteúdo relacionado

Mais procurados

Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Amazon Web Services
 
AWS Multi-Account Architecture and Best Practices
AWS Multi-Account Architecture and Best PracticesAWS Multi-Account Architecture and Best Practices
AWS Multi-Account Architecture and Best Practices
Amazon Web Services
 

Mais procurados (20)

Intro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute ServicesIntro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute Services
 
Aws cloud watch
Aws cloud watchAws cloud watch
Aws cloud watch
 
Cassandra Performance and Scalability on AWS
Cassandra Performance and Scalability on AWSCassandra Performance and Scalability on AWS
Cassandra Performance and Scalability on AWS
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
 
RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...
RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...
RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...
 
Observability For Modern Applications
Observability For Modern ApplicationsObservability For Modern Applications
Observability For Modern Applications
 
Introduction to AWS Cost Management
Introduction to AWS Cost ManagementIntroduction to AWS Cost Management
Introduction to AWS Cost Management
 
AWS Secrets Manager
AWS Secrets ManagerAWS Secrets Manager
AWS Secrets Manager
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
AWS 101: Introduction to AWS
AWS 101: Introduction to AWSAWS 101: Introduction to AWS
AWS 101: Introduction to AWS
 
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
 
AWS Enterprise Day | Journey to the AWS Cloud
AWS Enterprise Day | Journey to the AWS CloudAWS Enterprise Day | Journey to the AWS Cloud
AWS Enterprise Day | Journey to the AWS Cloud
 
Amazon EKS Deep Dive
Amazon EKS Deep DiveAmazon EKS Deep Dive
Amazon EKS Deep Dive
 
High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...
High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...
High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...
 
AWS PPT.pptx
AWS PPT.pptxAWS PPT.pptx
AWS PPT.pptx
 
Introduction on Amazon EC2
 Introduction on Amazon EC2 Introduction on Amazon EC2
Introduction on Amazon EC2
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
AWS Cost Optimisation Best Practices Webinar
AWS Cost Optimisation Best Practices WebinarAWS Cost Optimisation Best Practices Webinar
AWS Cost Optimisation Best Practices Webinar
 
AWS Multi-Account Architecture and Best Practices
AWS Multi-Account Architecture and Best PracticesAWS Multi-Account Architecture and Best Practices
AWS Multi-Account Architecture and Best Practices
 

Destaque

Destaque (18)

Cloudlytics Reporting: Analyze Amazon CloudFront, S3 & ELB Logs - Part 2
Cloudlytics Reporting: Analyze Amazon CloudFront, S3 & ELB Logs - Part 2Cloudlytics Reporting: Analyze Amazon CloudFront, S3 & ELB Logs - Part 2
Cloudlytics Reporting: Analyze Amazon CloudFront, S3 & ELB Logs - Part 2
 
Solving Big Data problems on AWS by Rajnish Malik
Solving Big Data problems on AWS by Rajnish MalikSolving Big Data problems on AWS by Rajnish Malik
Solving Big Data problems on AWS by Rajnish Malik
 
Hurix case study
Hurix case study Hurix case study
Hurix case study
 
Big Data Building Blocks with AWS Cloud
Big Data Building Blocks with AWS CloudBig Data Building Blocks with AWS Cloud
Big Data Building Blocks with AWS Cloud
 
Architecting for Big Data with AWS
Architecting for Big Data with AWSArchitecting for Big Data with AWS
Architecting for Big Data with AWS
 
Micro services on AWS
Micro services on AWSMicro services on AWS
Micro services on AWS
 
Analyze Amazon CloudFront, S3 & ELB Logs with Cloudlytics - Part 1
Analyze Amazon CloudFront, S3 & ELB Logs with Cloudlytics - Part 1Analyze Amazon CloudFront, S3 & ELB Logs with Cloudlytics - Part 1
Analyze Amazon CloudFront, S3 & ELB Logs with Cloudlytics - Part 1
 
Life of data from generation to visualization using big data
Life of data from generation to visualization using big dataLife of data from generation to visualization using big data
Life of data from generation to visualization using big data
 
Cloud stream webinar
Cloud stream webinarCloud stream webinar
Cloud stream webinar
 
AWS RDS Migration Tool
AWS RDS Migration Tool AWS RDS Migration Tool
AWS RDS Migration Tool
 
[TechTalks] Learning Configuration Management with SaltStack (Advanced Concepts)
[TechTalks] Learning Configuration Management with SaltStack (Advanced Concepts)[TechTalks] Learning Configuration Management with SaltStack (Advanced Concepts)
[TechTalks] Learning Configuration Management with SaltStack (Advanced Concepts)
 
Overview of AWS Services for Media Content
Overview of AWS Services for Media ContentOverview of AWS Services for Media Content
Overview of AWS Services for Media Content
 
Enterprise Cloud for your Business Applications
Enterprise Cloud for your Business ApplicationsEnterprise Cloud for your Business Applications
Enterprise Cloud for your Business Applications
 
Productive Expansion on Amazon Web Services with BlazeClan
 Productive Expansion on Amazon Web Services with BlazeClan Productive Expansion on Amazon Web Services with BlazeClan
Productive Expansion on Amazon Web Services with BlazeClan
 
Overview of AWS Services for your Enterprise
Overview of AWS Services for your Enterprise Overview of AWS Services for your Enterprise
Overview of AWS Services for your Enterprise
 
[TechTalks] Effects of UI/ UX Designs on Customer Satisfaction & Loyalty
[TechTalks] Effects of UI/ UX Designs on Customer Satisfaction & Loyalty[TechTalks] Effects of UI/ UX Designs on Customer Satisfaction & Loyalty
[TechTalks] Effects of UI/ UX Designs on Customer Satisfaction & Loyalty
 
Amazon CloudFront Complete with Blazeclan's Media Solution Stack
Amazon CloudFront Complete with Blazeclan's Media Solution StackAmazon CloudFront Complete with Blazeclan's Media Solution Stack
Amazon CloudFront Complete with Blazeclan's Media Solution Stack
 
Solving Big Data Industry Use Cases with AWS Cloud Computing
Solving Big Data Industry Use Cases with AWS Cloud ComputingSolving Big Data Industry Use Cases with AWS Cloud Computing
Solving Big Data Industry Use Cases with AWS Cloud Computing
 

Semelhante a How to Design for High Availability & Scale with AWS

Aws webinar may 2013 designing for failure
Aws webinar may 2013   designing for failureAws webinar may 2013   designing for failure
Aws webinar may 2013 designing for failure
Amazon Web Services
 
Aws cloud best_practices
Aws cloud best_practicesAws cloud best_practices
Aws cloud best_practices
Suruli Kannan
 

Semelhante a How to Design for High Availability & Scale with AWS (20)

NWCloud Cloud Track - Best Practices for Architecting in the Cloud
NWCloud Cloud Track - Best Practices for Architecting in the CloudNWCloud Cloud Track - Best Practices for Architecting in the Cloud
NWCloud Cloud Track - Best Practices for Architecting in the Cloud
 
ARC205 Building Web-scale Applications Architectures with AWS - AWS re: Inven...
ARC205 Building Web-scale Applications Architectures with AWS - AWS re: Inven...ARC205 Building Web-scale Applications Architectures with AWS - AWS re: Inven...
ARC205 Building Web-scale Applications Architectures with AWS - AWS re: Inven...
 
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
 
Oracle COTS Applications on AWS
Oracle COTS Applications on AWSOracle COTS Applications on AWS
Oracle COTS Applications on AWS
 
Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best Practices
 
AWS Webcast - Best Practices in Architecting for the Cloud
AWS Webcast - Best Practices in Architecting for the CloudAWS Webcast - Best Practices in Architecting for the Cloud
AWS Webcast - Best Practices in Architecting for the Cloud
 
Aws webinar may 2013 designing for failure
Aws webinar may 2013   designing for failureAws webinar may 2013   designing for failure
Aws webinar may 2013 designing for failure
 
(SDD423) Elastic Load Balancing Deep Dive and Best Practices | AWS re:Invent ...
(SDD423) Elastic Load Balancing Deep Dive and Best Practices | AWS re:Invent ...(SDD423) Elastic Load Balancing Deep Dive and Best Practices | AWS re:Invent ...
(SDD423) Elastic Load Balancing Deep Dive and Best Practices | AWS re:Invent ...
 
AWS Summit 2013 | India - Web, Mobile and Social Apps on AWS, Kingsley Wood
AWS Summit 2013 | India - Web, Mobile and Social Apps on AWS, Kingsley WoodAWS Summit 2013 | India - Web, Mobile and Social Apps on AWS, Kingsley Wood
AWS Summit 2013 | India - Web, Mobile and Social Apps on AWS, Kingsley Wood
 
Aws Autoscaling
Aws AutoscalingAws Autoscaling
Aws Autoscaling
 
AWS Webcast - Explore the AWS Cloud for Government
AWS Webcast - Explore the AWS Cloud for GovernmentAWS Webcast - Explore the AWS Cloud for Government
AWS Webcast - Explore the AWS Cloud for Government
 
AWS 2017 re:Invent re:Cap - TriNimbus Presentation Slides
AWS 2017 re:Invent re:Cap - TriNimbus Presentation SlidesAWS 2017 re:Invent re:Cap - TriNimbus Presentation Slides
AWS 2017 re:Invent re:Cap - TriNimbus Presentation Slides
 
Improving Availability & Lowering Costs with Auto Scaling & Amazon EC2 (CPN20...
Improving Availability & Lowering Costs with Auto Scaling & Amazon EC2 (CPN20...Improving Availability & Lowering Costs with Auto Scaling & Amazon EC2 (CPN20...
Improving Availability & Lowering Costs with Auto Scaling & Amazon EC2 (CPN20...
 
Aws coi7
Aws coi7Aws coi7
Aws coi7
 
Deep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million UsersDeep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million Users
 
Deep Dive on Elastic Load Balancing
Deep Dive on Elastic Load BalancingDeep Dive on Elastic Load Balancing
Deep Dive on Elastic Load Balancing
 
Elastic Load Balancing Deep Dive and Best Practices - Pop-up Loft Tel Aviv
Elastic Load Balancing Deep Dive and Best Practices - Pop-up Loft Tel AvivElastic Load Balancing Deep Dive and Best Practices - Pop-up Loft Tel Aviv
Elastic Load Balancing Deep Dive and Best Practices - Pop-up Loft Tel Aviv
 
Aws cloud best_practices
Aws cloud best_practicesAws cloud best_practices
Aws cloud best_practices
 
Understand the Cloud Computing and the future career possibilities
Understand the Cloud Computing and the future career possibilitiesUnderstand the Cloud Computing and the future career possibilities
Understand the Cloud Computing and the future career possibilities
 
Introduction to Batch Processing on AWS
Introduction to Batch Processing on AWSIntroduction to Batch Processing on AWS
Introduction to Batch Processing on AWS
 

Mais de Blazeclan Technologies Private Limited

Mais de Blazeclan Technologies Private Limited (12)

2020 Recap | Clan's Transformational Journey In The New Normal
2020 Recap | Clan's Transformational Journey In The New Normal2020 Recap | Clan's Transformational Journey In The New Normal
2020 Recap | Clan's Transformational Journey In The New Normal
 
Reminiscing 2019 And Heading Toward A Brighter Future!
Reminiscing 2019 And Heading Toward A Brighter Future!Reminiscing 2019 And Heading Toward A Brighter Future!
Reminiscing 2019 And Heading Toward A Brighter Future!
 
AWS Managed Services - BlazeClan Technologies
AWS Managed Services - BlazeClan TechnologiesAWS Managed Services - BlazeClan Technologies
AWS Managed Services - BlazeClan Technologies
 
Cloudlytics: In Depth S3 & CloudFront Log Analysis - Featuring Reports
Cloudlytics: In Depth S3 & CloudFront Log Analysis - Featuring ReportsCloudlytics: In Depth S3 & CloudFront Log Analysis - Featuring Reports
Cloudlytics: In Depth S3 & CloudFront Log Analysis - Featuring Reports
 
Amazon Reshift as your Data Warehouse Solution
Amazon Reshift as your Data Warehouse SolutionAmazon Reshift as your Data Warehouse Solution
Amazon Reshift as your Data Warehouse Solution
 
Testing Framework on AWS Cloud - Solution Set
Testing Framework on AWS Cloud - Solution SetTesting Framework on AWS Cloud - Solution Set
Testing Framework on AWS Cloud - Solution Set
 
Cloud for Media - A Complete Solution Stack for Faster Cloud Adoption
Cloud for Media - A Complete Solution Stack for Faster Cloud AdoptionCloud for Media - A Complete Solution Stack for Faster Cloud Adoption
Cloud for Media - A Complete Solution Stack for Faster Cloud Adoption
 
5 Points to Consider - Enterprise Road Map to AWS Cloud
5 Points to Consider  - Enterprise Road Map to AWS Cloud5 Points to Consider  - Enterprise Road Map to AWS Cloud
5 Points to Consider - Enterprise Road Map to AWS Cloud
 
How cloud is fueling growth for online gaming
How cloud is fueling growth for online gamingHow cloud is fueling growth for online gaming
How cloud is fueling growth for online gaming
 
A guide on Aws Security Token Service
A guide on Aws Security Token ServiceA guide on Aws Security Token Service
A guide on Aws Security Token Service
 
Working and Features of HTML5 and PhoneGap - An Overview
Working and Features of HTML5 and PhoneGap - An OverviewWorking and Features of HTML5 and PhoneGap - An Overview
Working and Features of HTML5 and PhoneGap - An Overview
 
Cloud Migration Strategy - IT Transformation with Cloud
Cloud Migration Strategy - IT Transformation with CloudCloud Migration Strategy - IT Transformation with Cloud
Cloud Migration Strategy - IT Transformation with Cloud
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

How to Design for High Availability & Scale with AWS

  • 2. Agenda Introduction High Availability Scalability Fault Tolerance AWS Global Infrastructure Key Design Concepts Design for Failure Scaling Self Healing / Fault Tolerant Multiple AZ Architecture Loose Coupling Sample Architectures Blazeclan 2 Cloud IT Better
  • 4. How Often Do You See This? Blazeclan 4 Cloud IT Better
  • 5. Cost of Downtime A report published in 2010 for top 412 eCommerce sites says, • The median length of downtime was 840 minutes • On average, each of them saw 3291 minutes of downtime Lost Revenue • On average, each of them lost $800,099 in revenue due to downtime • The total amount of revenue lost due to downtime of all was $329,640,928! Blazeclan 412 companies 5 Cloud IT Better
  • 6. Online Business & Downtime Facts The Average Hourly Loss because of Data Center Down Time in 2012 Source: http://www.techrepublic.com/blog/data-center/infographic-the-outrageous-costs-of-data-center-downtime Blazeclan 6 Cloud IT Better
  • 7. How to Build a HIGHLY AVAILABLE, SCALABLE, DURABLE AND RESILIENT Web Application Blazeclan 7 Cloud IT Better
  • 8. High Availability 99.999% • Up Time of an Application uptime • Planned or Unplanned Outage or Downtime • Offline, Unreachable, or Partially Available • Slow to Use • Goal • No Downtime • Always Available Blazeclan 8 Cloud IT Better
  • 9. Scalability Ability of an Application to accommodate change in traffic without architectural changes Availability may be impacted if application cannot Scale Resources Demand Scalability doesn’t Guarantee Availability Blazeclan Time 9 Cloud IT Better
  • 10. Fault Tolerance X • Built-in Redundancy so applications can Continue Functioning when Components fail X • Fault tolerance is crucial to High Availability Image courtesy: Gigamone.com Blazeclan 10 Cloud IT Better
  • 12. AWS democratizes High Availability • Multiple Servers • Isolated Redundant Data Centers • Regions across the Globe • Availability Zones within Source: http://aws.amazon.com/about-aws/globalinfrastructure/#reglink-sa Regions Blazeclan 12 Cloud IT Better
  • 14. AWS Platform Source : http://www.slideshare.net/AmazonWebServices/aws-webinar-scaling-on-aws-for-the-first-10-million-users Blazeclan 14 Cloud IT Better
  • 15. AWS Building Blocks Inherently Highly Available and Fault Tolerant Services  Amazon S3  Amazon DynamoDB  Amazon SNS  Amazon CloudFront  Amazon SES  Amazon Route53 Architect Across AZ’s Span Across AZ’s  Amazon SQS Highly Available with Right Architecture  Amazon EC2  Amazon EBS  Amazon RDS  Amazon VPC  Amazon SWF  Elastic Load Balancer  … Blazeclan 15 Cloud IT Better
  • 17. Everything fails, all the time – Werner Vogels, CTO, Amazon Avoid single points of failure Application Should Continue to Function Assume everything fails, and work backwards Obama’s Prized Limo after it broke down in his Israel visit! Blazeclan 17 Avoid Impact on Business Cloud IT Better
  • 18. Ask Questions for Right Architecture What kind of Scenarios do I have to plan for? What are my single points of failure? If there are master and slaves In your architecture, what if the master node fails? Blazeclan If a load balancer is sitting in front of an array of application servers, what if that load balancer fails? What happens if a node in your system fails? 18 Cloud IT Better
  • 19. Lots of Questions How do you recognize that failure? How do I replace that node? What if the cache keys grow beyond memory limit of an instance? How does the failover occur & how is a new slave instantiated & brought into sync with the master? What if downstream service times out or returns an exception? Blazeclan 19 Cloud IT Better
  • 20. Build Mechanisms to Handle Failure • Build process threads that resume on reboot • Allow the state of the system to re-sync by reloading messages from queues • Keep pre-configured and pre-optimized virtual images to support above point on launch/boot • Avoid in-memory sessions or stateful user context, move that to data stores Image courtesy: http://www.outsmarthormones.com/wp-content/uploads/2011/06/Fix.jpg • Have a coherent backup and restore strategy for your data and automate it Blazeclan 20 Cloud IT Better
  • 23. Auto Scaling • Enables to automatically scale Amazon EC2 capacity up or down • Enables to terminate Server Instances at will • Enables to add more instances in response to an increasing load • Enables launch of a replacement Image Courtesy: http://www.knovelblogs.com/wp-content/uploads instance immediately, in case of a failure • Enables application to transition seamlessly in case the primary server fails Blazeclan 23 Cloud IT Better
  • 24. Elastic Load Balancing (ELB) • Distributes incoming traffic to a application across several Amazon EC2 instances • ELB is given a DNS host name & Requests Sent to this host name are Delegated to a pool of Amazon EC2 instances • ELB Detects Unhealthy Instances within its pool of Amazon EC2 instances and automatically reroutes traffic to healthy instances, until the unhealthy instances have been restored Blazeclan 24 Cloud IT Better
  • 25. ELB & Auto Scaling • Auto Scaling & ELB are an ideal combination • ELB gives a single DNS name for addressing • Auto Scaling ensures there is always the right number of healthy Amazon EC2 instances to accept requests Blazeclan 25 Cloud IT Better
  • 27. Fault Tolerance • In order to build fault-tolerant applications on Amazon EC2, it’s important to follow best practices such as, • Quickly being able to commission replacement instances • Using Amazon EBS for persistent storage • Use Multiple Availability Zones and elastic IP addresses. Blazeclan 27 Cloud IT Better
  • 29. Multi-AZ Design Considerations • Achieve greater Fault Tolerance by Distributing your application geographically • The Amazon EC2 service level agreement commitment is 99.95% availability for each Amazon EC2 Region • Deploy application that spans across multiple Availability Zones • Redundant instances for each tier of an Image Courtesy: http://chriscampcommunications.blogspot.in application could be placed in distinct Availability Zones • ELB can automatically balance traffic across multiple instances & multiple Availability Zones Blazeclan 29 Cloud IT Better
  • 32. Loose Coupled Systems • Loosely coupled systems are more fault tolerant and can achieve a bigger scale • Loosely coupled systems on AWS • De-coupling systems allows for hybrid models (in-cloud + in-physical data center) • Balancing between clusters enables easier scaling • Using queues (Amazon SQS) buffers against failures • Design for a jumble of black boxes Blazeclan 32 Cloud IT Better
  • 34. Loose Coupling - Best Practices on AWS • Use Amazon SQS to isolate components • Use Amazon SQS as buffers between components • Design every component such that it expose a service interface and is responsible for its own scalability and interacts with other components asynchronously • Bundle the logical construct of a component into an Amazon Machine Image so that it can be deployed more often • Make your applications as stateless as possible. Store session state outside of component (in Amazon SimpleDB, if appropriate) Blazeclan 34 Cloud IT Better
  • 36. High Availability Architecture in RDS Blazeclan 36 Cloud IT Better
  • 37. Web Hosting on AWS Blazeclan 37 Cloud IT Better
  • 39. Design for High Availability & Scale Don’t let this happen to your Business Our AWS Expert Solution Architects can help you review your Architecture. Avail for our 2hr Free Consultancy! For any assistance please contact us at info@blazeclan.com Blazeclan 39 Cloud IT Better
  • 40. Upcoming Webinars Check out Our Upcoming Webinars www.blazeclan.com/webinars Blazeclan 40 Cloud IT Better
  • 41. Thank you info@blazeclan.com Follow Us On : Our Blog : Blazeclan http://blog.blazeclan.com/