Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Drupal In The Cloud


Published on

The secret is out – Drupal has become the ‘go-to’ open source software for the publication and management of website content. By pairing Drupal with cloud technologies there is a whole new world of user benefits well beyond scale and performance.

In this session, Bret Piatt, director, technical alliances at Rackspace Hosting will discuss how to best take advantage of cloud technologies with Drupal sites. The panel presentation will address:

• Leveraging the cloud ecosystem for managing configuration, code, and backups
• How to scale Drupal clusters by integrating with cloud APIs
• Enhancing site scale and performance by taking advantage of cloud file storage/CDN
• Cloud/Drupal success stories such as Chapter Three’s ( ) on Mercury, a Drupal PaaS built on The Rackspace Cloud’s Cloud Servers

  • Be the first to comment

Drupal In The Cloud

  1. 1. &<br />A Match Made in the CloudHow to best take advantage of the cloud for Drupal Sites<br />Bret Piatt<br />Community Stacker<br />
  2. 2. Why cloud?<br />“The Cloud” is hosting with an API<br />Programmers Like APIs!<br />Reliable, Reusable Start States<br />On Demand<br />Usage-based Pricing<br />
  3. 3. Where to begin? With Pantheon!<br />Stand on the Shoulders of Giants<br />Varnish<br />Apache HTTPD<br />APC Cache<br />Apache Solr<br />MySQL<br />Best in class, stable technology<br /><br />Pantheon<br />
  4. 4. Anonymous Love of Varnish<br />How much of your traffic is unauthenticated?<br />Why would you want to build the page each time?<br />Big spikes are typically unauthenticated..<br />When @aplusk tweets your site you’ll see this first<br />Having Varnish will give you time to react if tons of new people start registering..<br />
  5. 5. APC is the Way for Me<br />APC = speed for site rendering..<br />..memcached = scale for your database.<br />Source:<br />
  6. 6. Solr Power Keeps Us Warm<br />Faster and better..<br /> can have your cake and eat it too!<br />You’ll see a huge difference if search is.. <br />..a big part of your site load.<br />..a source of latency.<br />..a cause user frustration.<br />See more:<br />
  7. 7. Can we do this for real?<br />Live demo of installing and configuring Mercury on the Rackspace Cloud<br />
  8. 8. A 12 Step Program in 30Minutes<br />Boot server: Ubuntu 10.04 (Lucid Lynx), 512MB+ RAM recommended<br />Install updates<br />Install and configure BCFG2<br />Start the BCFG2 server<br />Start the BCFG2 client<br />Install Drush<br />Install Mercury<br />Install Apache Solr<br />Prepare Pressflow files and directories<br />Add Hudson to sudoers and restart it<br />Run the Mercury init Hudson job<br />Configure Pressflow<br />Details at:<br />
  9. 9. Cloud integrated drupal<br />Adding cloud to your application for increased scale and efficiency<br />
  10. 10. API, Make Me a New Server<br />PHP libraries can...<br />Authenticate<br />Check limits<br />List servers<br />List images<br />Make a new server<br />Reboot a server<br />Delete a server<br />Full list at: <br />
  11. 11. Cloud, Store My Images & Backups<br />Cloud Object Storage<br />Authenticate<br />Create private containers<br />Put backup in container<br />Create public containers<br />Put images in container<br />CDN enable container<br />Delete objects<br />Delete containers<br />Get this and more at <br />
  12. 12. What is openstack<br />A community effort to build the best fully open data center operating system<br />
  13. 13. OpenStack has a Mission<br />"To produce the ubiquitous Open Source cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable."<br />[Announced July 19th, 2010 and ratified by 25+ companies and 100+ community members]<br />
  14. 14. Open 4 Times, Not Just Once<br /><ul><li>Open Source: We are committed to creating truly open source software that is usable and scalable. Truly open source software is not feature or performance limited and is not crippledlicensed under Apache 2.0.
  15. 15. Open Design: Every 6 months the development community will hold a design summit to gather requirements and write specifications for the upcoming release.
  16. 16. Open Development: We will maintain a publicly available source code repository through the entire development process.  This will be hosted on Launchpad, the same community used by 100s of projects including the Ubuntu Linux distribution.
  17. 17. Open Community: Our core goal is to produce a healthy, vibrant development and user community.  Most decisions will be made using a lazy consensus model.  All processes will be documented, open and transparent.</li></li></ul><li>Current Infrastructure Projects<br />OpenStack Compute<br />REST-based API<br />Hardware agnostic - commodity hardware, RAID not required<br />Hypervisor agnostic - support for Xen and KVM in initial release<br />Horizontally scalable<br />Asynchronous eventually consistent communication<br />OpenStack Object Storage<br />Object store, Distributed, REST-based API, No central database<br />Hardware agnostic - commodity hardware, RAID not required<br />Account/Container/Object structure (not file system, no nesting)<br />Replication (N copies of accounts, containers, objects)<br />Data distributed evenly throughout system<br />Scalable to multiple petabytes, billions of objects<br />
  18. 18. Current Interface Projects<br />OpenStack Web Control Panel<br />Cappuccino framework<br />Ruby JSONP API proxy<br />OpenStack iPhone / iPad Control Panels<br />Mobile application management control panels<br />OpenStack Android Control Panel<br />Mobile server and storage management control panel<br />
  19. 19. How Can Drupalists Help?<br />Infrastructure software needs an interface<br />Drupal + APIs = world class control panel<br />More information at<br />Talk to @greenisus on Twitter<br />Project Lead for OpenStack Interfaces<br />Join IRC @ / #openstack<br />Get code @<br />
  20. 20. Q & A time begins now…<br />Thank you for joining us today to learn about cloud, Mercury, & OpenStack<br />Bret Piatt / Twitter: @bpiatt/ Email: <br />