/rails-on-ecs-by-terraform

Rails on ECS/Fargate by Terraform(include ALB, AutoScaling, Aurora)

Primary LanguageHCL

rails-on-ecs-by-terraform

Docker

$ docker-compose up --no-start

Dockerにログオン

$ docker-compose run terraform sh

$ cd /usr/src/terraform/envs/development/ # productionの場合は cd /usr/src/terraform/envs/production
# ワークスペースの初期化
$ terraform init
# 設定確認
$ terraform plan
# 設定内容反映
$ terraform apply

Features

  • Network
  • ECS/Fargate
  • ECS Auto Scaling
  • ALB
  • Database
  • Deployment
  • Batch