SCALING DRUPAL IN THE CLOUD Eric Johnson - Case Foundation Frank - - PowerPoint PPT Presentation

scaling drupal in the cloud
SMART_READER_LITE
LIVE PREVIEW

SCALING DRUPAL IN THE CLOUD Eric Johnson - Case Foundation Frank - - PowerPoint PPT Presentation

SCALING DRUPAL IN THE CLOUD Eric Johnson - Case Foundation Frank Febbraro - Phase2 Technology THE CHALLENGE Super high peak traffic for just a few hours Without going broke FROM THIS TO THIS TO THIS WITH JUST A FEW CLICKS THE PEOPLE Eric


slide-1
SLIDE 1

SCALING DRUPAL IN THE CLOUD

Eric Johnson - Case Foundation Frank Febbraro - Phase2 Technology

slide-2
SLIDE 2

THE CHALLENGE

Super high peak traffic for just a few hours Without going broke

slide-3
SLIDE 3

FROM THIS

slide-4
SLIDE 4

TO THIS

slide-5
SLIDE 5

TO THIS

slide-6
SLIDE 6

WITH JUST A FEW CLICKS

slide-7
SLIDE 7

THE PEOPLE

Eric at The Case Foundation

  • Was spending for boxes not always needed
  • Runs periodic campaigns (48,000 people donating for 6 month

grant competition)

  • Likes to send press releases
  • Moved Drupal to AWS in December 2007
slide-8
SLIDE 8

THE PEOPLE

Frank at Phase2 Technology

  • Architect
  • First significant AWS deployments
  • Kickoff to deployment in 5 weeks
  • Team developed code & deployment scaling concurrently
slide-9
SLIDE 9

IN THE CLOUD

The Promise The Challenge

Servers when you need Configuration, please Multiple datacenters Filesystem sync Pay for what you need $70/month/cpu + bandwidth

slide-10
SLIDE 10

WHAT IS AWS?

Amazon Web Services

slide-11
SLIDE 11

S3

super simple storage

slide-12
SLIDE 12

EC2

elastic compute cloud

slide-13
SLIDE 13

EBS

elastic block storage

slide-14
SLIDE 14

SHUT UP ALREADY!

how do I actually deploy & scale my site

slide-15
SLIDE 15

OUR SOLUTION

  • multiple front ends
  • master/slave database
  • dedicated edit server
  • ebs mounted filesystems (files & db)
  • sync files to front ends every minute
  • not ideal for large number of editors
slide-16
SLIDE 16

SOLUTION

Master Slave Load Balancer (or DNS) Edit Front-ends

slide-17
SLIDE 17

now it is time to develop your deployment

slide-18
SLIDE 18

directly on on aws

slide-19
SLIDE 19

DO YOU NEED HELP?

slide-20
SLIDE 20

CLOUD MANAGEMENT

RightScale, Scalr, etc.

slide-21
SLIDE 21

we chose RightScale

slide-22
SLIDE 22

WHY RIGHTSCALE?

slide-23
SLIDE 23

LETS GET TO IT

slide-24
SLIDE 24

register with load balancer deploy site, restore db vhost install, customize config mount EBS, DNS AMI - O/S php, httpd, apc, memcached

Boot Scripts

EC2 Instance

slide-25
SLIDE 25

register with load balancer deploy site, restore db vhost install, customize config mount EBS, DNS AMI - O/S php, httpd, apc, memcached

Boot Scripts

EC2 Instance

Operational Scripts

failover site deployment backup snapshot

slide-26
SLIDE 26

M

  • n

i t

  • r

i n g & A l e r t s Operational Scripts

failover site deployment backup snapshot

EC2 Instance

register with load balancer deploy site, restore db vhost install, customize config mount EBS, DNS AMI - O/S php, httpd, apc, memcached

Boot Scripts

slide-27
SLIDE 27

template everything

slide-28
SLIDE 28
slide-29
SLIDE 29

what about test, stage & production

slide-30
SLIDE 30

failover

slide-31
SLIDE 31

is the cloud right for you?

slide-32
SLIDE 32

QUESTIONS?

slide-33
SLIDE 33

OR DROP US A NOTE

  • Eric Johnson

Director of Technology The Case Foundation @elstudio http://el-studio.com/tag/cloud/

  • Frank Febbraro

CTO Phase2 Technology @febbraro http://agileapproach.com