42
Mariano Cunietti CTO at Enter @mcunietti ONCE YOU GO CLOUD YOU NEVER GO DOWN

Once you go cloud you never go down

Embed Size (px)

Citation preview

Page 1: Once you go cloud you never go down

Mariano Cunietti CTO at Enter

@mcunietti

ONCE YOU GO CLOUDYOU NEVER GO DOWN

Page 2: Once you go cloud you never go down

Everything failssooner or later

(sh*t happens)

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

Page 3: Once you go cloud you never go down

This is why we should learn the design for failure

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

Page 4: Once you go cloud you never go down

Say hello to

Page 5: Once you go cloud you never go down

Regions

Milano

Paris

LondonAmsterdam

Frankfurt

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

Page 6: Once you go cloud you never go down

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

Page 7: Once you go cloud you never go down

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

OpenStack

COMPANIES

20M+555

LINES OF CODE

32343INDIVIDUAL MEMBERS

COUNTRIES

177

Page 8: Once you go cloud you never go down

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

Services

Page 9: Once you go cloud you never go down

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

Services

Page 10: Once you go cloud you never go down

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

Services

Page 11: Once you go cloud you never go down

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

Page 12: Once you go cloud you never go down

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

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

Page 13: Once you go cloud you never go down

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

Page 14: Once you go cloud you never go down

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

#1 Avoid single points of failure

Page 15: Once you go cloud you never go down

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

yourwebsite.com

DNS

Storage

DB

WSWS WS WS

Snapshot

Object

Page 16: Once you go cloud you never go down

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

yourwebsite.com

DNS

Storage

DB

WSWS WS WS

Page 17: Once you go cloud you never go down

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

#2 Setup Health Checks

Page 18: Once you go cloud you never go down

WSWS WS WS

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

yourwebsite.com

DNS

DB

Storage

Page 19: Once you go cloud you never go down

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

ECS Health Check

yourwebsite.com

DNS

WSWS WS WS

Storage

DB

Page 20: Once you go cloud you never go down

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

#3 Take snapshots

Page 21: Once you go cloud you never go down

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

Page 22: Once you go cloud you never go down

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

#4 Add load balancers

Page 23: Once you go cloud you never go down

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

WSWS WS WS

yourwebsite.com

DNS

DB

LB

Page 24: Once you go cloud you never go down

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

#5 Use Shared Filesystems

Page 25: Once you go cloud you never go down

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

WSWS WS WS

yourwebsite.com

DNS

DB FS

LB

Storage Storage

Page 26: Once you go cloud you never go down

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

#6 Go multi-region

Page 27: Once you go cloud you never go down

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

Page 28: Once you go cloud you never go down

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

Page 29: Once you go cloud you never go down

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

Page 30: Once you go cloud you never go down

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

#7 Scale and autoscale

Page 31: Once you go cloud you never go down

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

WSWS WS WS

yourwebsite.com

DNS

DB

LB

Page 32: Once you go cloud you never go down

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

WSWS WS WS

yourwebsite.com

DNS

DB

LB

Page 33: Once you go cloud you never go down

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

WSWS WS WS WSWS

yourwebsite.com

DNS

DB

LB

Page 34: Once you go cloud you never go down

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

WSWS WS WS WSWS

yourwebsite.com

DNS

DB

LB

Page 35: Once you go cloud you never go down

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

WSWS WS WS

yourwebsite.com

DNS

DB

LB

Page 36: Once you go cloud you never go down

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

#8 Use GeoDNS

Page 37: Once you go cloud you never go down

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

Page 38: Once you go cloud you never go down

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

#9 Bring content closer to your users

Page 39: Once you go cloud you never go down

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

Page 40: Once you go cloud you never go down

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

So what?

Page 41: Once you go cloud you never go down

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

Page 42: Once you go cloud you never go down

Mariano Cunietti CTO at Enter @mcunietti

Thank you

YOU WILL STILL FALLBUT IT WILL HURT LESS