13-15 March 2020

City, University London

Build infrastructure for a multi-site Decoupled Drupal solution using Terraform

Prerequisites
  • Basic understanding of decoupling a Drupal website
  • Basic understanding of JavaScript and front-end stack
  • Good understanding of server infrastructure, CDNs, and cloud infrastructure.
Session details

While hosting a Drupal website can be a challenge, it is largely a solved problem with several PaaS providers providing optimized Drupal hosting. Even if we didn’t want to use that, there is extensive documentation around best practices in hosting a PHP application or Drupal specifically.

In a Decoupled Drupal setup, we would need to even host the front-end application separately somewhere apart from Drupal. In this session, we will discuss how we hosted a “serverless” front-end application with multiple cloud providers available via a CDN while allowing it to access Drupal’s API endpoints on the edge (again with FaaS computing paradigm). We will also discuss developer constraints, security considerations, and website performance.

Further, we will also see how such an application can be provisioned multiple times in different regions of more than one cloud providers using Terraform. We will talk about using Terraform and writing wrapper scripts for Terraform to make it easier and more consistent to deploy infrastructure. Further, we will discuss how much of this setup can be automated considering enterprise security regulations, developer effectiveness, and customizations.

In this session, you will learn:

  • Plan your API contract across multiple websites in a multi-site Drupal setup.

  • Architect a “serverless” solution to serve the front-end with data retrieved via an API from Drupal.

  • Use Terraform to build this setup.

  • Run Terraform modules using a wrapper script or even via a CI tool.

  • Enterprise level security considerations such as IP whitelisting the access to Drupal server, firewall, granular access to cloud resources, etc.

Skill Level
Session Track

Sponsors

Diamond

Gold

Weekend Keynote Speakers

Kevin Bridges

DDEV, CTO

CxO Keynote Speakers

Michel van Velde

One Shoe, CEO

Nick Rhind

CTI Digital, CEO

Greg Harvey

Code Enigma, Director

Rachel Lawson

,

Carrie Lacina

,

Drupal apprentices

The best people to train new developers are developers

The Drupal Apprenticeship Scheme will be running a London intake in March. If you are interested in hiring an apprentice or know someone who would benefit from the scheme please get in touch via the link below.

  • Created and run by experienced developers
  • Teaches core skills and best practice
  • Extensive support for businesses and teams

We are also really keen to hear from people who might be interested in mentoring, training and helping us to develop and review training materials to make sure they stay absolutely current and relevant.

Find out more

Join the Drupal Association

The Drupal Association unites a global open source community to build and promote Drupal.

The Association is a not-for-profit organization that relies on individuals and businesses to fund everything they do for Drupal — from drupal.org to DrupalCon and community programs.

Connect with us and support our mission-driven work.

Support the Drupal Association

Hosting provided by

platform.sh