aws multi-region high availability

25
Multi-Region High Availability Making your Apps truly highly available on AWS

Upload: adam-book

Post on 27-Jun-2015

333 views

Category:

Technology


5 download

DESCRIPTION

Architecting Applications for High Availability in Amazon Web Services

TRANSCRIPT

Page 1: Aws multi-region High Availability

Multi-Region High Availability

Making your Apps truly highly available on AWS

Page 2: Aws multi-region High Availability

Sponsors

Page 3: Aws multi-region High Availability

Presented by Adam Book from

Find me on LinkedIn

Multi-Region High Availability

Page 4: Aws multi-region High Availability

Notable Outages:Sept 13 2013Aug 25 2013Dec 24 2012Oct 22 2012June 29 2012

Whats in your SLA?

Page 5: Aws multi-region High Availability

l Auto Scaling

l Cloud Watch

l Elastic Load Balancers (ELB)

Initial Steps to High Availability

Page 6: Aws multi-region High Availability

Taking the Initial Step

A look at a simple web structure

Page 7: Aws multi-region High Availability

Taking the Initial Step

Single points of failure at multiple levels

Page 8: Aws multi-region High Availability

Removing the Initial SPOF

l Add ELBl Add Autoscalel Add DB replicationl Add cloudwatch

Page 9: Aws multi-region High Availability

Move to Multi-AZs

Page 10: Aws multi-region High Availability

Elastic Load Balancer (ELB) can be configured to work with multiple Availability Zones (Azs).

If you are using VPC be sure to add the appropriate subnets for each availability zone.

Configuring ELB to Use Multi AZs

Page 11: Aws multi-region High Availability

What Happens if the entire Region is Effected?

Page 12: Aws multi-region High Availability

What Happens if the entire Region is Effected?

Answer: Move to Multi Region Design

Page 13: Aws multi-region High Availability

Move to Multi-Region

Page 14: Aws multi-region High Availability

10 AWS Regionsl US East 1 (Virginia)l US West 1 (California)l US West 2 (Oregon)l EU West 1 (Ireland)l Japan (Tokyo)l South America (Sao Paulo)l ASP 1 (Singapore)l ASP 2 (Sydney)l GovCloudl BJS (Bejing) Limited Preview

25 Availability Zones51 Edge Locations

Amazon Global Infrastructure

Page 15: Aws multi-region High Availability

Amazon Global Infrastructure

Page 16: Aws multi-region High Availability

Using Edge Locations

What services use Edge Locations?

CloudFront

Route 53

Page 17: Aws multi-region High Availability

In Feb of 2013 AWS introduced a feature of integrating DNS failover for ELB.

Route 53 can detect an outage and redirect your end users to alternate or backup locations you specify.

Route 53 & DNS Failover

Page 18: Aws multi-region High Availability

Failover for ELB is available at NO ADDITIONAL CHARGE

Route 53 & DNS Failover

Page 19: Aws multi-region High Availability

When you have more then 1 resource performing the same function, for example 1 HTTP server or mail server – you can configure AWS Route 53 to check the health of your resources and respond to DNS queries using only Healthy Resources.

Route 53 & DNS Failover

Page 20: Aws multi-region High Availability

You can set up a variety of configurations using Amazon Route 53 alias

Active-active failover: Use this failover configuration when you want all of your resources to be available the majority of the time. When a resource becomes unavailable, Route 53 can detect that it is unhealthy & stop including it when responding to queries.

Route 53 & DNS Failover

Page 21: Aws multi-region High Availability

You can set up a variety of configurations using Amazon Route 53 alias

Active-passive failover: Use this failover when you want a primary group of resources to be available the majority of the time and you want a secondary group of resources to be on standby in case of all the primary resources become unavailable.

Route 53 & DNS Failover

Page 22: Aws multi-region High Availability

Route 53 & DNS Failover

Page 23: Aws multi-region High Availability

Pros:l Scalable & Highly Available Architecture

l In the event of a failure to one region, the traffic can be diverted

to another region in seconds

l Allows you to maintain High Uptime for your SLA's

l Customers arn't lost due to load or latency problems

Pros & Cons of Multi Region HA

Page 24: Aws multi-region High Availability

Cons:l Costs more then regular Multi AZ setup

l Technically complex

l Requires mid to advanced knowledge of more AWS services

l Complete Dependency on Amazon Web Services

Pros & Cons of Multi Region HA

Page 25: Aws multi-region High Availability

Use the following services when architecting for High Availability

HA AWS Building Blocks

Object & File Storage AWS S3

Content Delivery AWS CloudFront

Load Balancing AWS ELB

Monitoring AWS CloudWatch

Messaging AWS SMS