AWS FREE TRIAL friendly
This repo is still a work-in-progress. Feel free to star and come back later if you do not see what you need here (yet).
This terraform projects creates a WordPress site using AWS resources
It aims to
- Creating a simple, minimal WordPress site with Terraform.
- Provide seamless experience for business owners to create/grow their WordPress site capacity as needs grows.
Simply put the workflow is (assume you have tf
and awscli
set up):
- Set up / prepare the vars.
terraform init
, thenterraform apply
- Done. You have your wordpress site running with minimal cost & effort
Target audience of this repo currently is only for small business (< 1k daily visits).
- wordpress userdata is currently broken. the site is not working. I am working on it.
- use
random
terrform provider to generate random password for RDS
- add custom domain setup
- add SSL setup (support https)
- add bitmore setup
- figure out how wordpress
- s3 storage for terraform state
- consider adding autoscaling group for EC2
- add tech stack info to readme.md
- more to readme.md
- EC2: AWS Linux 2
- RDS: MySQL 8.0
- EFS: for wordpress files
- assume you already have access token setup (easiest way is
aws configure
) terraform init
under the module you would like to deployterraform apply
This repo was originally forked from https://github.com/devbhusal/terraform-ec2-RDS-wordpress