48

Cloud Computing with Drupal

Embed Size (px)

DESCRIPTION

From workhabit.com -- You've heard all the hype about cloud computing, now learn how to use it. We'll show some examples of cloud hosting providers, cloud management tools, and other cloud related services. Using Amazon EC2 as an example, we'll talk about special considerations for running Drupal on cloud providers and talk about autoscaling, self-healing clusters, and high availability. Finally, we'll demonstrate how to install Drupal on Amazon EC2 using Amazon's new persistent storage engine, Elastic Block Store.

Citation preview

Page 1: Cloud Computing with Drupal
Page 2: Cloud Computing with Drupal

What’s a cloud?

Page 3: Cloud Computing with Drupal

Platform as a Service

Page 4: Cloud Computing with Drupal
Page 5: Cloud Computing with Drupal
Page 6: Cloud Computing with Drupal
Page 7: Cloud Computing with Drupal
Page 8: Cloud Computing with Drupal

Infrastructure as a Service

Page 9: Cloud Computing with Drupal
Page 10: Cloud Computing with Drupal
Page 11: Cloud Computing with Drupal
Page 12: Cloud Computing with Drupal

Why a Cloud?

Page 13: Cloud Computing with Drupal

Running on the Cloud

Page 14: Cloud Computing with Drupal

Cloud servers are ephemeral

Page 15: Cloud Computing with Drupal

When they go away, so does your data

Page 16: Cloud Computing with Drupal

You need to plan to fail

Page 17: Cloud Computing with Drupal

You need to keep your data safe

Page 18: Cloud Computing with Drupal

Backup and Restore

Page 19: Cloud Computing with Drupal

Store it on S3 with Fuse & S3fs

Page 20: Cloud Computing with Drupal

Store it on S3 with PersistentFS

Page 21: Cloud Computing with Drupal

Store it on S3 with ElasticDrive

Page 22: Cloud Computing with Drupal

Elastic Block Store

• 1GB - 1TB persistent storage

• High Performance• Snapshot to S3 for

backup• $0.15/GB storage,

$0.10 per million I/O

Page 23: Cloud Computing with Drupal

Can only mount to a single instance

Page 24: Cloud Computing with Drupal

Amazon has different instance types

Page 25: Cloud Computing with Drupal

Bandwidth

• Network and disk usage is shared• Larger instance type provide more I/O• Based on our experience, a small instance has

1/3 to 1/2 the bandwidth of an XL

Page 26: Cloud Computing with Drupal

How can you offer high availability?

Page 27: Cloud Computing with Drupal

Similar to HA on hardware

Page 28: Cloud Computing with Drupal

If you have a single server...

Page 29: Cloud Computing with Drupal

when it dies, so does your site

Page 30: Cloud Computing with Drupal

So you need two of everything

Page 31: Cloud Computing with Drupal

You need enough to cover your traffic, plus one extra

Page 32: Cloud Computing with Drupal

Otherwise if it fails

Page 33: Cloud Computing with Drupal
Page 34: Cloud Computing with Drupal

On clouds this is easy

Page 35: Cloud Computing with Drupal
Page 36: Cloud Computing with Drupal

You need a heartbeat

Page 37: Cloud Computing with Drupal

Databases are special

Page 38: Cloud Computing with Drupal

Masters and slaves and replication

Page 39: Cloud Computing with Drupal

And where do you keep your /files?

Page 40: Cloud Computing with Drupal
Page 41: Cloud Computing with Drupal

Andwhathappenswhenyouhitthis?

Youneedtobuycapacityforthislevel

Page 42: Cloud Computing with Drupal

Andwhathappenswhenyouhitthis?

Youneedtobuycapacityforthislevel

Eventhoughmostofyourtrafficislikethis

Page 43: Cloud Computing with Drupal

Andwhathappenswhenyouhitthis?

Andwhathappenswhenyouhitthis?

Page 44: Cloud Computing with Drupal

World’s shortest sales pitch:

Oh, yeah. We offer it too.

Page 45: Cloud Computing with Drupal
Page 46: Cloud Computing with Drupal
Page 47: Cloud Computing with Drupal
Page 48: Cloud Computing with Drupal

Adam KalseyVP of [email protected]://workhabit.com/