Skip to content

cg-dv/tf-ecs-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECS Todo App

This Terraform project deploys a simple 'todo' list app from the Docker documentation to an ECS Fargate task. The ECS deployment is load-balanced by an Application Load Balancer to split traffic amongst multiple Fargate tasks running the app (config currently set to run 1 task, however).

This Terraform configuration defines three public subnets in which the app can be deployed for the purpose of high availability.

Diagram

Usage:

Initalize Terraform and S3 remote backend:

terraform init

Build infrastructure:

terraform apply

Outputs:

Application Load Balancer URL is the only output for this configuration.

(May have to remove 'S" from 'HTTPS' in URL - as SSL/TLS not configured for this configuration - additionally, ALB may return 503 error for a minute or two prior to actual launch of task - refresh page after a minute or two and task should be active).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages