HA With AWS OpsWorks

13
High Availability with AWS OpsWorks [email protected] @link_sdm SHANE DAVIS Lead Architect ANZ

Transcript of HA With AWS OpsWorks

Page 1: HA With AWS OpsWorks

High Availability with AWS OpsWorks

[email protected]@link_sdm

SHANE DAVISLead Architect ANZ

Page 2: HA With AWS OpsWorks

Introduction 2

Link Digital

Service Delivery Manager

Lead Architect ANZ

Data ShadesKey Contributor

AWS User GroupCBR Organiser

Page 3: HA With AWS OpsWorks

PCs and Pet Mentality 3

Cute, precious and adorable

Not scalable

Timely to set up

Page 4: HA With AWS OpsWorks

The Computing Evolution 4

• Desktop PCs

• Server in a cupboard

• Virtualisation

• Virtual Dedicated Servers

• Cloud Computing

Page 5: HA With AWS OpsWorks

Cloud Benefits 5

• Low Cost

• Agile

• Easily Managed

Cents per hour to run

Pay for what you use

Scales up and down easily

Point and Click:

• Provisioning

• Monitoring

• Management

Page 6: HA With AWS OpsWorks

6Cloud Tricks

Scalability

Automation

Orchestration

Page 7: HA With AWS OpsWorks

7The Orchestration Journey

Bash/Python scripts

CLI: Command Line

Interface

Orchestration Suites

Page 8: HA With AWS OpsWorks

8Why OpsWorks?

Templates Build Stacks

Serverless

Iterative

Consistent

Transparent Design

Access Management

Clone capable

Page 9: HA With AWS OpsWorks

9OpsWorks Design

Layers

Instances

Time Based

Load Based

Apps

Deployments

Monitoring

Resources

Permissions

Instances can belong

to 1 or more layers

Separate Instances out later

• App Source

• Data Source

• Domains

• SSL

App Definition

Deploy to one

or more layers

Recipes perform:

• Setup

• Configure

• Deploy

• Undeploy

• Shutdown

Page 10: HA With AWS OpsWorks

10HA Design Tips

Disposable Nodes

Truly HA = no pets

Versatile Recipes

• Able to manage failed states

• Capable of upgrades

• Adaptive and aware

Dynamic Resources

Don’t paint the cogs

Page 11: HA With AWS OpsWorks

11HA Considerations

• Use AWS Services when possible

• Use self hosted services as a bridge

• Use Route53 Failover and Health checks

Page 12: HA With AWS OpsWorks

12Scaling Options

Bare Metal Deploy

AMI + Autoscale Group

Latest versions

Failure risks

Slower Deployment

No setup

No Updates

Faster Deployment

AMI + Deploy

Failsafe setup

Fast Deployment

Latest versions

Page 13: HA With AWS OpsWorks

13Main Take Away

• The Real Magic is in the sauce (recipe)

• Dynamic is the key - stateless, non-static

• Iteration is the way forward. Build & Improve