41
© Ibuildings 2014/2015 - All rights reserved #DrupalDaysEU The benefits of an elastic infrastructure on a Drupal e-commerce by Mariano Cunietti

The benefits of an elastic infrastructure on a Drupal e-commerce (European Drupal Days 2015)

Embed Size (px)

Citation preview

© Ibuildings 2014/2015 - All rights reserved

#DrupalDaysEU

The benefits of an elastic infrastructure on a Drupal e-commerce by Mariano Cunietti

#DrupalDaysEU

© Ibuildings 2014/2015 - All rights reserved

Gold Sponsors

#DrupalDaysEU

© Ibuildings 2014/2015 - All rights reserved

Media Sponsors

Silver Sponsors

Mariano Cunietti CTO at Enter

@mcunietti

ONCE YOU GO CLOUDYOU NEVER GO DOWN

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

Everything fails sooner or later

(sh*t happens)

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

This is why we should learn the design for failure

Say hello to

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

Regions

Milano

Paris

LondonAmsterdam

Frankfurt

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

NEW LOGOS: 4

OpenStack

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

OpenStack

COMPANIES

TOTAL DEVELOPERS LAST 30 DAYS’ COMMITS ACCEPTED CODE CONTRIBUTIONS

2679 2797 83,596

433 TOP 10 COUNTRIES

17,316 INDIVIDUAL MEMBERS

COUNTRIES

145 United States, China, India, Great Britain, France, Russia, Australia, Canada, Japan, Germany

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

Services

COMPUTING STORAGE NETWORK DNS CDN

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

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

Let’s build a high availability system with Enter Cloud Suite

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

yourdrupalwebsite.com

DNS

WS

DB

ECS Compute

ECS DNSaaS

Block Storage

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

#1 Avoid single points of failure

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

yourdrupalwebsite.com

DNS

WS

DB

WSWS

Block Storage

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

yourdrupalwebsite.com

DNS

WS

DB

WSWS

Block Storage

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

#2 Take snapshots

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

yourdrupalwebsite.com

DNS

WS

DB

Obj

WSWSSnapshot

Snapshot

Block Storage

Snapshot

ECS Object Storage

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

#3 Add load balancers

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS

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

#4 Setup Health Checks

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS

ECS Health Check

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

#5 Go multi-region

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS

DBReplication

Milano Amsterdam

LB

WS WS

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS

DB

Milano Amsterdam

LB

WS WS

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS

DBReplication

Milano Amsterdam

LB

WS WS

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

#6 Scale and autoscale

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS WSWS

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS WSWS

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

yourdrupalwebsite.com

DNS

LB

WS

DB

WSWS

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

#7 Use GeoDNS

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

User from Milano

LB

WS

DB

WSWS

User from London

User from Paris

DNS

LB

WS

DB

WSWS

Milano Amsterdam

Users from Milano and Paris Users from London

ECS DNSaaS

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

#8 Bring content closer to your users

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

User from Milano

WS

User from New York

User from Tokyo

CDNStatic content

OBJECT STORAGE

Static content

CDNCDN

CDN

CDN

CDNCDN

ECS CDN

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

So what?

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

#1 Avoid single points of failure

#2 Take snapshots

#3 Add load balancers

#5 Go multi-region

#6 Scale and autoscale

#7 Use GeoDNS

#8 Bring content closer to your users

#4 Setup Health Checks

Mariano Cunietti CTO at Enter @mcunietti

Thank you

YOU WILL STILL FALLBUT IT WILL HURT LESS