SlideShare une entreprise Scribd logo
1  sur  46
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

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
 

Tendances (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
 

En vedette

презентация театральна скринька
презентация театральна скринькапрезентация театральна скринька
презентация театральна скринька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
 

En vedette (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Dernier (20)

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

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?