/wordpress_on_aws_with_terraform

Deploy an AWS architecture with Terraform

Primary LanguagePython

wordpress-on-aws-with-terraform

TODO
  • checkov
  • ludicrousdb
Description

This project is to create a high availability wordpress web-server on AWS base on Terraform - an IaC platform.

Prerequisites
How to contribute

Please follow this link

How to install & run
  • Install all prerequisites above
  • Deploy
    cd ~/wordpress-on-aws-with-terraform/main
    terraform init
    terraform plan
    terraform apply
  • Destroy
    terraform destroy
Architecture

9c97a8390e9dccc3958c (1)_auto_x2

Directory structure
├───📁 .github/
│   └───📁 workflows/
│       ├───📄 notify.yaml
│       └───📄 infra-cost.yaml
│       └───📄 release.yaml
├───📁 modules/
│   ├───📁 autoscaling/
│   │   ├───📄 main.tf
│   │   ├───📄 outputs.tf
│   │   ├───📄 userdata.tftpl
│   │   └───📄 variables.tf
│   ├───📁 database/
│   │   ├───📁 resources/
│   │   │   └───...
│   │   ├───📄 db-rotate.tf
│   │   ├───📄 local.tf
│   │   ├───📄 main.tf
│   │   ├───📄 output.tf
│   │   └───📄 variables.tf
│   ├───📁 efs/
│   │   ├───📄 main.tf
│   │   ├───📄 outputs.tf
│   │   └───📄 variables.tf
│   ├───📁 elasticache/
│   │   ├───📄 main.tf
│   │   ├───📄 outputs.tf
│   │   └───📄 variables.tf
│   ├───📁 networking/
│   │   ├───📄 main.tf
│   │   ├───📄 outputs.tf
│   │   └───📄 variables.tf
│   └───📁 s3/
│       ├───📄 main.tf
│       ├───📄 outputs.tf
│       └───📄 variables.tf
├───📁 main/
│   ├───📄 locals.tf
│   ├───📄 main.tf
│   ├───📄 outputs.tf
│   ├───📄 provider.tf
│   ├───📄 README.md
│   └───📄 variables.tf
├───📄 .editorconfig
├───📄 .gitignore
├───📄 howtocontribute.md
├───📄 README.md
└───📄 repos.yaml