Cloud DrivenDevelopmenta better workflow, less worries, and more powerPeter Vanhee20th October 2012 - DrupalCamp Spain
Who am I?‣ Consumer and contributor to Drupal for over 6 years  @pvhee‣ Co-founder Marzee Labs @marzeelabs, a web shop  fr...
The Cloud“The cloud has given has us the ability to providenearly limitless, on-demand resources to speed upour web develo...
For me?Photo from Flickr by Abode of Chaos
The Cloud
Is that enough?
Enter PaaS‣ “Platform-as-a-service”‣ Yet another service built on top of the cloud‣ Provides a computing platform and a so...
Know any?
Paas for Drupal
In general, Drupal PaaS offer‣ Different environments. Typically a development,  staging and production environment‣ Code ...
More good stuff‣ one-click installs of Drupal distributions‣ they teach you awesome developer processes
Disadvantages?‣ Difficult to break away from the standard setup‣ Not always shell access - and shell in generally  very li...
Cuts most of the deals
Enter Cloud Driven       Development“Cloud Driven Development puts the fun back into   your Drupal development and deploym...
Cloud Driven Development Modeladev          b    test       c      live             u    local
Cloud Driven Development Model             for your Team              a    devu   local                         u    local
Cloud Driven Development Model                  with the Client          b      test     c     liveRevise new features    ...
Cloud Driven Development Model       for Everyone Else          c    live
Cloud Driven Development Model                          t                        t     a        dev                       ...
The Ingredients             for Cloud DD                      Drush+    “exportables”
Demo using Pantheon         Free developer tier at http://getpantheon.com
Spinning up a new site
Go u local> git clone git@* drupalcamp_spain
At Marzee Labs we maintain our own        Drupal distribution ‣ contains modules and sandboxes we always use ‣ has some fe...
Make our site> drush make --no-core profiles/mz/mz.make .
From u local to adev> git add -A .> git commit -m "Built site from MZ"> git push origin master
Install your site on   adev
Install your site (2)
Pantheon Dashboard             From http://getpantheon.com
A typical development flow          ‣ pull the database from the dev/test/live environment *          ‣ drush dl awesome_m...
First: get your drush aliasesfrom   ulocal                       to> drush @pantheon.dcspain.dev       a   dev> drush @pan...
Deploy on adev> git push origin master> drush @pantheon.dcspain.dev updatedb> drush @pantheon.dcspain.dev fra> drush @pant...
Deploy on btest
Hello Pandarus‣ A drupal sandbox* by wodenx‣ For command-line freaks‣ Deploy via command-line‣ Syncronize databases and fi...
Deploy faster with Pandarus  > drush pan-deploy test
Syncing database and files         never was easier> drush rsync  @pantheon.dcspain.dev:%files  @self:%files> drush pan-sq...
Pre-launch dev cycle         ta  dev         gn              b   test         t    gn              u   local
Going Live        tbtest   gn   c   live
Searching like a pro
Caching like a boss‣ varnish / nginx - for anonymous users‣ redis - for authenticated users
Scale!         From http://getpantheon.com
Site Profiling
Ou Yeah.. there is more‣ Drupal core updates‣ On-server development - hot fixes directly on the  server
Things to look out for‣ Drupal 8 and the CMI: will make exportables much better  (think: bye-bye Features)‣ More command-l...
Thanks!http://marzeelabs.org   @marzeelabs
Cloud Driven Development: a better workflow, less worries, and more power
Upcoming SlideShare
Loading in …5
×

Cloud Driven Development: a better workflow, less worries, and more power

1,641
-1

Published on

Platform-as-a-service (PaaS) solutions have recently sprung up for Drupal, with Pantheon and Acquia Dev Cloud leading the race. The advantages are plentiful: zero set-up costs, instant upscaling, the use of powerful services such as Apache Solr, Varnish, Redis/Memcached, automated Drupal core updates, site profiling tools, etc.

In this session, I’ll make Drupal developers familiar with PaaS, and show the concepts of “Cloud-driven development” to speed up development and deployment processes. I will show how to use your local, development, test and production environments to organize your Drupal development, and push changes back and forth using Git, Features and Drush, eliminating the need to share the database and pushing changes exclusively via code. Finally, Drush will make your deployment a breeze.

With the free developer subscription of Pantheon and a series of Drush commands and scripts, you will be able to start developing and deploying your own Drupal projects in the cloud, and never again worry about your server. After all, you are a Drupal Developer, not a System Administrator!

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,641
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
29
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

Cloud Driven Development: a better workflow, less worries, and more power

  1. 1. Cloud DrivenDevelopmenta better workflow, less worries, and more powerPeter Vanhee20th October 2012 - DrupalCamp Spain
  2. 2. Who am I?‣ Consumer and contributor to Drupal for over 6 years @pvhee‣ Co-founder Marzee Labs @marzeelabs, a web shop from Barcelona‣ http://marzeelabs.org
  3. 3. The Cloud“The cloud has given has us the ability to providenearly limitless, on-demand resources to speed upour web development and deployment processes”
  4. 4. For me?Photo from Flickr by Abode of Chaos
  5. 5. The Cloud
  6. 6. Is that enough?
  7. 7. Enter PaaS‣ “Platform-as-a-service”‣ Yet another service built on top of the cloud‣ Provides a computing platform and a solution stack Source: Wikipedia
  8. 8. Know any?
  9. 9. Paas for Drupal
  10. 10. In general, Drupal PaaS offer‣ Different environments. Typically a development, staging and production environment‣ Code repository, e.g. git‣ On-demand resources‣ Specialty services for search, caching, performance optimization, etc.‣ A lot of automation of the tools you typically use (or want to) when building Drupal sites
  11. 11. More good stuff‣ one-click installs of Drupal distributions‣ they teach you awesome developer processes
  12. 12. Disadvantages?‣ Difficult to break away from the standard setup‣ Not always shell access - and shell in generally very limited‣ Cannot install just anything
  13. 13. Cuts most of the deals
  14. 14. Enter Cloud Driven Development“Cloud Driven Development puts the fun back into your Drupal development and deployment”
  15. 15. Cloud Driven Development Modeladev b test c live u local
  16. 16. Cloud Driven Development Model for your Team a devu local u local
  17. 17. Cloud Driven Development Model with the Client b test c liveRevise new features Work on content
  18. 18. Cloud Driven Development Model for Everyone Else c live
  19. 19. Cloud Driven Development Model t t a dev gn b test gn c live t gn u localt code moves from left to rightg files and n database move from right to left
  20. 20. The Ingredients for Cloud DD Drush+ “exportables”
  21. 21. Demo using Pantheon Free developer tier at http://getpantheon.com
  22. 22. Spinning up a new site
  23. 23. Go u local> git clone git@* drupalcamp_spain
  24. 24. At Marzee Labs we maintain our own Drupal distribution ‣ contains modules and sandboxes we always use ‣ has some features we always need ‣ has smart settings preconfigured mz/mz.make mz/mz.profile mz/mz.install mz/mz.info
  25. 25. Make our site> drush make --no-core profiles/mz/mz.make .
  26. 26. From u local to adev> git add -A .> git commit -m "Built site from MZ"> git push origin master
  27. 27. Install your site on adev
  28. 28. Install your site (2)
  29. 29. Pantheon Dashboard From http://getpantheon.com
  30. 30. A typical development flow ‣ pull the database from the dev/test/live environment * ‣ drush dl awesome_module ‣ configure and export ‣ enable the module, in our site feature* if you follow a real database-free development flow, you should do this only once at the beginning
  31. 31. First: get your drush aliasesfrom ulocal to> drush @pantheon.dcspain.dev a dev> drush @pantheon.dcspain.test b test> drush @pantheon.dcspain.live c live
  32. 32. Deploy on adev> git push origin master> drush @pantheon.dcspain.dev updatedb> drush @pantheon.dcspain.dev fra> drush @pantheon.dcspain.dev cc all
  33. 33. Deploy on btest
  34. 34. Hello Pandarus‣ A drupal sandbox* by wodenx‣ For command-line freaks‣ Deploy via command-line‣ Syncronize databases and files * http://drupal.org/sandbox/wodenx/1512788 soon to be a full d.o. project
  35. 35. Deploy faster with Pandarus > drush pan-deploy test
  36. 36. Syncing database and files never was easier> drush rsync @pantheon.dcspain.dev:%files @self:%files> drush pan-sql-sync @pantheon.dcspain.dev @self
  37. 37. Pre-launch dev cycle ta dev gn b test t gn u local
  38. 38. Going Live tbtest gn c live
  39. 39. Searching like a pro
  40. 40. Caching like a boss‣ varnish / nginx - for anonymous users‣ redis - for authenticated users
  41. 41. Scale! From http://getpantheon.com
  42. 42. Site Profiling
  43. 43. Ou Yeah.. there is more‣ Drupal core updates‣ On-server development - hot fixes directly on the server
  44. 44. Things to look out for‣ Drupal 8 and the CMI: will make exportables much better (think: bye-bye Features)‣ More command-line magic‣ More automation‣ Cloud Driven Development: the future for Drupal?
  45. 45. Thanks!http://marzeelabs.org @marzeelabs
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×