Skip to content
/ noosa Public

Infrastructure as code using Terraform: AWS ALB + ECS + RDS

License

Notifications You must be signed in to change notification settings

nkcoder/noosa

Repository files navigation

Architecture Diagram

Architecture Diagram

Module Dependencies

  • VPC, ECR
  • RDS -> VPC
  • ALB -> VPC
  • ECS -> RDS & ALB & VPC

Run

Add alias tf="terraform" to ~/.zshrc.

Validate config:

tf format
tf validate

Run dev:

tf init -var-file="environments/dev/terraform.tfvars"
tf plan -var-file="environments/dev/terraform.tfvars"
tf apply -var-file="environments/dev/terraform.tfvars"

Run prod:

tf init -var-file="environments/prod/terraform.tfvars"
tf plan -var-file="environments/prod/terraform.tfvars"
tf apply -var-file="environments/prod/terraform.tfvars"

TODO

RDS

  • alarms

ALB

  • configure SSL/TLS certificate, 443
  • alarms

ECS

  • alarms
  • move to private subnets and link to NAT to access ECR images

About

Infrastructure as code using Terraform: AWS ALB + ECS + RDS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages