fbpx

Provisioning Playbooks

In the previous article we showed you how we created our infrastructure as code. This article describes how to configure services within our EC2 instances. 

Provision Backend

Let’s start with a bash script to run the playbooks:

Here is the playbook used to configure backend services:

Let’s focus on php configuration tasks.

The following file:

contains:

and the following include:

contains:

So we’ve just seen how to create the infrastructure, instances and configuration of our application on AWS.

We’ve written everything as code, so we can destroy and recreate our infrastructure very quickly and with different environments.

In the next article we will show you how we automated the management of the names of our services with Route53!

Loreno Edelmondo
Loreno Edelmondo
Articoli: 24

Lascia una risposta

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.