How do I resolve Amazon ECS service quota issues?

2 minute read
0

I can't create new resources in Amazon Elastic Container Service (Amazon ECS). Or, I receive the "Limit exceeded" error.

Resolution

Amazon ECS has service quotas for maximum resources in each AWS Region in each AWS account. If you exceed these quotas, then you can't create new resources and you receive the "Limit exceeded" error.

To resolve service quota issues, check your Amazon ECS resource usage.

Then, take the following actions:

Use cluster auto scaling to allow Amazon ECS to dynamically adjust the number of required container instances based on workload demands. To optimize cluster auto scaling, set scaling metrics and thresholds based on your application's needs. Configure Amazon ECS service auto scaling to automatically adjust the desired task count in your service based on demand.

If you optimized your resources and still exceed the quotas, then you can request a quota increase.

Important: Not all service quotas are adjustable. Before you submit a request, check whether you can adjust the resource quota.

Related information

Managing your Amazon ECS and AWS Fargate service quotas in the AWS Management Console

Handle Amazon ECS service quotas and API throttling limits

AWS OFFICIAL
AWS OFFICIALUpdated a month ago