Drupal In The Cloud

71
Drupal in the Cloud! Josh Koenig drupal.org/user/3313 [email protected] www.getpantheon.com twitter.com/pantheon_drupal twitter.com/outlandishjosh Monday, March 15, 2010

description

Slides from Josh Koenig's "Drupal in the Cloud" presentation at SxSw interactive 2010.

Transcript of Drupal In The Cloud

Page 1: Drupal In The Cloud

Drupal in the Cloud!

Josh Koenigdrupal.org/user/[email protected]/pantheon_drupaltwitter.com/outlandishjosh

Monday, March 15, 2010

Page 2: Drupal In The Cloud

“The Cloud” Is...

Monday, March 15, 2010

Page 3: Drupal In The Cloud

2009’s Top Buzzword

Monday, March 15, 2010

Page 4: Drupal In The Cloud

Hand-Waver Hype

Monday, March 15, 2010

Page 5: Drupal In The Cloud

“Scaling Silver Bullet”

Monday, March 15, 2010

Page 6: Drupal In The Cloud

When something sounds too good to be true...

It probably is.

Monday, March 15, 2010

Page 7: Drupal In The Cloud

Just Say No

Monday, March 15, 2010

Page 8: Drupal In The Cloud

“The Cloud” really is...

Monday, March 15, 2010

Page 9: Drupal In The Cloud

Hosting!

Monday, March 15, 2010

Page 10: Drupal In The Cloud

Specifically, it’s a new model for hosting.

Monday, March 15, 2010

Page 11: Drupal In The Cloud

Traditional hosting=

Real estate

Monday, March 15, 2010

Page 12: Drupal In The Cloud

Most real estate consumers are

renters.

Few love their landlord.

Monday, March 15, 2010

Page 13: Drupal In The Cloud

Owning comes with lots of responsibilities

and hidden costs.

Monday, March 15, 2010

Page 14: Drupal In The Cloud

Large scale projects are expensive, slow,

and prone to setbacks.

Monday, March 15, 2010

Page 15: Drupal In The Cloud

“The Cloud”=

Hosting as service API

Monday, March 15, 2010

Page 16: Drupal In The Cloud

On-demand availability

Monday, March 15, 2010

Page 17: Drupal In The Cloud

Usage-based pricing(usually hourly)

Monday, March 15, 2010

Page 18: Drupal In The Cloud

Reliable, reusable start-states

Monday, March 15, 2010

Page 19: Drupal In The Cloud

The cloud is good!

Monday, March 15, 2010

Page 20: Drupal In The Cloud

Less waste

Monday, March 15, 2010

Page 21: Drupal In The Cloud

More freedom

Monday, March 15, 2010

Page 22: Drupal In The Cloud

But not a silver bullet!

Monday, March 15, 2010

Page 23: Drupal In The Cloud

Monday, March 15, 2010

Page 24: Drupal In The Cloud

Performance can vary

Monday, March 15, 2010

Page 25: Drupal In The Cloud

Journal of Eivind Uggedal: VPS Performance Comparisonhttp://journal.uggedal.com/vps-performance-comparison

Monday, March 15, 2010

Page 26: Drupal In The Cloud

Abstractions aren’t the same as the real

thing

Monday, March 15, 2010

Page 27: Drupal In The Cloud

New tricks to learn

Monday, March 15, 2010

Page 28: Drupal In The Cloud

For Entrepreneurs and Upstarts (like Drupal), the Cloud is Destiny

Monday, March 15, 2010

Page 29: Drupal In The Cloud

Start with pennies, scale to millions.

Monday, March 15, 2010

Page 30: Drupal In The Cloud

Create products (cheaply).

Monday, March 15, 2010

Page 31: Drupal In The Cloud

Grow organically, but still grow fast.

Monday, March 15, 2010

Page 32: Drupal In The Cloud

Be The Center Of Your Own UniverseMonday, March 15, 2010

Page 33: Drupal In The Cloud

Should You Host In The Cloud?

(maybe you already are)

Monday, March 15, 2010

Page 34: Drupal In The Cloud

•Launch a server in the cloud

•Players in the space

•Practical cloud use-cases

•Dollars and cents

•Cloud architecture howto

•PANTHEON: Drupal in the cloud

Begin Nuts and Bolts Presentation

Monday, March 15, 2010

Page 35: Drupal In The Cloud

Demo: Boot MercuryMonday, March 15, 2010

Page 36: Drupal In The Cloud

Managed Cloud Services (no root)

(limited language support)(no code!)

(generic)

Monday, March 15, 2010

Page 37: Drupal In The Cloud

Most Mature

Monday, March 15, 2010

Page 38: Drupal In The Cloud

Hungry Like The Wolf(a really big wolf)

Monday, March 15, 2010

Page 39: Drupal In The Cloud

Small, Brainy, Excellent Global CDN

Monday, March 15, 2010

Page 40: Drupal In The Cloud

And More Every Day...

Monday, March 15, 2010

Page 41: Drupal In The Cloud

VPS is Becoming Quite Cloudy

Monday, March 15, 2010

Page 42: Drupal In The Cloud

Linode

Monday, March 15, 2010

Page 43: Drupal In The Cloud

SliceHost (Rackspace)

Monday, March 15, 2010

Page 44: Drupal In The Cloud

VPS.net

Monday, March 15, 2010

Page 45: Drupal In The Cloud

And More Every Day...

Monday, March 15, 2010

Page 46: Drupal In The Cloud

Custom/Private Cloud Services

Monday, March 15, 2010

Page 47: Drupal In The Cloud

Cloud Value-Adders...

Monday, March 15, 2010

Page 48: Drupal In The Cloud

Cloud/Cluster Management Services

Monday, March 15, 2010

Page 49: Drupal In The Cloud

Cross-Cloud Services(and libcloud.org)

Monday, March 15, 2010

Page 50: Drupal In The Cloud

Cloud Tools For Drupal (shameless plug: getpantheon.com)

Monday, March 15, 2010

Page 51: Drupal In The Cloud

What Is It Good For?

Monday, March 15, 2010

Page 52: Drupal In The Cloud

Testing / Continuous Integration

Monday, March 15, 2010

Page 53: Drupal In The Cloud

Development Infrastructure

Monday, March 15, 2010

Page 54: Drupal In The Cloud

Products and Services

Monday, March 15, 2010

Page 55: Drupal In The Cloud

High Availability/Enterprise Hosting

Monday, March 15, 2010

Page 56: Drupal In The Cloud

Making This Crazy Dream Come True

“social starfish” by Darren Barefoot: http://www.flickr.com/photos/dbarefoot/1814873464/Monday, March 15, 2010

Page 57: Drupal In The Cloud

C.R.E.A.M. (part 1)

Monday, March 15, 2010

Page 58: Drupal In The Cloud

24x7x365 infrastructure tends to be a wash in the

cloud

Monday, March 15, 2010

Page 59: Drupal In The Cloud

However: Don’t Underestimate Opportunity Cost

Monday, March 15, 2010

Page 60: Drupal In The Cloud

Easy Savings Are In Traffic Patterns

Monday, March 15, 2010

Page 61: Drupal In The Cloud

Burstable = Inexpensive Surge Protection

Monday, March 15, 2010

Page 62: Drupal In The Cloud

•Honest clouds admit they have downtime. So will the others. Instances will fail, though not much more often than real servers.

•Performance can be impacted by other local activity.

•Virtual disks tend to have relatively poor I/O performance.

Cloud Caveats

Monday, March 15, 2010

Page 63: Drupal In The Cloud

•Accept the inevitability of failure.

•Embrace the paradigm of redundancy and rapid recovery.

•Develop architecture with modular, replaceable parts.

•Stay fast by minimizing disk/cpu utilization for menial tasks.

Solutions

Monday, March 15, 2010

Page 64: Drupal In The Cloud

•Monitor your load.

•Spin up more instances (scale horizontally) as you need more power.

•Add layers (scale vertically) as bottlenecks emerge.

•Create Images for each piece in your infrastructure.

•Best Practices To Stay Speedy

The Cloud in Production

Monday, March 15, 2010

Page 65: Drupal In The Cloud

Best Practices?C.R.E.A.M. (pt 2)

Monday, March 15, 2010

Page 66: Drupal In The Cloud

•Front-side caching: Use Pressflow with Varnish and/or NgineX.

•Opcode cache (APC) keeps your bits hot.

•Memcached helps to minimize queries to the database.

•Use dedicated, separately-scalable tools where possible, like ApacheSolr search.

•Architect for vertical scaling by utilizing all service layers, even if it’s one box.

High Performance Drupal Architecture

Monday, March 15, 2010

Page 67: Drupal In The Cloud

Comin Atcha!

Monday, March 15, 2010

Page 68: Drupal In The Cloud

Technical Info

Mercury is a standardized high performance stack for Drupal. It is available in source format, or (soon) as an on-demand service.

It utilizes the best available open-source technologies to make our favorite CMS very fast and to hold up under large spikes in traffic.

Monday, March 15, 2010

Page 69: Drupal In The Cloud

Vision: From One Box to Cluster

Monday, March 15, 2010

Page 70: Drupal In The Cloud

We Have A Dream

Monday, March 15, 2010

Page 71: Drupal In The Cloud

Q & [email protected]

twitter.com/pantheon_drupaltwitter.com/outlandishjosh

#drupalinthecloud

Monday, March 15, 2010