• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Scaling Drupal in the Amazon Cloud - Slides from DrupalconDC
 

Scaling Drupal in the Amazon Cloud - Slides from DrupalconDC

on

  • 5,879 views

Using the cloud to handle high peak traffic for limited times - without going broke. ...

Using the cloud to handle high peak traffic for limited times - without going broke.

Scaling Drupal using Amazon Web Services.

A talk by Frank Febbraro and Eric Johnson at Drupalcon DC.

http://dc2009.drupalcon.org/session/scaling-drupal-using-amazon-web-services-aws

http://el-studio.com/articles/scaling-drupal-amazon-cloud-drupalcon-presentation

Statistics

Views

Total Views
5,879
Views on SlideShare
5,617
Embed Views
262

Actions

Likes
7
Downloads
139
Comments
0

10 Embeds 262

http://el-studio.com 141
http://elstudio.us 80
http://www.slideshare.net 22
http://localhost 11
http://team.stamkracht.com 3
http://blog.el-studio.com 1
http://innovations.ema.lilly.com 1
http://a0.twimg.com 1
http://us-w1.rockmelt.com 1
http://morad.me 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

CC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br />
  • ERIC <br />
  • ERIC <br />
  • ERIC <br />
  • ERIC <br />
  • ERIC <br />
  • ERIC <br />
  • FRANK <br />
  • ERIC <br />
  • FF <br />
  • FF persistent distributed storage for files via http post/get, high latency <br />
  • FF servers <br />
  • FF low latency, permanent storage, but not multi datacenter <br />
  • FF <br />
  • ERIC <br />
  • ERIC <br /> multiple front ends <br /> master/slave database <br /> dedicated edit server <br /> ebs mounted filesystems (files & db) <br /> sync files to front ends every minute <br /> not ideal for large number of logged-in users <br />
  • FF It is important to note that your deployment in cloud scenarios is often “developed” in much the same way your site is developed and it requires time, testing, review, etc. DO not underestimate this amount of time. <br />
  • command line, aws console, puppet, etc. <br />
  • EJ <br />
  • EJ The one sentence summary is that the current EC2 console is a control panel that gives you access to all EC2 functions while RightScale is a complete management platform to design, deploy, and manage the life-cycle of mission critical cloud deployments. <br /> <br />
  • EJ Leading provider of mangement console for entire server deployment environment. Their onsole <br />
  • EJ <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • FF <br />
  • EJ extract the variations and things that are required to be unique and provide them as input. <br />
  • <br />
  • EJ done based on deployments. server + templates = deployment <br /> deployments only vary based on the inputs given <br /> to make these diff envs, just clone your deployment <br />
  • FF test the hell out of it. This is where a ton of your work developing the deployment applies <br />
  • FF you need sysadmin skills on staff, or cloud management. Depends on the usage profile of your site, kernel requirements, etc. <br />
  • <br />

Scaling Drupal in the Amazon Cloud - Slides from DrupalconDC Scaling Drupal in the Amazon Cloud - Slides from DrupalconDC Presentation Transcript

  • SCALING DRUPAL IN THE CLOUD Eric Johnson - Case Foundation Frank Febbraro - Phase2 Technology Friday, March 6, 2009
  • THE CHALLENGE Super high peak traffic for just a few hours Without going broke Friday, March 6, 2009
  • FROM THIS Friday, March 6, 2009
  • TO THIS Friday, March 6, 2009
  • TO THIS Friday, March 6, 2009
  • WITH JUST A FEW CLICKS Friday, March 6, 2009
  • 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 Friday, March 6, 2009
  • THE PEOPLE Frank at Phase2 Technology • Architect • First significant AWS deployments • Kickoff to deployment in 5 weeks • Team developed code & deployment scaling concurrently Friday, March 6, 2009
  • IN THE CLOUD The Promise The Challenge Servers when you need Configuration, please Multiple datacenters Filesystem sync $70/month/cpu + bandwidth Pay for what you need Friday, March 6, 2009
  • WHAT IS AWS? Amazon Web Services Friday, March 6, 2009
  • S3 super simple storage Friday, March 6, 2009
  • EC2 elastic compute cloud Friday, March 6, 2009
  • EBS elastic block storage Friday, March 6, 2009
  • SHUT UP ALREADY! how do I actually deploy & scale my site Friday, March 6, 2009
  • 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 Friday, March 6, 2009
  • SOLUTION Load Balancer (or DNS) Edit Front-ends Master Slave Friday, March 6, 2009
  • now it is time to develop your deployment Friday, March 6, 2009
  • directly on on aws Friday, March 6, 2009
  • DO YOU NEED HELP? Friday, March 6, 2009
  • CLOUD MANAGEMENT RightScale, Scalr, etc. Friday, March 6, 2009
  • we chose RightScale Friday, March 6, 2009
  • WHY RIGHTSCALE? Friday, March 6, 2009
  • LETS GET TO IT Friday, March 6, 2009
  • Friday, March 6, 2009
  • EC2 Instance Boot Scripts Friday, March 6, 2009
  • EC2 Instance Boot Scripts AMI - O/S Friday, March 6, 2009
  • EC2 Instance Boot Scripts php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Boot Scripts mount EBS, DNS php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Boot Scripts vhost install, customize config mount EBS, DNS php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Boot Scripts deploy site, restore db vhost install, customize config mount EBS, DNS php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Boot Scripts register with load balancer deploy site, restore db vhost install, customize config mount EBS, DNS php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Boot Scripts register with load balancer deploy site, restore db vhost install, customize config mount EBS, DNS php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Operational Scripts Boot Scripts register with load balancer deploy site, restore db vhost install, customize config mount EBS, DNS php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Operational Scripts backup snapshot Boot Scripts register with load balancer deploy site, restore db vhost install, customize config mount EBS, DNS php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Operational Scripts site deployment backup snapshot Boot Scripts register with load balancer deploy site, restore db vhost install, customize config mount EBS, DNS php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Operational Scripts failover site deployment backup snapshot Boot Scripts register with load balancer deploy site, restore db vhost install, customize config mount EBS, DNS php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Operational Scripts failover site deployment backup snapshot Boot Scripts register with load balancer deploy site, restore db vhost install, customize config mount EBS, DNS php, httpd, apc, memcached AMI - O/S Friday, March 6, 2009
  • EC2 Instance Operational Scripts M failover o n site deployment i t backup snapshot o r Boot Scripts i n register with load balancer g deploy site, restore db & vhost install, customize config A l e mount EBS, DNS r t php, httpd, apc, memcached s AMI - O/S Friday, March 6, 2009
  • template everything Friday, March 6, 2009
  • Friday, March 6, 2009
  • what about test, stage & production Friday, March 6, 2009
  • failover Friday, March 6, 2009
  • is the cloud right for you? Friday, March 6, 2009
  • QUESTIONS? Friday, March 6, 2009
  • 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 Friday, March 6, 2009