hkford / ecs-scaling-sqs

ECS Service scaling based on SQS messages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ECS Service scaling based on SQS messages

architecture

Rust application in Amazon ECS tasks polls SQS queue and the application scales based on CloudWatch metrics (NumberOfMessagesVisible).

How to deploy

Run the followings.

npm install
cdk deploy

Send some messages to SQS queue, and you will see ECS tasks scale out.

About

ECS Service scaling based on SQS messages


Languages

Language:Rust 46.7%Language:TypeScript 46.5%Language:JavaScript 4.8%Language:Dockerfile 2.1%