Skip to content

hkford/ecs-scaling-sqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.