Building a WordPress website with Terraform, Ansible, Kubernetes clusters and Docker-Compose on Amazon AWS ecosystem (EC2, Route53, ELB, EFS and RDS)
Main Architecture Schema
This website is built on Amazon AWS cloud with high availability servers clusters. I can scale up to N clusters, but for this example, 2 running instances are enough to illustrate the usage.
Ansible will deploy the specifics apps and ressources uniformely on the nodes.
The Amazon Aurora database (MySQL compatible) is also replicated on the cloud and run on different EC2-instances.
EC2 Instances (Linux Ubuntu 16.4) are built automatically with Terraform scripts (infrastructure as code).
This infrastructure solution will cost approx. 5 USD a day for the operational use (T2 micro and small instances). They are no setup fees except the yearly costs of the domain DNS purchase hellocloud.ch
Here is an example billing screenshot (costs not from this site) if you have AWS account and installed the mobile console.