Planning the deployment
Before we dive into the playbooks, we should get an idea of what it is we are trying to achieve. As already mentioned, we are going to be building on our AWS VPC role by adding instances and storage. Our updated diagram looks as follows:

In the diagram, we have the following:
- 3 x EC2 instances (t2.micro), one in each availability zone
- 2 x RDS instances (t2.micro), in a master/standby multi-AZ configuration
- 5 GB of EFS storage across three availability zones
Before we talk about the deployment itself, based on the diagram and specifications here, how much is this deployment going to cost us to run?
Costing the deployment
The cost of running this deployment in the EU-West-1 region is as follows:
Instance type | # Instances | Total cost per hour | Total cost per day | Total cost per month |
EC2 instances(t2.micro) | 3 | $0.038 | $0.091 | $27.22 |
RDS instance (t2.micro)—Master and Standby | 2 | $0.036 | $0.086 | $25.92 |
Application Load Balancer | 1 | $0.033 | $0.80 | $23.90 |
5 GB EFS | 1 | $0.002 | £0.06 | $1.65 |
Total: | $0.109 | $2.62 | $78.69 |
There...