Skip to content

netologist/aws-reference-architecture-wordpress

Repository files navigation

AWS Reference Architecture for Wordpress

AWS Reference Architecture (Wordpress) with Terraform and Terragrunt Solutions

Cloudformation sloution is there


Architecture Overview

architecture-overview

Make Commands:

  • bootstrap-remote-state: Bootstrap s3 bucket and dynamodb for remote state

  • config: For saml2aws configuration

  • login: Gettign new session

  • deploy: ensure actions for terraform

Useful terraform tools:

  • terratest: Automated tests for your infrastructure code.

  • terragrunt: DRY and maintainable Terraform code.

  • terracost: About Cloud cost estimation for Terraform in your CLI

  • tfsummarize: A command-line utility to print the summary of the terraform plan

  • tflint: A Pluggable Terraform Linter

  • terrascan: Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.

  • tgenv: Terragrunt version manager

  • tfenv: Terraform version manager

  • tfsec: Security scanner for your Terraform code

  • terramate: Terramate is a tool for managing multiple Terraform stacks with support for change detection and code generation. Alternative to terraform

  • terraspace: It provides an organized structure, conventions over configurations, keeps your code DRY, and adds convenient tooling. TERRASPACE makes working with Terraform easier and more fun

Folder Structures:

folder structure for terragrunt

├── modules
│   ├── instance
│   ├── rds
│   ├── security_group
│   └── vpc
├── stacks
│   └── dev
│       ├── env.hcl
│       ├── service
│       ├── webapp
│       ├── monitoring
│       └── pipeline
│           ├── terragrunt.hcl
│           └── main.tf
└── terragrunt.hcl

folder structure for terraform

├── modules
│   ├── instance
│   ├── rds
│   ├── security_group
│   └── vpc
├── stacks
│   ├── pipeline
│   ├── service
│   ├── webapp
│   └── monitoring
├── main.tf
├── backend.tf
├── provider.tf
├── variables.tf
├── outputs.tf
├── versions.tf
├── dev.auto.tfvars
├── staging.auto.tfvars
└── prod.auto.tfvars

Inspired By Below Project(s)

About

AWS Wordpress Architecture with Terraform and Terragrunt Solution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published