How to install Drupal 8 on Amazon EC2 Linux AMI

June 10, 2018

Drupal 8 is the leading open source enterprise Content Management System (CMS).

The following post outlines the steps necessary to install Drupal 8 on an Amazon Web Services EC2 instance.

Open using your favourite web browser

Launch an EC2 instance. I chose the following AMI

Amazon Linux AMI 2018.03.0 (PV) - ami-f40c388d

It is probably best to create a Security Group for Drupal so you can assign more ports later if necessary.

I experienced issues installing on a t1.micro instance type. The installation kept stalling and would not finish. I had to install on a m1.small and then change the instance type after installation.

SSH to your instance.

Updates may have been released since the AMI was created. To install the latest patches run the following command.

yum update

Install Apache 2.4

yum install httpd24

Now configure Apache so it starts when the instance boots.

/sbin/chkconfig httpd on

Apache is not started as part of the installation process. To start it enter the following:

service httpd start

Install MySQL 5.7

yum install mysql57-server

Now configure MySQL so its starts when the instance boots.

/sbin/chkconfig mysqld on

MySQL is not started as part of the installation process. To start it enter the following:

service mysqld start

Now that MySQL is installed and running it needs to be secured.


Follow the prompts.

Install PHP

yum install php71

Install PHP extensions

The PHP build comes with most of the necessary extensions, i.e. XML, JSON, Curl, etc.

To install the remaining necessary extensions

yum install php71-mysqlnd
yum install php71-gd
yum install php71-mbstring

Download Drupal 8.5.4

curl > drupal-8.5.4.tar.gz

Uncompress and untar

tar -zxvf drupal-8.5.4.tar

Install Drupal files

sudo rsync -avz . /var/www/html

In order for the installation to work some permissions need to be changed.

cd /var/www/html
chmod a+w sites/default
chown -R apache:apache /var/www/html

Configure web server

vi /etc/httpd/conf.d/drupal.conf

Insert the following into the file.

<VirtualHost *:80>
DocumentRoot /var/www/html

<Directory "/var/www/html">
AllowOverride All


Restart Apache to ensure setting changes picked up

service httpd restart

Install Drupal, setup database and configure

Open your favourite web browser and go to the site

Ignore opcode caching and continue

Database name = drupal
user = root
pass = password-you-set

Configure Drupal

Follow the prompts.

The installation is now complete! Open your favourite web browser and check the installation works.

Shopware Community Day 2017

June 11, 2017

We have just come back from Shopware Community Day 2017.

Shopware is an open source Ecommerce platform developed in PHP much like Magento. Like Magento paid versions are available, i.e. Professional and Enterprise.

Shopware has been around quite some time and has gained a lot of traction in German speaking companies with over 54,000 installs. They are now working hard to enter the UK market and take on Magento

Over 1600 people attended the Shopware Community Day in Germany on Thu/Fri.

TechHuddle is a partner of Shopware so if are looking for Shopware expertise / developers please contact us.

Shopware Offices

Wondering why we received drumsticks on registering

Shopware Key Note

Shopware 5.3 announced

How to apply for a job

January 17, 2017

We have been busy posting useful articles on the TechHuddle blog covering how to apply for a job.

If you are looking for a new job please check out these articles

CTO Meetup – JavaScript: One language to rule them all

November 4, 2016

On the 3rd of November TechHuddle hosted a CTO meetup on JavaScript: One language to rule them all.


Simon Wood the Associate Director of Architecture and Engineering at Holiday Extras gave an excellent presentation on the following:

  • JavaScript Language
    • History
    • Popularity
    • Standards
  • Single Page Web Apps
    • Backbone
    • Angular
    • Ember
    • React JS
    • Redux
    • JSX
    • Module Including/Bundling
      • RequireJS
      • Browserify
      • Webpack
    • Error Reporting
      • Sentry
      • Bugsnag
      • Airbrake
    • Analytics SEO
    • Security
  • Server Side JavaScript
    • NodeJS
    • Callback Hell
    • Promises
    • NPM
    • Challenges
  • Future of JavaScript

CTO meetup – Beyond IaaS / PaaS with Kubernetes

October 14, 2016

Last night TechHuddle hosted a CTO meetup on Beyond IaaS and PaaS with Kubernetes.


Mark White from Codec gave the presentation.

Mark gave a detailed overview of Kubernetes, a project from Google that provides a way to host your applications and services on any hosting provider that combines the best of both worlds of IaaS and PaaS. He talked about the features it brings and the ecosystem that’s building up around it – but with no such thing as a free lunch, he also highlighted the downsides and areas where it’s still immature.

  • Introduction to Mark White
  • Kubernetes flash demo – creating and deploying an app
  • Summary of IaaS vs PaaS
  • How Kubernetes/Container engine fit in and provides the best of both worlds
  • Brief introduction to Docker/containers
  • Google Borg and Kubernetes history
  • Introduction to Kubernetes architecture
  • Kubernetes features
    • Internal load balancing (services)
    • Logging
    • External load balancing (ingress)
    • Persistent storage
    • CPU/RAM limits
    • Autoscaling
    • Kubernetes package management with helm
    • Monitoring (inc. a brief mention of Prometheus and Sysdig Cloud)
  • Kubernetes compared to:
    • Amazon Elastic Container Service
    • Apache Mesos / Marathon
  • Alternative hosting options to Google Container Engine
  • Issues with Kubernetes
  • Q&A

TechHuddle Tour de Bulgaria from Sofia to Thasos

September 15, 2016

Last week we completed our annual cycle challenge by cycling from Sofia, Bulgaria to Thasos, Greece.







You can find more photos here

CTO meetup – APIs are eating the world

August 11, 2016

Last night TechHuddle hosted a CTO meetup on APIs are eating the world.

Simon Wood from Holiday Extras gave an amazing presentation.

  • Introduction to Simon Wood
  • Consuming APIs
    • The world before APIs
    • How Mobile, Social and Cloud caused a landslide move to APIs
    • The power of APIs for rapid development and deferring complex problems
    • Lean software development powered by APIs
    • APIs as a data highway between businesses
  • Offering out APIs
    • The world before APIs
    • Why you should offer an API
    • Case studies of increased revenue on the back of APIs
    • Private APIs Vs Public APIs and why Private does not work
    • The right and wrong way to build APIs
    • Security
    • Rate shaping & throttling
    • Reporting
    • Versioning
    • How to evangelise your API
  • The future is APIs
  • Q&A

A big thank you to Simon for giving such a comprehensive and informative presentation on APIs.


July 22, 2016

We have recently launched a new website for our CTO rount-tables called


The CTO meetup is an invite only event for leading technologists including Chief Technology Officers, VP of Engineering, Chief Architects, etc.

If you would like to attend then please visit the website and enter your email address and we will be in touch.

Launching We Test Software

June 22, 2016

In addition to doing a lot of software development at TechHuddle we also do a lot of software testing so we have spun out a new business called We Test Software.

Please visit the website to learn more and don’t forget to follow us on Facebook, Twitter and Linkedin.


CTO meetup – eCommerce

April 14, 2016

Last night TechHuddle hosted a CTO meetup on eCommerce.

Kevin Murray of Greenlight Commerce did a cracking presentation on eCommerce platforms (Hybris, Demandware, Magento, etc.), associated products/services you will likely need such as Elasticera, TheFilter, etc, best practices for implementing, etc.