Project to learn about infra as code. In this project, a wordpress blog is provisioned on AWS with RDS as database using Terraform and Ansible. This project is a task of SRE Eleven Works course.
-
VPC
-
Subnet
-
Route Tables
-
Internet Gateway
-
Security Groups
-
RDS
-
EC2 Instance
- nginx
- php-fpm
- WordPress
- Memcache
- Load Balancer
- Auto Scaling
- Alta Disponibilidade com Multi AZ
- CDN/WAF: Cloudflare + Serviço WAF
| Command | Description |
|---|---|
| init | Init terraform |
| plan | Show terraform changes |
| up | Apply terraform changes |
| rebuild-instance | Recreate EC2 instance with Ansible |
| down | Destroy terraform resources |


