SlideShare uma empresa Scribd logo
1 de 46
Baixar para ler offline
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
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

Mais conteúdo relacionado

Mais procurados

Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...
Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...
Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...Ted Won
 
Docker and DevOps --- new IT culture
Docker and DevOps --- new IT cultureDocker and DevOps --- new IT culture
Docker and DevOps --- new IT cultureTerry Chen
 
Docker - Lightweight Virtualization
Docker - Lightweight VirtualizationDocker - Lightweight Virtualization
Docker - Lightweight VirtualizationMehdi Hasan
 
Docker at Monoco.jp (LinkedIn)
Docker at Monoco.jp (LinkedIn)Docker at Monoco.jp (LinkedIn)
Docker at Monoco.jp (LinkedIn)Akhmad Fathonih
 
Solving Real World Production Problems with Docker
Solving Real World Production Problems with DockerSolving Real World Production Problems with Docker
Solving Real World Production Problems with DockerMarc Campbell
 
Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned  Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned RightScale
 
容器化後,持續交付不可缺的敲門磚 - Helm
容器化後,持續交付不可缺的敲門磚 - Helm容器化後,持續交付不可缺的敲門磚 - Helm
容器化後,持續交付不可缺的敲門磚 - HelmHung-Yen Chen
 
November 15 cloud bees clusterhq meetup fli, flockerhub, and jenkins
November 15 cloud bees clusterhq meetup   fli, flockerhub, and jenkinsNovember 15 cloud bees clusterhq meetup   fli, flockerhub, and jenkins
November 15 cloud bees clusterhq meetup fli, flockerhub, and jenkinsRyan Wallner
 
Docker meetup - PaaS interoperability
Docker meetup - PaaS interoperabilityDocker meetup - PaaS interoperability
Docker meetup - PaaS interoperabilityLudovic Piot
 
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...OpenShift Origin
 
Devfest 2021' - Artifact Registry Introduction (Taipei)
Devfest 2021' - Artifact Registry Introduction (Taipei)Devfest 2021' - Artifact Registry Introduction (Taipei)
Devfest 2021' - Artifact Registry Introduction (Taipei)KAI CHU CHUNG
 
Láďa Prskavec: Docker.io
Láďa Prskavec: Docker.ioLáďa Prskavec: Docker.io
Láďa Prskavec: Docker.ioDevelcz
 
I Just Want to Run My Code: Waypoint, Nomad, and Other Things
I Just Want to Run My Code: Waypoint, Nomad, and Other ThingsI Just Want to Run My Code: Waypoint, Nomad, and Other Things
I Just Want to Run My Code: Waypoint, Nomad, and Other ThingsMichael Lange
 
Learn docker in 90 minutes
Learn docker in 90 minutesLearn docker in 90 minutes
Learn docker in 90 minutesLarry Cai
 
BigTop vm and docker provisioner
BigTop vm and docker provisionerBigTop vm and docker provisioner
BigTop vm and docker provisionerEvans Ye
 

Mais procurados (20)

Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...
Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...
Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...
 
Docker and DevOps --- new IT culture
Docker and DevOps --- new IT cultureDocker and DevOps --- new IT culture
Docker and DevOps --- new IT culture
 
Docker - Lightweight Virtualization
Docker - Lightweight VirtualizationDocker - Lightweight Virtualization
Docker - Lightweight Virtualization
 
Docker at Monoco.jp (LinkedIn)
Docker at Monoco.jp (LinkedIn)Docker at Monoco.jp (LinkedIn)
Docker at Monoco.jp (LinkedIn)
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Solving Real World Production Problems with Docker
Solving Real World Production Problems with DockerSolving Real World Production Problems with Docker
Solving Real World Production Problems with Docker
 
Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned  Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned
 
容器化後,持續交付不可缺的敲門磚 - Helm
容器化後,持續交付不可缺的敲門磚 - Helm容器化後,持續交付不可缺的敲門磚 - Helm
容器化後,持續交付不可缺的敲門磚 - Helm
 
November 15 cloud bees clusterhq meetup fli, flockerhub, and jenkins
November 15 cloud bees clusterhq meetup   fli, flockerhub, and jenkinsNovember 15 cloud bees clusterhq meetup   fli, flockerhub, and jenkins
November 15 cloud bees clusterhq meetup fli, flockerhub, and jenkins
 
Docker meetup - PaaS interoperability
Docker meetup - PaaS interoperabilityDocker meetup - PaaS interoperability
Docker meetup - PaaS interoperability
 
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
 
R meetup 20161011v2
R meetup 20161011v2R meetup 20161011v2
R meetup 20161011v2
 
Docker.io
Docker.ioDocker.io
Docker.io
 
Devfest 2021' - Artifact Registry Introduction (Taipei)
Devfest 2021' - Artifact Registry Introduction (Taipei)Devfest 2021' - Artifact Registry Introduction (Taipei)
Devfest 2021' - Artifact Registry Introduction (Taipei)
 
Láďa Prskavec: Docker.io
Láďa Prskavec: Docker.ioLáďa Prskavec: Docker.io
Láďa Prskavec: Docker.io
 
Docker e git lab
Docker e git labDocker e git lab
Docker e git lab
 
Docker basic
Docker basicDocker basic
Docker basic
 
I Just Want to Run My Code: Waypoint, Nomad, and Other Things
I Just Want to Run My Code: Waypoint, Nomad, and Other ThingsI Just Want to Run My Code: Waypoint, Nomad, and Other Things
I Just Want to Run My Code: Waypoint, Nomad, and Other Things
 
Learn docker in 90 minutes
Learn docker in 90 minutesLearn docker in 90 minutes
Learn docker in 90 minutes
 
BigTop vm and docker provisioner
BigTop vm and docker provisionerBigTop vm and docker provisioner
BigTop vm and docker provisioner
 

Destaque

презентация театральна скринька
презентация театральна скринькапрезентация театральна скринька
презентация театральна скринькаdnz234
 
Ancient greece
Ancient greeceAncient greece
Ancient greecesreya90
 
Lesson 03 - Native English PPT
Lesson 03 - Native English PPTLesson 03 - Native English PPT
Lesson 03 - Native English PPTjdgieschen
 
семинар тарасенко и.а.
семинар тарасенко и.а.семинар тарасенко и.а.
семинар тарасенко и.а.Adenski
 
LR Уход за телом
LR Уход за телом LR Уход за телом
LR Уход за телом t575ae
 
12213217 pss7
12213217 pss712213217 pss7
12213217 pss7irenechau
 
LEVICK Weekly - Aug 3 2012
LEVICK Weekly - Aug 3 2012LEVICK Weekly - Aug 3 2012
LEVICK Weekly - Aug 3 2012LEVICK
 
Presentation1
Presentation1Presentation1
Presentation1oky_put13
 
Mali
MaliMali
MaliDWC_1
 
3 a cognitive heuristic model of community recognition final
3 a cognitive heuristic model of community recognition final3 a cognitive heuristic model of community recognition final
3 a cognitive heuristic model of community recognition finalAle Cignetti
 
Smespire at "Powered by INSPIRE" March 2013
Smespire at "Powered by INSPIRE" March 2013Smespire at "Powered by INSPIRE" March 2013
Smespire at "Powered by INSPIRE" March 2013smespire
 
het ABC van de sociale media
het ABC van de sociale mediahet ABC van de sociale media
het ABC van de sociale mediakwb_eensgezind
 
Activity 1
Activity 1Activity 1
Activity 1ahsuan01
 
G управление лидами
G управление лидамиG управление лидами
G управление лидамиAndrey Dovgan
 
Affordable Homes gurgaon
Affordable Homes gurgaonAffordable Homes gurgaon
Affordable Homes gurgaonshagungoel87
 
Samhandlingsprosjekt kols
Samhandlingsprosjekt kols Samhandlingsprosjekt kols
Samhandlingsprosjekt kols Lungenettet
 

Destaque (20)

презентация театральна скринька
презентация театральна скринькапрезентация театральна скринька
презентация театральна скринька
 
Royalties & Audits
Royalties & AuditsRoyalties & Audits
Royalties & Audits
 
Ancient greece
Ancient greeceAncient greece
Ancient greece
 
Lesson 03 - Native English PPT
Lesson 03 - Native English PPTLesson 03 - Native English PPT
Lesson 03 - Native English PPT
 
семинар тарасенко и.а.
семинар тарасенко и.а.семинар тарасенко и.а.
семинар тарасенко и.а.
 
LR Уход за телом
LR Уход за телом LR Уход за телом
LR Уход за телом
 
Il periodo ipotetico
Il periodo ipoteticoIl periodo ipotetico
Il periodo ipotetico
 
12213217 pss7
12213217 pss712213217 pss7
12213217 pss7
 
LEVICK Weekly - Aug 3 2012
LEVICK Weekly - Aug 3 2012LEVICK Weekly - Aug 3 2012
LEVICK Weekly - Aug 3 2012
 
Presentation1
Presentation1Presentation1
Presentation1
 
Las vacaciones
Las vacacionesLas vacaciones
Las vacaciones
 
Mali
MaliMali
Mali
 
3 a cognitive heuristic model of community recognition final
3 a cognitive heuristic model of community recognition final3 a cognitive heuristic model of community recognition final
3 a cognitive heuristic model of community recognition final
 
Smespire at "Powered by INSPIRE" March 2013
Smespire at "Powered by INSPIRE" March 2013Smespire at "Powered by INSPIRE" March 2013
Smespire at "Powered by INSPIRE" March 2013
 
het ABC van de sociale media
het ABC van de sociale mediahet ABC van de sociale media
het ABC van de sociale media
 
Activity 1
Activity 1Activity 1
Activity 1
 
G управление лидами
G управление лидамиG управление лидами
G управление лидами
 
Stampa unione
Stampa unione Stampa unione
Stampa unione
 
Affordable Homes gurgaon
Affordable Homes gurgaonAffordable Homes gurgaon
Affordable Homes gurgaon
 
Samhandlingsprosjekt kols
Samhandlingsprosjekt kols Samhandlingsprosjekt kols
Samhandlingsprosjekt kols
 

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

22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...Athens Big Data
 
Docker primer and tips
Docker primer and tipsDocker primer and tips
Docker primer and tipsSamuel Chow
 
DCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker ContainersDCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker ContainersDocker, Inc.
 
Docker and the Container Revolution
Docker and the Container RevolutionDocker and the Container Revolution
Docker and the Container RevolutionRomain Dorgueil
 
Grunt training deck
Grunt training deckGrunt training deck
Grunt training deckJames Ford
 
Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...
Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...
Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...Richard Bullington-McGuire
 
Depolying Drupal with Git, Drush Make and Capistrano
Depolying Drupal with Git, Drush Make and CapistranoDepolying Drupal with Git, Drush Make and Capistrano
Depolying Drupal with Git, Drush Make and Capistranolibsys
 
ContainerDayVietnam2016: Dockerize a small business
ContainerDayVietnam2016: Dockerize a small businessContainerDayVietnam2016: Dockerize a small business
ContainerDayVietnam2016: Dockerize a small businessDocker-Hanoi
 
Docker module 1
Docker module 1Docker module 1
Docker module 1Liang Bo
 
Lean Drupal Repositories with Composer and Drush
Lean Drupal Repositories with Composer and DrushLean Drupal Repositories with Composer and Drush
Lean Drupal Repositories with Composer and DrushPantheon
 
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...Srijan Technologies
 
The path to a serverless-native era with Kubernetes
The path to a serverless-native era with KubernetesThe path to a serverless-native era with Kubernetes
The path to a serverless-native era with Kubernetessparkfabrik
 
Drupal Extreme Scaling
Drupal Extreme ScalingDrupal Extreme Scaling
Drupal Extreme Scalingzekivazquez
 
20150425 experimenting with openstack sahara on docker
20150425 experimenting with openstack sahara on docker20150425 experimenting with openstack sahara on docker
20150425 experimenting with openstack sahara on dockerWei Ting Chen
 
Tech Talk: DevOps at LeanIX @ Startup Camp Berlin
Tech Talk: DevOps at LeanIX @ Startup Camp BerlinTech Talk: DevOps at LeanIX @ Startup Camp Berlin
Tech Talk: DevOps at LeanIX @ Startup Camp BerlinLeanIX GmbH
 
Developing Microservices Directly in AKS/Kubernetes
Developing Microservices Directly in AKS/KubernetesDeveloping Microservices Directly in AKS/Kubernetes
Developing Microservices Directly in AKS/KubernetesChakradhar Rao Jonagam
 
Containers without docker | DevNation Tech Talk
Containers without docker | DevNation Tech TalkContainers without docker | DevNation Tech Talk
Containers without docker | DevNation Tech TalkRed Hat Developers
 

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

22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
 
Docker primer and tips
Docker primer and tipsDocker primer and tips
Docker primer and tips
 
DCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker ContainersDCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker Containers
 
Docker and the Container Revolution
Docker and the Container RevolutionDocker and the Container Revolution
Docker and the Container Revolution
 
Grunt training deck
Grunt training deckGrunt training deck
Grunt training deck
 
Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...
Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...
Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...
 
Depolying Drupal with Git, Drush Make and Capistrano
Depolying Drupal with Git, Drush Make and CapistranoDepolying Drupal with Git, Drush Make and Capistrano
Depolying Drupal with Git, Drush Make and Capistrano
 
ContainerDayVietnam2016: Dockerize a small business
ContainerDayVietnam2016: Dockerize a small businessContainerDayVietnam2016: Dockerize a small business
ContainerDayVietnam2016: Dockerize a small business
 
Docker module 1
Docker module 1Docker module 1
Docker module 1
 
Lean Drupal Repositories with Composer and Drush
Lean Drupal Repositories with Composer and DrushLean Drupal Repositories with Composer and Drush
Lean Drupal Repositories with Composer and Drush
 
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...
 
The path to a serverless-native era with Kubernetes
The path to a serverless-native era with KubernetesThe path to a serverless-native era with Kubernetes
The path to a serverless-native era with Kubernetes
 
Drupal Extreme Scaling
Drupal Extreme ScalingDrupal Extreme Scaling
Drupal Extreme Scaling
 
20150425 experimenting with openstack sahara on docker
20150425 experimenting with openstack sahara on docker20150425 experimenting with openstack sahara on docker
20150425 experimenting with openstack sahara on docker
 
Docker for dev
Docker for devDocker for dev
Docker for dev
 
Tech Talk: DevOps at LeanIX @ Startup Camp Berlin
Tech Talk: DevOps at LeanIX @ Startup Camp BerlinTech Talk: DevOps at LeanIX @ Startup Camp Berlin
Tech Talk: DevOps at LeanIX @ Startup Camp Berlin
 
Deploy like a pro!
Deploy like a pro!Deploy like a pro!
Deploy like a pro!
 
Developing Microservices Directly in AKS/Kubernetes
Developing Microservices Directly in AKS/KubernetesDeveloping Microservices Directly in AKS/Kubernetes
Developing Microservices Directly in AKS/Kubernetes
 
Drupal local dev
Drupal local devDrupal local dev
Drupal local dev
 
Containers without docker | DevNation Tech Talk
Containers without docker | DevNation Tech TalkContainers without docker | DevNation Tech Talk
Containers without docker | DevNation Tech Talk
 

Último

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 

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
  • 23.
  • 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?