deploying a disaster recovery site on aws: minimal cost with maximum efficiency

74
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Brad Dispensa, Sr. Solutions Architect WWPS August 11, 2016 Deploying a Disaster Recovery Site on AWS Minimal Cost with Maximum Efficiency

Upload: amazon-web-services

Post on 08-Jan-2017

432 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Brad Dispensa, Sr. Solutions Architect – WWPS

August 11, 2016

Deploying a Disaster Recovery Site

on AWS

Minimal Cost with Maximum Efficiency

Page 2: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

What do I expect you to know?

• 300-level talk

• Have some prior experience with AWS

• Understand/know basic terms, like Amazon EBS, Amazon S3, and

Amazon EC2

"I get it and want to learn more."

• Sessions will dive deeper into the topic. Presenters assume the

audience is familiar with the topic but may or may not have direct

experience implementing a similar solution. Code may be shared but

will not be the primary focus of the session.

Page 3: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

We are historians…even if you don’t know it.

Page 4: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 5: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 6: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 7: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

"Shut up, shut up! I am

busy…”- Jack Phillips, RMS Titanic telegraph operator

Page 8: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Recovery point

Page 9: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 10: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

DisasterRecovery point

Data loss

Page 11: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

"SOS, SOS,CQD,CQD

MGY. We are sinking

fast - passengers are

being put into boats..

MGY”- Titanic last radio call

Page 12: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

DisasterRecovery point Recovery time

Data lossDown time

Page 13: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Lessons learned?Failure is not one thing…

Page 14: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Disaster recovery as

an eventaka watch this...

Page 15: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 16: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Pi

MQ-7

Page 17: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

AWS cloudCorporate data center

AWS

Lambda

AWS

CloudFormationAmazon

Kinesis

Amazon

Route 53

Page 18: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

AWS cloud

Corporate data center

CloudFormation

Amazon

Route 53

Auto Scaling group

Availability Zone #1

Security group

security group

Root volume

Data volume

EC2 instance

Web app

server

Page 19: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

What did it cost?

MQ-7 R-PI 2 Route 53 S3

$10/sensor $42 $0.53/zone $ 0.03/GB

Service Cost

S3 bootstrap

script repo

$.03

Hardware $52

Route 53 DNS $0.53

Total $52.56

Page 20: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

How can I do this?

Page 21: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

What are we planning for?

Page 22: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 23: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 24: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 25: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Techniques for disaster

recovery

Page 26: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Pilot light

Page 27: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Subordinate

database

server

Pilot light–prepwww.example.com

Data mirroring replication

Not running

Pilot light system

Reverse

proxy/

caching

server

Datavolume

Application

server

Corporate data center

Reverse proxy/ caching server

Application server

MasterDatabase

server

Page 28: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Database

server

Pilot light–recoverywww.example.com

Start in minutes

Add additional

capacity,

if needed

Reverse

proxy/

caching

server

Datavolume

Application

server

Corporate data center

Reverse proxy/ caching server

Application server

MasterDatabase

server

Page 29: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Warm standby

Page 30: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Warm standby–prep

Mirroring /replication

Application data source

cut over

Elastic load

balancerActiveNot active for

production traffic

Route 53

www.example.com

Scaled down

standbyCorporate data center

Datavolume

Applicationserver

Subordinatedatabase

server

Reverse proxy/ caching server

AWS region

Reverse proxy/ caching server

Application server

MasterDatabase

server

Page 31: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Warm standby–recover

Elastic load

balancerActive

Route 53

www.example.com

Scaled-up

production

Corporate data center

Datavolume

Applicationserver

Databaseserver

Reverse proxy/ caching server

AWS region

Reverse proxy/ caching server

Application Server

MasterDatabase

server

Page 32: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Hot site

Page 33: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Hot site–prep

Mirroring /replication

Application data source

cut over

Elastic load

balancerActiveRoute 53

www.example.com

Corporate data center

Datavolume

Applicationserver

Subordinate database

server

Reverse proxy/ caching server

AWS region

Reverse proxy/ caching server

Application server

MasterDatabase

server

Active

Page 34: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Hot site–recovery

Elastic load

balancerRoute 53

www.example.com

Corporate data center

Datavolume

Applicationserver

Databaseserver

Reverse proxy/ caching server

AWS region

Reverse proxy/ caching server

Application server

MasterDatabase

server

Active

Scaled up

for production

use

Page 35: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Use case 1 DR for entry-level users

Page 36: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

AWS CLI-based backup

$ aws s3 sync /backups s3://mybucket

;Back up and sync the backup folder

$ aws s3 sync /backups s3://mybucket --delete

;Like the preceding, but now delete files not present

Page 37: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

What does it look like?

Remote location

S3 Amazon

Glacier

S3 bucket

/mybucket

S3

STANDARD_IA

1

2

Page 38: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

What did it cost?

S3

STANDARD_IA

S3 Amazon Glacier

$ 0.0125/GB $ 0.03/GB $ 0.007/GB

Service Cost

S3 10 GB images $.30

S3–IA 100 GB of data $1.25

Amazon Glacier–1 TB archives $7.00

Total $8.55/mo

Page 39: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Use case 2Large data archive needs and failover

Page 40: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Large data set

AWS cloud

AWS Import/Export

Snowball

Corporate data center

NGS

On-premises

compute /cluster

Sequence dataPhysical media

Flowcell-ID

AWS CLI

Amazon Glacier

1 3

AWS

Import/Export

Snowball

or

2

Page 41: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Large data set

AWS cloud

Corporate data center

NGS

On-premises

Compute / cluster

AWS

Storage GatewayVirtual server

Amazon S3

ISCI

Cached

volume

1

2

Page 42: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Large data set–Recovery

AWS cloud

AWS Import/Export

Corporate data center

NGS

On-premises

Compute / cluster

Sequence data

Flowcell-ID

Amazon Glacier

1

Physical media

AWS

Import/Export

Snowball

or

Page 43: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Large data set–Recovery

AWS cloud

Corporate data center

NGS

On-premises

compute/cluster

AWS

Storage GatewayVirtual server

S3

ISCI

Cached

volume

2

1

Page 44: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

What did it cost?

S3 Import/Export Amazon Glacier

$ 0.03/GB $2.49 per data-loading hour + $80

per storage device

$ 0.007/GB

Service Cost

S3 10 TB $300

Import/Export 1 PB** - Variable

Amazon Glacier archive 1 PB $7,000

Total $7,300/mo

**Factors include drive type, amount of drive.

Page 45: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Use case 3 Onsite virtualization replication,

backup, and failover

Page 46: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Corporate data center AWS cloud

Storage

Gateway

S3

iSCSI from

Storage

Gateway to

ESX Hosts

Storage

Gateway

cached volume

to S3

VMFS

VMware ESX VMware ESXi

Replication

Appliance

Onsite VM replication/convert

Page 47: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Corporate data center AWS cloud

Storage

Gateway

S3

iSCSI from

AWS Storage

Gateway to

ESX Hosts

Storage Gateway

cached volume

to S3

VMFS

VMware ESX VMware ESXi

Replication

Appliance

AMI

EBS

VM

Import

Onsite VM replication/convert

Page 48: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

What did it cost?

S3 Storage Gateway

$ 0.03/GB $125.00

Service Cost

Storage Gateway archive (32 TB) $960

Storage Gateway VM cost $125

Total $1,085/mo

Page 49: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Use case 4 Multisite replication and failover

Page 50: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Corporate data center

AWS

Direct Connect

VPN

us-east-1

us-west-2

Server

Server

Availability Zone Availability Zone

Failback

Server

Multisite failover

Page 51: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Corporate data center

Direct Connect

VPN

us-east-1

us-west-2

Server

Failback

AWS

CloudFormation

Server

Availability Zone Availability Zone

Server

Multisite failover

Page 52: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

AWS cloudCorporate data center

Route 53

Docker servers

www.example.com

DatabaseAmazon RDS

Data mirroring replication

Storage

Gateway

Container failover

Snapshot

S3

Page 53: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Amazon ECS

AWS cloudCorporate data center

Route 53

www.example.com

RDS

Amazon

ECS

cluster

Container failover

EBS

Data /

code

repo

S3

Page 54: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

What did it cost? (30 days)–Remote site

VPC VPN EC2 *

(m4.xlarge)

1 Gb

Direct Connect

EBS Region data

transfer fee

$ 0.05

/Hour

$ 0.252 $ 0.30/Hour $ 0.10/GB $ 0.02/GB

Service Cost

1 GB Direct Connect $216

VPN Fallback Connection $36

(2) EC2 instances $362.88

(2) EBS 60 GB volumes $12

(1) AMI copy to us-west-2 $1.20

Total $628.08*us-west-2, Amazon Linux AMI

Page 55: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

What did it cost? (30 days)–Docker

Storage

Gateway

EC2 Route 53 RDS EBS Elastic Load

Balancing

$ 125.00 $0.252/

Hour

$0.53/

Zone

$0.185/

Hour

$0.10/GB $0.025/Hour

Service Cost

Storage Gateway $125

Route 53 DNS $0.53

Elastic Load Balancing $18

RDS (MySQL) db.m3.large $133.20

(3) ECS cluster nodes m4.xlarge + (3) 30 GB EBS $553.32

Total $821.05/mo

Page 56: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Use case 5 Knowledge worker DR site

Page 57: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 58: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Workspaces

Customer VPC

Active

Directory

Corp servers

Direct Connect

or VPN

Customer

corporate

network

Customer AD

RO/Replica

EC2

corporate

servers

MFA (RADIUS) (Optional)Archives

S3

Page 59: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Workspaces

Internet

Users

Standalone

Network

Customer VPC

AD

RO / Replica

Public AWS

endpoint

Streaming

Gateway

9

Amazon WorkSpaces

(network entry point)

Amazon EC2

corporate

servers

Customer

corporate network

Amazon S3

Page 60: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

What did it cost? – 30 Days

Workspaces(Standard)

EC2 *

(m4.xlarge)

EBS

(GP SSD)

S3 VPC VPN

$ 35 /

Workspace

$ 0.504 / Hour $ 0.10 $ 0.03 / GB $ 0.05 / Hour

Service Cost

Workspaces for 25 users $875

(2) AD EC2 + 100GB EBS $725.76

VPC VPN $36

S3 file backups (500GB) $15

(1) Share point W/ 2TB EBS $563.88

Total $2215.64/Mo*us-west-2, Windows standard

Page 61: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Use case 6Untethered IT

Page 62: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Mobile console

Ability to recover when

you’re mobile.

Page 63: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Conclusion

Page 64: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Lessons from history

Plan for more than just what

you expect to happen.

Page 65: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Lessons from history

Test your execution plan

before you think you can

implement it.

Page 66: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Lessons from history

Knowledge is critical. Know

how to interpret an alarm on

events.

Page 67: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

So how easy can I make this?

Page 68: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 69: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

“Alexa, fail over my data center”

#Alexafailover

Page 70: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

“Yeah, that’s too hard still,

what else you got?

Page 71: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Page 72: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Break glass: Failover button.

Page 73: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency

Remember to complete

your evaluations!

Page 74: Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency