SlideShare a Scribd company logo
Hernâni Borges de Freitas
@hernanibf / hernani.pt

One Drupal to
Rule them all !
1
About me
•
•
•
•
•

2

.PT
Technical Team Lead PS
Drupal* many things
Twitter.com/hernanibf
Hernani.pt
One Drupal to rule them all
http://buytaert.net/one-drupal-to-rule-them-all

3
This presentation
 The challenge to manage a platform in
Drupal for sites with common business
features.
o Common software / common infrastructure.
o Launch new sites and introduce new features
with minimal downtime allowed per site.
o Share content/user data among sites.

4
First challenge
“In our university we have old sites for
our main departments and projects. We
want to start from scratch and rebuild a
single experience in Drupal. ”
• Similar look and feel.
• Similar backend / architecture / editorial
experience.
• Possible to reuse content / features
5
First question
What are several sites and what is a single
site?

One site == One Drupal site?
Many sites == Many Drupal sites?

6
Options
Single Drupal site
• Same code.
• Same database.
• Contributed modules
will recognize
contexts and create
sections inside the
site.
• Same infrastructure.
7

Many Drupal sites
• Same code (possibly
with some
differences).
• Different databases.
• Same infrastructure /
Different
infrastructure.
What’s the best?
It depends of:
-

-

8

Sites differences.
Shared
properties/info.
Predicted evolution.
Teams responsible
for
build/maintain/admin
.
Single Drupal site
Sections
Public Website
Maths Department

Sports Deparment

9
Single Drupal site
Solution based:
 A single Drupal installation.
 Divided in sections managed by different people.
 Sections can be created using different modules:
 OG
 Context
…

Mostly used for:
 Webs/Intranets with different sections /
departments.
 Sections with different publishing workflow.
10
Single Drupal site
Better fit for:
 Content shared amongst several sites.
 Similar user base / admin workflow.
 Small differences between sites in terms of
functionality.
 Similar look and feel.

Mostly used for:

11

 Webs/Intranets with different sections /
departments.
 Sites with sections with different publishing
workflow.
Single Drupal site
Example: Organic groups (OG)
 Groups define sections/sites.
 Content and users are associated with
groups.
 Users have different roles and permissions
within the group.
 Very good integration with
views, panels, rules
 Good suite of complementary modules
(og_theme, og_menu, workbench_og).
12
Many Drupal sites

Public
Website

Maths
Website

Same codebase

13

Sports
Website
Many Drupal sites
• Multisite installation
• Deployed separately
Solution based:
 Same code base.
 Different site installations (database).

14
Many Drupal Sites - Multisite
Advantages
• One codebase to maintain / update.
• Easier to reuse infrastructure.
• Lower memory utilization (APC).
• Simpler at all levels.
Drawbacks
• Single point of failure.
• Common maintenance windows.
• Harder to maintain differences in code (multiple
versions for same module).
15
Many Drupal sites - Different
codebases
Advantages
• Can be deployed in different locations.
• No single point of failure in infrastructure.
• Easier to support differences.

Drawbacks
• Harder to manage pushes of code to all sites.
• Need for a consistent process to manage updates
of code.
• As there can be more differences, harder to test.
16
Assuming you select the multiple site
route
“Marketing is demanding us to be able to spin up
new sites that are limited in functionality but
require minimal development time”.

“Operations is asking us for a standard
deployment/maintenance process for all of our
sites.

17
Meet the idea of factory of sites

18
Meet the idea of factory of sites
• Single codebase/distribution with enough
modules/features allowing customize sites
without touching code.
• Limited functionality (less is good).
• Easy to spin a new site in few minutes.
• Easy to update sites in the factory without
impacting full network.
• Easy to grow infrastructure by adding server
nodes where different sites are hosted.
19
Solutions working in this space
•
•
•
•

Custom solutions
Aegir – Started in 2007
Drupal Gardens – Launched in 2011
Acquia Cloud Site Factory – Launched in
2013
• Pantheon One – Launched in 2013

20
Custom solutions – All the work from
scratch
• Software (Drupal)
– Custom Drupal distribution with your modules/themes
– Installation profile to configure your new sites.

• Infrastructure
– CM tool to provision new servers in your platform
easily. Similar configuration between servers.
– Several environments ready (Dev->Staging->Prod)

• Management service
– Provision new sites and maintain existing ones.
– Deployment tools to deploy code from a central
location.
21
Custom solutions
Users/Visitors
Platform Admin

Management
Server

Load Balancer

Deploy
process

Apache/PHP
Memcache

Web1

Web2

Half size
Shared Storage

Staging

MySql
Active/Passive

Production

22
Custom solutions
• Everything should be created automatically:

24

– Sites components - Databases, disk directories and
virtual hosts:
– Server configuration - Config management (CM)
tools to provision and configure services
(puppet/chef..)
– Site installation - Drush site-install can install new
(multi)sites.
– Code Deployment - Capistrano / Drush deploy /
Custom scripts
– Management server – Controlling all the sites
(Custom)
Aegir
• Community project to control Drupal
hosting.
• Open source, Self Hosted.
• Hostmaster controls the websites in the
network.
• Aegir is responsible for controlling code
deployment, database creation, vhost
changes.
25
Aegir
Good
• Simple networks / small sites.
• It can be self hosted.
Drawbacks
• Using a Drupal site to manage infrastructure is
tricky.
• Install and configure Aegir is not straightforward.
• Deploy code to several servers is challenging.
• Migrating sites involves copy all the database, files
and code and swap the vhost (Hard to scale for
larger sites).
• Hard to support the concept of several
environments.

29
Drupalgardens.com
• Software as a Service (SaaS). Freely available !
• One distribution (gardens) provides a rich editing
experience (D7).
– Rich field types (Link, Date, Field
Collection), Wysiwyg, Media, Theme
editor, WebForms
– Create content through the Drupal Gardens iPhone
app.

• Multisite installation.
• Hosted in Amazon Web Services (AWS), easy to
grow and allocate more machines to the cluster.
30
Drupalgardens.com
• SSO using OpenId. Accounts controlled in
the gardener site.
• Not possible to add any code.
• No vendor lock-in. Possible to export
code/db/files.
• Pricing depending on features enabled
and bandwith consumed.

31
32
Acquia Cloud Site Factory
• Several distributions are available
(gardens, commons, commerce). New ones
can be created.
• Control Panel (Site Factory) controls all sites
in the network.
• Code is controlled from a GIT repository.
• Two environments are created
(production/sandboxes).
• Sites are created directly in production. Sites
can be cloned in sandbox for testing.
33
Acquia Cloud Site Factory
• SaaS
– Support and SLA on the software. Several
distributions available

• SaaS+
– Support and SLA on the software. Client can add
code audited by us.

• PaaS
– Support on the platform. Client can add any code
to the platform.
34
Acquia Site Factory
• Freedom to customize it to your needs
with your code.
• All features associated with Acquia Cloud
– Scalable with suupport included.
• Powering the largest networks of Drupal
websites in the world.

35
Demo
36
We are hiring!
•
•
•
•

37

Consultants
Support
Sales
Engineering
Questions?
@hernanibf / hernani.pt

38

More Related Content

What's hot (20)

PDF
Drupal content editor flexibility
hernanibf
 
PDF
My Site is slow - Drupal Camp London 2013
hernanibf
 
PPTX
72d5drupal
Mahesh Sherkar
 
KEY
Introduction to Drupal
sdmaxey
 
PPTX
Top 8 Improvements in Drupal 8
Angela Byron
 
PPTX
Anatomy and Architecture of a WordPress Theme
Julie Kuehl
 
PDF
WordPress as a CMS - Case Study of an Organizational Intranet
Tech Liminal
 
PPTX
Drupal Skils Lab 302Labs
Ahmad Mohamad Zain
 
PPTX
The WordPress University
Stephanie Leary
 
PDF
Drupal 7
Soni Amit K
 
PPT
Drupal - Introduction to Drupal and Web Content Management
Vibrant Technologies & Computers
 
PPT
Drupal - Introduction to Building Library Web Site Using Drupal
Vibrant Technologies & Computers
 
PDF
Introduction to Drupal Basics
Juha Niemi
 
PDF
Phase2 Large Drupal Multisites (gta case study)
Phase2
 
PDF
Evolution of Drupal and the Drupal community
Angela Byron
 
PDF
Zurb foundation
sean_todd
 
PDF
Drupal 8 - A Brief Introduction
Jeff Geerling
 
ODP
Drupal 7x Installation - Introduction to Drupal Concepts
Micky Metts
 
PPT
Drupal -Introduction to Drupal
Vibrant Technologies & Computers
 
Drupal content editor flexibility
hernanibf
 
My Site is slow - Drupal Camp London 2013
hernanibf
 
72d5drupal
Mahesh Sherkar
 
Introduction to Drupal
sdmaxey
 
Top 8 Improvements in Drupal 8
Angela Byron
 
Anatomy and Architecture of a WordPress Theme
Julie Kuehl
 
WordPress as a CMS - Case Study of an Organizational Intranet
Tech Liminal
 
Drupal Skils Lab 302Labs
Ahmad Mohamad Zain
 
The WordPress University
Stephanie Leary
 
Drupal 7
Soni Amit K
 
Drupal - Introduction to Drupal and Web Content Management
Vibrant Technologies & Computers
 
Drupal - Introduction to Building Library Web Site Using Drupal
Vibrant Technologies & Computers
 
Introduction to Drupal Basics
Juha Niemi
 
Phase2 Large Drupal Multisites (gta case study)
Phase2
 
Evolution of Drupal and the Drupal community
Angela Byron
 
Zurb foundation
sean_todd
 
Drupal 8 - A Brief Introduction
Jeff Geerling
 
Drupal 7x Installation - Introduction to Drupal Concepts
Micky Metts
 
Drupal -Introduction to Drupal
Vibrant Technologies & Computers
 

Viewers also liked (7)

PPT
Drupal Performance - SerBenfiquista.com Case Study
hernanibf
 
PDF
Obradoiro Drupal de 0 a 100 - Vigo 2015
Alberto Permuy Leal
 
PDF
Drupal8 : novedades y nuevas funcionalidades
Alberto Permuy Leal
 
PDF
A Cultura da Auga no proxecto Abeancos.gal
Alberto Permuy Leal
 
PPTX
Acquia Company Update on Drupal 8.2/8.3/OCTO
Angela Byron
 
PDF
El universo JavaScript en Drupal 8
Ymbra
 
PDF
Drupal Developer Days Keynote
Angela Byron
 
Drupal Performance - SerBenfiquista.com Case Study
hernanibf
 
Obradoiro Drupal de 0 a 100 - Vigo 2015
Alberto Permuy Leal
 
Drupal8 : novedades y nuevas funcionalidades
Alberto Permuy Leal
 
A Cultura da Auga no proxecto Abeancos.gal
Alberto Permuy Leal
 
Acquia Company Update on Drupal 8.2/8.3/OCTO
Angela Byron
 
El universo JavaScript en Drupal 8
Ymbra
 
Drupal Developer Days Keynote
Angela Byron
 
Ad

Similar to One Drupal to rule them all - Drupalcamp London (20)

PPTX
Drupal Solutions Comparison For Multiple Sites With Related Content - Acquia ...
Sumeet Pareek
 
KEY
Drupal PT Meetup Lisbon (December 2011)
Paulo Gomes
 
KEY
Drupal Meetup Lisbon
Paulo Gomes
 
PDF
Introduction to drupal
Pedro Cambra
 
PPTX
Introduction to drupal
Rachit Gupta
 
PDF
Fastest Way to DRUPAL
Brahm
 
PDF
Hong Kong Drupal User Group - Sep 13th
Wong Hoi Sing Edison
 
PPTX
Large Scale Drupal - Behind the Scenes
Boyan Borisov
 
PDF
Going from Zero to Sixty in Drupal with Acquia
Acquia
 
PDF
Recipes for Drupal distributions
Lakshmi Narasimhan Parthasarathy
 
PPTX
The Race To 50 Million Page Views
LogicworksNY
 
PDF
Creating a Reusable Drupal Website for Higher Education - at USG Tech Day
Suzanne Dergacheva
 
KEY
Choosing an Open Source CMS
Phase2
 
PDF
Drupal multisite
Ly Phuong
 
PPT
Doing Drupal: Quick Start Deployments via Distributions
Thom Bunting
 
PPTX
Promet.manila2011.selling drupal.
Promet Source
 
KEY
Drupal Gardens Overview
Acquia
 
PPT
Drupal Distributions
Anne Stefanyk
 
PDF
Drupal Recipe
hernanibf
 
PDF
Drupal in-depth
Kathryn Carruthers
 
Drupal Solutions Comparison For Multiple Sites With Related Content - Acquia ...
Sumeet Pareek
 
Drupal PT Meetup Lisbon (December 2011)
Paulo Gomes
 
Drupal Meetup Lisbon
Paulo Gomes
 
Introduction to drupal
Pedro Cambra
 
Introduction to drupal
Rachit Gupta
 
Fastest Way to DRUPAL
Brahm
 
Hong Kong Drupal User Group - Sep 13th
Wong Hoi Sing Edison
 
Large Scale Drupal - Behind the Scenes
Boyan Borisov
 
Going from Zero to Sixty in Drupal with Acquia
Acquia
 
Recipes for Drupal distributions
Lakshmi Narasimhan Parthasarathy
 
The Race To 50 Million Page Views
LogicworksNY
 
Creating a Reusable Drupal Website for Higher Education - at USG Tech Day
Suzanne Dergacheva
 
Choosing an Open Source CMS
Phase2
 
Drupal multisite
Ly Phuong
 
Doing Drupal: Quick Start Deployments via Distributions
Thom Bunting
 
Promet.manila2011.selling drupal.
Promet Source
 
Drupal Gardens Overview
Acquia
 
Drupal Distributions
Anne Stefanyk
 
Drupal Recipe
hernanibf
 
Drupal in-depth
Kathryn Carruthers
 
Ad

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
The Future of Artificial Intelligence (AI)
Mukul
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 

One Drupal to rule them all - Drupalcamp London

  • 1. Hernâni Borges de Freitas @hernanibf / hernani.pt One Drupal to Rule them all ! 1
  • 2. About me • • • • • 2 .PT Technical Team Lead PS Drupal* many things Twitter.com/hernanibf Hernani.pt
  • 3. One Drupal to rule them all http://buytaert.net/one-drupal-to-rule-them-all 3
  • 4. This presentation  The challenge to manage a platform in Drupal for sites with common business features. o Common software / common infrastructure. o Launch new sites and introduce new features with minimal downtime allowed per site. o Share content/user data among sites. 4
  • 5. First challenge “In our university we have old sites for our main departments and projects. We want to start from scratch and rebuild a single experience in Drupal. ” • Similar look and feel. • Similar backend / architecture / editorial experience. • Possible to reuse content / features 5
  • 6. First question What are several sites and what is a single site? One site == One Drupal site? Many sites == Many Drupal sites? 6
  • 7. Options Single Drupal site • Same code. • Same database. • Contributed modules will recognize contexts and create sections inside the site. • Same infrastructure. 7 Many Drupal sites • Same code (possibly with some differences). • Different databases. • Same infrastructure / Different infrastructure.
  • 8. What’s the best? It depends of: - - 8 Sites differences. Shared properties/info. Predicted evolution. Teams responsible for build/maintain/admin .
  • 9. Single Drupal site Sections Public Website Maths Department Sports Deparment 9
  • 10. Single Drupal site Solution based:  A single Drupal installation.  Divided in sections managed by different people.  Sections can be created using different modules:  OG  Context … Mostly used for:  Webs/Intranets with different sections / departments.  Sections with different publishing workflow. 10
  • 11. Single Drupal site Better fit for:  Content shared amongst several sites.  Similar user base / admin workflow.  Small differences between sites in terms of functionality.  Similar look and feel. Mostly used for: 11  Webs/Intranets with different sections / departments.  Sites with sections with different publishing workflow.
  • 12. Single Drupal site Example: Organic groups (OG)  Groups define sections/sites.  Content and users are associated with groups.  Users have different roles and permissions within the group.  Very good integration with views, panels, rules  Good suite of complementary modules (og_theme, og_menu, workbench_og). 12
  • 14. Many Drupal sites • Multisite installation • Deployed separately Solution based:  Same code base.  Different site installations (database). 14
  • 15. Many Drupal Sites - Multisite Advantages • One codebase to maintain / update. • Easier to reuse infrastructure. • Lower memory utilization (APC). • Simpler at all levels. Drawbacks • Single point of failure. • Common maintenance windows. • Harder to maintain differences in code (multiple versions for same module). 15
  • 16. Many Drupal sites - Different codebases Advantages • Can be deployed in different locations. • No single point of failure in infrastructure. • Easier to support differences. Drawbacks • Harder to manage pushes of code to all sites. • Need for a consistent process to manage updates of code. • As there can be more differences, harder to test. 16
  • 17. Assuming you select the multiple site route “Marketing is demanding us to be able to spin up new sites that are limited in functionality but require minimal development time”. “Operations is asking us for a standard deployment/maintenance process for all of our sites. 17
  • 18. Meet the idea of factory of sites 18
  • 19. Meet the idea of factory of sites • Single codebase/distribution with enough modules/features allowing customize sites without touching code. • Limited functionality (less is good). • Easy to spin a new site in few minutes. • Easy to update sites in the factory without impacting full network. • Easy to grow infrastructure by adding server nodes where different sites are hosted. 19
  • 20. Solutions working in this space • • • • Custom solutions Aegir – Started in 2007 Drupal Gardens – Launched in 2011 Acquia Cloud Site Factory – Launched in 2013 • Pantheon One – Launched in 2013 20
  • 21. Custom solutions – All the work from scratch • Software (Drupal) – Custom Drupal distribution with your modules/themes – Installation profile to configure your new sites. • Infrastructure – CM tool to provision new servers in your platform easily. Similar configuration between servers. – Several environments ready (Dev->Staging->Prod) • Management service – Provision new sites and maintain existing ones. – Deployment tools to deploy code from a central location. 21
  • 22. Custom solutions Users/Visitors Platform Admin Management Server Load Balancer Deploy process Apache/PHP Memcache Web1 Web2 Half size Shared Storage Staging MySql Active/Passive Production 22
  • 23. Custom solutions • Everything should be created automatically: 24 – Sites components - Databases, disk directories and virtual hosts: – Server configuration - Config management (CM) tools to provision and configure services (puppet/chef..) – Site installation - Drush site-install can install new (multi)sites. – Code Deployment - Capistrano / Drush deploy / Custom scripts – Management server – Controlling all the sites (Custom)
  • 24. Aegir • Community project to control Drupal hosting. • Open source, Self Hosted. • Hostmaster controls the websites in the network. • Aegir is responsible for controlling code deployment, database creation, vhost changes. 25
  • 25. Aegir Good • Simple networks / small sites. • It can be self hosted. Drawbacks • Using a Drupal site to manage infrastructure is tricky. • Install and configure Aegir is not straightforward. • Deploy code to several servers is challenging. • Migrating sites involves copy all the database, files and code and swap the vhost (Hard to scale for larger sites). • Hard to support the concept of several environments. 29
  • 26. Drupalgardens.com • Software as a Service (SaaS). Freely available ! • One distribution (gardens) provides a rich editing experience (D7). – Rich field types (Link, Date, Field Collection), Wysiwyg, Media, Theme editor, WebForms – Create content through the Drupal Gardens iPhone app. • Multisite installation. • Hosted in Amazon Web Services (AWS), easy to grow and allocate more machines to the cluster. 30
  • 27. Drupalgardens.com • SSO using OpenId. Accounts controlled in the gardener site. • Not possible to add any code. • No vendor lock-in. Possible to export code/db/files. • Pricing depending on features enabled and bandwith consumed. 31
  • 28. 32
  • 29. Acquia Cloud Site Factory • Several distributions are available (gardens, commons, commerce). New ones can be created. • Control Panel (Site Factory) controls all sites in the network. • Code is controlled from a GIT repository. • Two environments are created (production/sandboxes). • Sites are created directly in production. Sites can be cloned in sandbox for testing. 33
  • 30. Acquia Cloud Site Factory • SaaS – Support and SLA on the software. Several distributions available • SaaS+ – Support and SLA on the software. Client can add code audited by us. • PaaS – Support on the platform. Client can add any code to the platform. 34
  • 31. Acquia Site Factory • Freedom to customize it to your needs with your code. • All features associated with Acquia Cloud – Scalable with suupport included. • Powering the largest networks of Drupal websites in the world. 35

Editor's Notes

  • #37: Drush site aliases in both sites