Skip to main content


Over recent years ‘DevOps’ has become a complicated and convoluted world. There are now so many combinations of services and infrastructure that require experts and dedicated frameworks to design, build and maintain them.

The purpose of this document is to show you that you can achieve scalable, reliable and dependable CI/CD workflows with minimal effort and skill.

Although the ‘app’ we’re focussing on is Drupal, this tutorial could be easily extrapolated to any other type of app or dev framework.

Other than the Drupal codebase, only 3 other services will be used throughout this tutorial.

  • Bitbucket - Code repository & pipelines to trigger testing and deployment
  • Docker - Containers will be used for development, testing and deployment.
  • AWS - Hosting


That’s right, no Kubernetes, no TerraForm, no Jenkins etc etc.

In terms of hosting, as we are going ‘serverless’, we will be using AWS Fargate to host the NGINX+PHP docker container and RDS Aurora for the database. In our example we are also using Elasticsearch but this is optional. You could also add managed Memcached instances and such if required. Persistent files will be stored using Elastic File Store (EFS).

Infrastructure design CI/CD serverless Drupal


There are quite a lot of steps in this tutorial, but believe me, there isn't as many steps as I actually took using trial-and-error. I'm hoping the little 'gotchas' and important notes I've added will be greatly valued so that you don't make the same mistakes I did!

Next section: Local setup

For more information on this topic, to ask questions, or to find out how we might be able to help you.

Please feel free to email:



Want to join our team?

Copyright © City Web Consultants Ltd. 2017. All Rights Reserved
Company number: 27234161

Want to start something?

Fantastic! We'd love to hear from you, whethere it's a pitch, an idea or just saying hello!

Feel free to get in touch.


Drop us an email?


Or give us a call?

+44 (0) 191 691 1296


Playing hard to get? We'll contact you