SlideShare a Scribd company logo
Cloud Driven
Development
a better workflow, less worries, and more power



Peter Vanhee
20th 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
  from Barcelona

‣ http://marzeelabs.org
The Cloud

“The cloud has given has us the ability to provide
nearly limitless, on-demand resources to speed up
our web development and deployment processes”
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 solution
  stack



                                             Source: Wikipedia
Know any?
Paas for Drupal
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
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 limited
‣ Cannot install just anything
Cuts most of the deals
Enter Cloud Driven
       Development

“Cloud Driven Development puts the fun back into
   your Drupal development and deployment”
Cloud Driven Development Model




adev          b    test       c      live




             u    local
Cloud Driven Development Model
             for your Team



              a    dev




u   local
                         u    local
Cloud Driven Development Model
                  with the Client




          b      test     c     live



Revise new features            Work on content
Cloud Driven Development Model
       for Everyone Else




          c    live
Cloud Driven Development Model


                          t                        t

     a        dev
                          gn
                                  b        test
                                                   gn
                                                        c   live


                           t
                                                       gn




                                 u         local
t code moves from left to right
g files and n database move from right to left
The Ingredients
             for Cloud DD




                      Drush
+




    “exportables”
Demo using Pantheon




         Free developer tier at http://getpantheon.com
Spinning up a new site
Cloud Driven Development: a better workflow, less worries, and more power
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 features we always need
 ‣ has smart settings preconfigured
              mz/mz.make
              mz/mz.profile
              mz/mz.install
              mz/mz.info
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_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
First: get your drush aliases


from   ulocal                       to
> drush @pantheon.dcspain.dev       a   dev


> drush @pantheon.dcspain.test
                                    b   test


> drush @pantheon.dcspain.live
                                    c   live
Deploy on adev

> git push origin master

> drush @pantheon.dcspain.dev updatedb

> drush @pantheon.dcspain.dev fra

> drush @pantheon.dcspain.dev cc all
Deploy on btest
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
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-sql-sync
  @pantheon.dcspain.dev @self
Pre-launch dev cycle
         t

a  dev
         gn
              b   test


         t    gn




              u   local
Going Live

        t

btest   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-line magic
‣ More automation
‣ Cloud Driven Development: the future for Drupal?
Thanks!
http://marzeelabs.org   @marzeelabs

More Related Content

What's hot (20)

PDF
Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...
Ted Won
 
PDF
Docker and DevOps --- new IT culture
Terry Chen
 
PDF
Docker - Lightweight Virtualization
Mehdi Hasan
 
PPTX
Docker at Monoco.jp (LinkedIn)
Akhmad Fathonih
 
PPTX
Introduction to docker
removed_b0e2342824f6227286f54ba461ebc0fe
 
PDF
Solving Real World Production Problems with Docker
Marc Campbell
 
PDF
Real-World Docker: 10 Things We've Learned
RightScale
 
PDF
容器化後,持續交付不可缺的敲門磚 - Helm
Hung-Yen Chen
 
PDF
November 15 cloud bees clusterhq meetup fli, flockerhub, and jenkins
Ryan Wallner
 
PDF
Docker meetup - PaaS interoperability
Ludovic Piot
 
ODP
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
OpenShift Origin
 
PDF
R meetup 20161011v2
Niels Ole Dam
 
PDF
Docker.io
Ladislav Prskavec
 
PDF
Devfest 2021' - Artifact Registry Introduction (Taipei)
KAI CHU CHUNG
 
PDF
Láďa Prskavec: Docker.io
Develcz
 
PPTX
Docker e git lab
Gianluca Padovani
 
PDF
Docker basic
Somenath Ghosh
 
PDF
I Just Want to Run My Code: Waypoint, Nomad, and Other Things
Michael Lange
 
PPTX
Learn docker in 90 minutes
Larry Cai
 
PPTX
BigTop vm and docker provisioner
Evans Ye
 
Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...
Ted Won
 
Docker and DevOps --- new IT culture
Terry Chen
 
Docker - Lightweight Virtualization
Mehdi Hasan
 
Docker at Monoco.jp (LinkedIn)
Akhmad Fathonih
 
Solving Real World Production Problems with Docker
Marc Campbell
 
Real-World Docker: 10 Things We've Learned
RightScale
 
容器化後,持續交付不可缺的敲門磚 - Helm
Hung-Yen Chen
 
November 15 cloud bees clusterhq meetup fli, flockerhub, and jenkins
Ryan Wallner
 
Docker meetup - PaaS interoperability
Ludovic Piot
 
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
OpenShift Origin
 
R meetup 20161011v2
Niels Ole Dam
 
Devfest 2021' - Artifact Registry Introduction (Taipei)
KAI CHU CHUNG
 
Láďa Prskavec: Docker.io
Develcz
 
Docker e git lab
Gianluca Padovani
 
Docker basic
Somenath Ghosh
 
I Just Want to Run My Code: Waypoint, Nomad, and Other Things
Michael Lange
 
Learn docker in 90 minutes
Larry Cai
 
BigTop vm and docker provisioner
Evans Ye
 

Viewers also liked (20)

PPT
презентация театральна скринька
dnz234
 
PDF
Royalties & Audits
Insight Licensing Services
 
DOC
Ancient greece
sreya90
 
PPT
Lesson 03 - Native English PPT
jdgieschen
 
PPT
семинар тарасенко и.а.
Adenski
 
PPT
LR Уход за телом
t575ae
 
PPTX
Il periodo ipotetico
Danilo Buccarello
 
PPTX
12213217 pss7
irenechau
 
PDF
LEVICK Weekly - Aug 3 2012
LEVICK
 
PPTX
Presentation1
oky_put13
 
PPTX
Las vacaciones
Andrea Linares
 
PPTX
Mali
DWC_1
 
KEY
3 a cognitive heuristic model of community recognition final
Ale Cignetti
 
PPT
Smespire at "Powered by INSPIRE" March 2013
smespire
 
PPTX
het ABC van de sociale media
kwb_eensgezind
 
PPT
Activity 1
ahsuan01
 
PPTX
G управление лидами
Andrey Dovgan
 
DOCX
Stampa unione
christian98
 
PDF
Affordable Homes gurgaon
shagungoel87
 
PPTX
Samhandlingsprosjekt kols
Lungenettet
 
презентация театральна скринька
dnz234
 
Royalties & Audits
Insight Licensing Services
 
Ancient greece
sreya90
 
Lesson 03 - Native English PPT
jdgieschen
 
семинар тарасенко и.а.
Adenski
 
LR Уход за телом
t575ae
 
Il periodo ipotetico
Danilo Buccarello
 
12213217 pss7
irenechau
 
LEVICK Weekly - Aug 3 2012
LEVICK
 
Presentation1
oky_put13
 
Las vacaciones
Andrea Linares
 
Mali
DWC_1
 
3 a cognitive heuristic model of community recognition final
Ale Cignetti
 
Smespire at "Powered by INSPIRE" March 2013
smespire
 
het ABC van de sociale media
kwb_eensgezind
 
Activity 1
ahsuan01
 
G управление лидами
Andrey Dovgan
 
Stampa unione
christian98
 
Affordable Homes gurgaon
shagungoel87
 
Samhandlingsprosjekt kols
Lungenettet
 
Ad

Similar to Cloud Driven Development: a better workflow, less worries, and more power (20)

KEY
Drupal PT Meetup Lisbon (December 2011)
Paulo Gomes
 
ZIP
Staging and Deployment
heyrocker
 
PDF
Code driven development in drupal
Andriy Yun
 
PDF
Cloud-Native Drupal: a survival guide
sparkfabrik
 
PDF
Modernize Your Drupal Development
Chris Tankersley
 
PDF
Yet Another Drupal Development/Deployment Presentation
digital006
 
PPTX
Cloud computing
Gopinath Manimayan
 
PDF
DevOps: Cooking Drupal Deployment
Gerald Villorente
 
PDF
Dipping Your Toes Into Cloud Native Application Development
Matthew Farina
 
KEY
Drupal In The Cloud
Jochen Lillich
 
KEY
Drupal Meetup Lisbon
Paulo Gomes
 
PDF
Devops For Drupal
Kris Buytaert
 
PPTX
Pantheon basics
Plasterdog Web Design
 
KEY
Depolying Drupal with Git, Drush Make and Capistrano
libsys
 
DOCX
What is Cloud Application Development.docx
Integrated IT Solutions
 
KEY
Rails Usergroup Hamburg: Heroku
Ralph von der Heyden
 
PDF
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...
Srijan Technologies
 
PDF
Hybird Cloud - An adoption roadmap
John Georgiadis
 
PDF
High Available Drupal
Bram Vogelaar
 
PDF
Recipes for Drupal distributions
Lakshmi Narasimhan Parthasarathy
 
Drupal PT Meetup Lisbon (December 2011)
Paulo Gomes
 
Staging and Deployment
heyrocker
 
Code driven development in drupal
Andriy Yun
 
Cloud-Native Drupal: a survival guide
sparkfabrik
 
Modernize Your Drupal Development
Chris Tankersley
 
Yet Another Drupal Development/Deployment Presentation
digital006
 
Cloud computing
Gopinath Manimayan
 
DevOps: Cooking Drupal Deployment
Gerald Villorente
 
Dipping Your Toes Into Cloud Native Application Development
Matthew Farina
 
Drupal In The Cloud
Jochen Lillich
 
Drupal Meetup Lisbon
Paulo Gomes
 
Devops For Drupal
Kris Buytaert
 
Pantheon basics
Plasterdog Web Design
 
Depolying Drupal with Git, Drush Make and Capistrano
libsys
 
What is Cloud Application Development.docx
Integrated IT Solutions
 
Rails Usergroup Hamburg: Heroku
Ralph von der Heyden
 
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...
Srijan Technologies
 
Hybird Cloud - An adoption roadmap
John Georgiadis
 
High Available Drupal
Bram Vogelaar
 
Recipes for Drupal distributions
Lakshmi Narasimhan Parthasarathy
 
Ad

Recently uploaded (20)

PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
The Future of Artificial Intelligence (AI)
Mukul
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 

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

  • 1. Cloud Driven Development a better workflow, less worries, and more power Peter Vanhee 20th October 2012 - DrupalCamp Spain
  • 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. The Cloud “The cloud has given has us the ability to provide nearly limitless, on-demand resources to speed up our web development and deployment processes”
  • 4. For me? Photo from Flickr by Abode of Chaos
  • 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
  • 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. More good stuff ‣ one-click installs of Drupal distributions ‣ they teach you awesome developer processes
  • 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. Cuts most of the deals
  • 14. Enter Cloud Driven Development “Cloud Driven Development puts the fun back into your Drupal development and deployment”
  • 15. Cloud Driven Development Model adev b test c live u local
  • 16. Cloud Driven Development Model for your Team a dev u local u local
  • 17. Cloud Driven Development Model with the Client b test c live Revise new features Work on content
  • 18. Cloud Driven Development Model for Everyone Else c live
  • 19. Cloud Driven Development Model t t a dev gn b test gn c live t gn u local t code moves from left to right g files and n database move from right to left
  • 20. The Ingredients for Cloud DD Drush + “exportables”
  • 21. Demo using Pantheon Free developer tier at http://getpantheon.com
  • 22. Spinning up a new site
  • 24. Go u local > git clone git@* drupalcamp_spain
  • 25. 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
  • 26. Make our site > drush make --no-core profiles/mz/mz.make .
  • 27. From u local to adev > git add -A . > git commit -m "Built site from MZ" > git push origin master
  • 28. Install your site on adev
  • 30. Pantheon Dashboard From http://getpantheon.com
  • 31. 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
  • 32. First: get your drush aliases from ulocal to > drush @pantheon.dcspain.dev a dev > drush @pantheon.dcspain.test b test > drush @pantheon.dcspain.live c live
  • 33. Deploy on adev > git push origin master > drush @pantheon.dcspain.dev updatedb > drush @pantheon.dcspain.dev fra > drush @pantheon.dcspain.dev cc all
  • 35. 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
  • 36. Deploy faster with Pandarus > drush pan-deploy test
  • 37. Syncing database and files never was easier > drush rsync @pantheon.dcspain.dev:%files @self:%files > drush pan-sql-sync @pantheon.dcspain.dev @self
  • 38. Pre-launch dev cycle t a dev gn b test t gn u local
  • 39. Going Live t btest gn c live
  • 41. Caching like a boss ‣ varnish / nginx - for anonymous users ‣ redis - for authenticated users
  • 42. Scale! From http://getpantheon.com
  • 44. Ou Yeah.. there is more ‣ Drupal core updates ‣ On-server development - hot fixes directly on the server
  • 45. 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?