Once you go cloud you never go down

Preview:

Citation preview

Mariano Cunietti CTO at Enter

@mcunietti

ONCE YOU GO CLOUDYOU NEVER GO DOWN

Everything failssooner or later

(sh*t happens)

Once you go cloud you never go down / enter.it / @enterteam 2

This is why we should learn the design for failure

Once you go cloud you never go down / enter.it / @enterteam 3

Say hello to

Regions

Milano

Paris

LondonAmsterdam

Frankfurt

Once you go cloud you never go down / enter.it / @enterteam 5

Once you go cloud you never go down / enter.it / @enterteam 6

Once you go cloud you never go down / enter.it / @enterteam 7

OpenStack

COMPANIES

20M+555

LINES OF CODE

32343INDIVIDUAL MEMBERS

COUNTRIES

177

Once you go cloud you never go down / enter.it / @enterteam 8

Services

Once you go cloud you never go down / enter.it / @enterteam 9

Services

Once you go cloud you never go down / enter.it / @enterteam 10

Services

Once you go cloud you never go down / enter.it / @enterteam 11

Once you go cloud you never go down / enter.it / @enterteam 12

Let’s build a highly available system with Enter Cloud Suite

Once you go cloud you never go down / enter.it / @enterteam 13

yourwebsite.com

DNS

WSECS Compute

ECS Compute

ECS Block Storage

ECS DNSaaS

Storage

DB

Once you go cloud you never go down / enter.it / @enterteam 14

#1 Avoid single points of failure

Once you go cloud you never go down / enter.it / @enterteam 15

yourwebsite.com

DNS

Storage

DB

WSWS WS WS

Snapshot

Object

Once you go cloud you never go down / enter.it / @enterteam 16

yourwebsite.com

DNS

Storage

DB

WSWS WS WS

Once you go cloud you never go down / enter.it / @enterteam 17

#2 Setup Health Checks

WSWS WS WS

Once you go cloud you never go down / enter.it / @enterteam 18

yourwebsite.com

DNS

DB

Storage

Once you go cloud you never go down / enter.it / @enterteam 19

ECS Health Check

yourwebsite.com

DNS

WSWS WS WS

Storage

DB

Once you go cloud you never go down / enter.it / @enterteam 20

#3 Take snapshots

Once you go cloud you never go down / enter.it / @enterteam 21

Snapshot

Snapshot

Snapshot ECS Object Storage

DB

WSWS WS WS

yourwebsite.com

DNS

ObjectStorage

Once you go cloud you never go down / enter.it / @enterteam 22

#4 Add load balancers

Once you go cloud you never go down / enter.it / @enterteam 23

WSWS WS WS

yourwebsite.com

DNS

DB

LB

Once you go cloud you never go down / enter.it / @enterteam 24

#5 Use Shared Filesystems

Once you go cloud you never go down / enter.it / @enterteam 25

WSWS WS WS

yourwebsite.com

DNS

DB FS

LB

Storage Storage

Once you go cloud you never go down / enter.it / @enterteam 26

#6 Go multi-region

Once you go cloud you never go down / enter.it / @enterteam 27

Milano Amsterdam

yourwebsite.com

DNS

LB LB

WSWS WS WS

DB FS

WS WS

DB FS

Replication

Once you go cloud you never go down / enter.it / @enterteam 28

Milano Amsterdam

yourwebsite.com

DNS

LB LB

WSWS WS WS

DB FS

WS WS

DB FS

Once you go cloud you never go down / enter.it / @enterteam 29

Milano Amsterdam

yourwebsite.com

DNS

LB LB

WSWS WS WS

DB

WS WS

DB

Replication

Once you go cloud you never go down / enter.it / @enterteam 30

#7 Scale and autoscale

Once you go cloud you never go down / enter.it / @enterteam 31

WSWS WS WS

yourwebsite.com

DNS

DB

LB

Once you go cloud you never go down / enter.it / @enterteam 32

WSWS WS WS

yourwebsite.com

DNS

DB

LB

Once you go cloud you never go down / enter.it / @enterteam 33

WSWS WS WS WSWS

yourwebsite.com

DNS

DB

LB

Once you go cloud you never go down / enter.it / @enterteam 34

WSWS WS WS WSWS

yourwebsite.com

DNS

DB

LB

Once you go cloud you never go down / enter.it / @enterteam 35

WSWS WS WS

yourwebsite.com

DNS

DB

LB

Once you go cloud you never go down / enter.it / @enterteam 36

#8 Use GeoDNS

Once you go cloud you never go down / enter.it / @enterteam 37

User from Milano

User from London

User from Paris

Milano Amsterdam

Users from Milano and Paris Users from London

ECS DNSaaS

DNS

LB

WSWS WS WS

DB

LB

WSWS WS WS

DB

Once you go cloud you never go down / enter.it / @enterteam 38

#9 Bring content closer to your users

Once you go cloud you never go down / enter.it / @enterteam 39

User from MilanoUser from

New YorkUser from Tokyo

CDNStatic content

Static content

CDNCDN

CDN

CDN

CDNCDN

ECS CDN

WS

OBJECT STORAGE

Once you go cloud you never go down / enter.it / @enterteam 40

So what?

Once you go cloud you never go down / enter.it / @enterteam 41

#1 Avoid single points of failure

#2 Setup Health Checks

#3 Take snapshots

#6 Go multi-region

#7 Scale and autoscale

#8 Use GeoDNS

#9 Bring content closer to your users

#4 Add load balancers

#5 Use Shared Filesystems

Mariano Cunietti CTO at Enter @mcunietti

Thank you

YOU WILL STILL FALLBUT IT WILL HURT LESS