Skip to content

MTB90/terraform-aws-ecs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a3cf461 · Dec 2, 2019
Nov 28, 2019
Nov 29, 2019
Nov 28, 2019
Nov 29, 2019
Nov 29, 2019
Nov 17, 2019
Oct 17, 2019
Dec 2, 2019
Dec 2, 2019
Nov 10, 2019
Nov 26, 2019
Apr 20, 2019

Repository files navigation

Simple web site on AWS.

Build Status codecov.io License: MIT

List of used AWS components:

  • VPC, Subnets, Internet gateway
  • Bastion, Nat-Instance
  • Security groups
  • EC2, ALB
  • ROUTE53 zone
  • ECS cluster, ECS service, ECS task definition, ECR
  • App autoscaling target/policy (ECS task)
  • Autoscaling group/policy (EC2)
  • COGNITO
  • Cloudwatch (logs EC2/Task)
  • Dynamodb

AWS infrastructure:

Run locally unit-tests:

$ make test

Manual deployment:

  • Update file envfile with your variables
  • Push image:
# Update ECS Service
$ make aws-push-image
$ make aws-udpate-service

# Update AWS lambda
$ make aws-update-lambda