cloud computing with drupal
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.TRANSCRIPT
What’s a cloud?
Platform as a Service
Infrastructure as a Service
Why a Cloud?
Running on the Cloud
Cloud servers are ephemeral
When they go away, so does your data
You need to plan to fail
You need to keep your data safe
Backup and Restore
Store it on S3 with Fuse & S3fs
Store it on S3 with PersistentFS
Store it on S3 with ElasticDrive
Elastic Block Store
• 1GB - 1TB persistent storage
• High Performance• Snapshot to S3 for
backup• $0.15/GB storage,
$0.10 per million I/O
Can only mount to a single instance
Amazon has different instance types
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
How can you offer high availability?
Similar to HA on hardware
If you have a single server...
when it dies, so does your site
So you need two of everything
You need enough to cover your traffic, plus one extra
Otherwise if it fails
On clouds this is easy
You need a heartbeat
Databases are special
Masters and slaves and replication
And where do you keep your /files?
Andwhathappenswhenyouhitthis?
Youneedtobuycapacityforthislevel
Andwhathappenswhenyouhitthis?
Youneedtobuycapacityforthislevel
Eventhoughmostofyourtrafficislikethis
Andwhathappenswhenyouhitthis?
Andwhathappenswhenyouhitthis?
World’s shortest sales pitch:
Oh, yeah. We offer it too.
Adam KalseyVP of [email protected]://workhabit.com/