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
 
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
 
PDF
Introduction to Cloud Computing (New)
Chathuranga Bandara
 
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
 
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
 
Introduction to Cloud Computing (New)
Chathuranga Bandara
 
Ad

Recently uploaded (20)

PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
July Patch Tuesday
Ivanti
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 

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?