2 Answers
- Newest
- Most votes
- Most comments
0
Hello.
Perhaps the configurations described in the documentation below may be helpful.
This configuration uses SQS CloudWatch metrics to scale ECS.
By using this, it is possible to start an ECS task when messages accumulate in SQS.
https://aws.amazon.com/jp/blogs/containers/amazon-elastic-container-service-ecs-auto-scaling-using-custom-metrics/
0
Despite being a Serverless offering, Fargate is still a container (which doesn’t scale to zero) so it may trigger the task execution the first time.
Check this out for inspiration and troubleshoot https://repost.aws/questions/QUWzWBso4ySf--xcke9Ww3XQ/what-needs-to-be-done-to-make-event-bridge-invoke-a-fargate-task-when-file-added-to-s3
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 9 months ago
- Why can't I view the EventBridge trigger in my Lambda function that my CloudFormation stack created?AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 8 months ago