Drupal In The Cloud

Post on 28-Jan-2015

14.092 views 1 download

Tags:

description

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

Transcript of Drupal In The Cloud

Drupal in the Cloud!

Josh Koenigdrupal.org/user/3313josh@chapterthree.comwww.getpantheon.comtwitter.com/pantheon_drupaltwitter.com/outlandishjosh

Monday, March 15, 2010

“The Cloud” Is...

Monday, March 15, 2010

2009’s Top Buzzword

Monday, March 15, 2010

Hand-Waver Hype

Monday, March 15, 2010

“Scaling Silver Bullet”

Monday, March 15, 2010

When something sounds too good to be true...

It probably is.

Monday, March 15, 2010

Just Say No

Monday, March 15, 2010

“The Cloud” really is...

Monday, March 15, 2010

Hosting!

Monday, March 15, 2010

Specifically, it’s a new model for hosting.

Monday, March 15, 2010

Traditional hosting=

Real estate

Monday, March 15, 2010

Most real estate consumers are

renters.

Few love their landlord.

Monday, March 15, 2010

Owning comes with lots of responsibilities

and hidden costs.

Monday, March 15, 2010

Large scale projects are expensive, slow,

and prone to setbacks.

Monday, March 15, 2010

“The Cloud”=

Hosting as service API

Monday, March 15, 2010

On-demand availability

Monday, March 15, 2010

Usage-based pricing(usually hourly)

Monday, March 15, 2010

Reliable, reusable start-states

Monday, March 15, 2010

The cloud is good!

Monday, March 15, 2010

Less waste

Monday, March 15, 2010

More freedom

Monday, March 15, 2010

But not a silver bullet!

Monday, March 15, 2010

Monday, March 15, 2010

Performance can vary

Monday, March 15, 2010

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

Monday, March 15, 2010

Abstractions aren’t the same as the real

thing

Monday, March 15, 2010

New tricks to learn

Monday, March 15, 2010

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

Monday, March 15, 2010

Start with pennies, scale to millions.

Monday, March 15, 2010

Create products (cheaply).

Monday, March 15, 2010

Grow organically, but still grow fast.

Monday, March 15, 2010

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

Should You Host In The Cloud?

(maybe you already are)

Monday, March 15, 2010

•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

Demo: Boot MercuryMonday, March 15, 2010

Managed Cloud Services (no root)

(limited language support)(no code!)

(generic)

Monday, March 15, 2010

Most Mature

Monday, March 15, 2010

Hungry Like The Wolf(a really big wolf)

Monday, March 15, 2010

Small, Brainy, Excellent Global CDN

Monday, March 15, 2010

And More Every Day...

Monday, March 15, 2010

VPS is Becoming Quite Cloudy

Monday, March 15, 2010

Linode

Monday, March 15, 2010

SliceHost (Rackspace)

Monday, March 15, 2010

VPS.net

Monday, March 15, 2010

And More Every Day...

Monday, March 15, 2010

Custom/Private Cloud Services

Monday, March 15, 2010

Cloud Value-Adders...

Monday, March 15, 2010

Cloud/Cluster Management Services

Monday, March 15, 2010

Cross-Cloud Services(and libcloud.org)

Monday, March 15, 2010

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

Monday, March 15, 2010

What Is It Good For?

Monday, March 15, 2010

Testing / Continuous Integration

Monday, March 15, 2010

Development Infrastructure

Monday, March 15, 2010

Products and Services

Monday, March 15, 2010

High Availability/Enterprise Hosting

Monday, March 15, 2010

Making This Crazy Dream Come True

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

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

Monday, March 15, 2010

24x7x365 infrastructure tends to be a wash in the

cloud

Monday, March 15, 2010

However: Don’t Underestimate Opportunity Cost

Monday, March 15, 2010

Easy Savings Are In Traffic Patterns

Monday, March 15, 2010

Burstable = Inexpensive Surge Protection

Monday, March 15, 2010

•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

•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

•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

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

Monday, March 15, 2010

•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

Comin Atcha!

Monday, March 15, 2010

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

Vision: From One Box to Cluster

Monday, March 15, 2010

We Have A Dream

Monday, March 15, 2010

Q & A!josh@chapterthree.com

twitter.com/pantheon_drupaltwitter.com/outlandishjosh

#drupalinthecloud

Monday, March 15, 2010