Skip to content

A CDK Construct capable of creating highly scalable AWS ECS Fargate services with load balancer, xray, and more features.

Notifications You must be signed in to change notification settings

djarotech/scalable-aws-fargate-cdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A highly scalable, duplicable ECS Fargate infrastructure (just provide docker container)

With this setup, you can easily scale to thousands of TPS. It features AWS Xray side car (for request tracing), logging, autoscaling rules, optimized load balancer, health check on load balancer, and more.

It features an option to use exclusively spot instances to run the server at a low cost. If there is no capacity, there is a lambda that will switchover to normal instances.

Instructions

To deploy it, first push your docker image to an ecr, then provide this info in the props. Next, run npm install && npm deploy, to deploy it to cloudformation.

Follow my AWS Blog

About

A CDK Construct capable of creating highly scalable AWS ECS Fargate services with load balancer, xray, and more features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published