Drupal in the cloud with Windows Azure

4,577 views
4,417 views

Published on

Current state of implementation for Drupal with Windows Azure, Azure Blob Storage, CDN, and Sql Azure

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
4,577
On SlideShare
0
From Embeds
0
Number of Embeds
966
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Drupal in the cloud with Windows Azure

  1. 1. Drupal in the Cloud<br />Jim Salem<br />Josh Koenig<br />Pierre Couzy<br />#drupalinthecloud<br />Brought to you by Adam Hansen<br />
  2. 2. Azure & Drupal(work in progress)<br />Pierre Couzy – Microsoft<br />pierre.couzy@microsoft.com<br />
  3. 3. Azure - where<br />
  4. 4. Azure - what<br />Data Center<br />Browser<br />Hosted Service<br />Worker Service<br />Worker Role<br />LB<br />Tables<br />CDN<br />Storage<br />Web Site<br />(ASPX, ASMX, WCF)<br />Web Site<br />(ASPX, ASMX, WCF)<br />Web Role<br />Queue<br />LB<br />Blobs<br />
  5. 5. Quick facts<br />Whoisworking on this ?<br />Microsoft & Commerce Guys<br />Wherecan I findit ?<br />On d.o<br />Whencan I use it ?<br />Shouldbecompletebeforesummer<br />How can I test on Azure ?<br />Try « azure one monthpass » in yoursearchengine<br />
  6. 6. Provisioning the web farm<br />Azure basic deployment unit is a Role<br />Application package (drupal in our case)<br />Size of machines<br />Number of machines<br />Firewall configuration<br />A drupal package is<br />PHP runtime & configuration<br />Drupal code<br />Deployment-specific settings<br />
  7. 7.
  8. 8. Relational data go to Sql Azure<br />Highlyavailable, pay per volume<br />10$/month/Gb<br />Currentimplementation uses Sql Azure for<br />Sessions,<br />Queues,<br />Caches,<br />Locks,<br />Fields <br />Some of thesewill change<br />
  9. 9.
  10. 10.
  11. 11.
  12. 12. If you *really* wantMySql on Azure<br />VIP<br />VIP<br />VIP<br />Load Balancer<br />Load Balancer<br />Load Balancer<br />M<br />S<br />S<br />MySQL<br />MySQL<br />MySQL<br />MySQL<br />MySQL<br />MySQL<br />Doable, but you’ll manage a lot of moving parts. Seehttp://bit.ly/93Jgib<br />
  13. 13. Other content goes to Blob storage<br />Highlyscalable<br />Stream wrapper API available for PHP<br />Specialcredits to DamZ for ironingthis<br />Some concepts differfromfilesystem<br />2-level structure (container+blob)<br />Extended Metadataavailable<br />Security isdonedifferently<br />
  14. 14.
  15. 15. Using blob storage<br />
  16. 16. Performance tuning<br />You can use the usual suspects<br />APC/Wincache for local caching<br />Redis/Memcache for distributedcaching<br />There’salso a CDN in Azure<br />Untilyesterday, hooked up to blob storage<br />Now usable on Azure Roles (web farms)<br />Will honourcaching headers fromdynamic content<br />Understandshttps<br />Understandsquery string<br />
  17. 17.
  18. 18.
  19. 19.
  20. 20. Where are wenow ?<br />Sql Azure driver : done<br />Blob storage module : in progress<br />Needs to plug in the CDN<br />Leverage the authorizationmechanism<br />Deployment & updates : justbeginning<br />Azure has instant-switchbetweenstaging & prod<br />Plus hot database backups<br />We’relookingatotherprojects to help<br />
  21. 21.
  22. 22. What did you think?<br />Locate this session on the DCC website:<br />http://chicago2011.drupal.org/sessions<br />Click the “Take the Survey” link.<br />Thanks!<br />

×