Skip to content

Create Wordpress site quickly with EC2, RDS using terraform. Free tier friendly

Notifications You must be signed in to change notification settings

zhongjis/express-wordpress-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-wordpress-aws


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, then terraform 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).

First Release (before 2024-03-01) - minimal (completed)

  • 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

Second Release (before 2024-03-15) - minimal polished

  • add custom domain setup
  • add SSL setup (support https)

Later Releases

  • 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

Tech Stack

  • EC2: AWS Linux 2
  • RDS: MySQL 8.0
  • EFS: for wordpress files

How to deploy

  1. assume you already have access token setup (easiest way is aws configure)
  2. terraform init under the module you would like to deploy
  3. terraform apply

This repo was originally forked from https://github.com/devbhusal/terraform-ec2-RDS-wordpress

About

Create Wordpress site quickly with EC2, RDS using terraform. Free tier friendly

Topics

Resources

Stars

Watchers

Forks