ECS Fargate的quota限制

fargate有quota限制,默认新帐号下只能并发运行6个vcpu,如果遇到这个限制,会报错:

(service xxx) was unable to place a task. Reason: You've reached the limit on the number of tasks you can run concurrently. For more information, see the Troubleshooting section of the Amazon ECS Developer Guide.

需要提申请来扩大:

Name Default Adjustable Description
Fargate On-Demand vCPU resource count Each supported Region: 6 Yes The number of Fargate vCPUs running concurrently as Fargate On-Demand in this account in the current Region.
Fargate Spot vCPU resource count Each supported Region: 6 Yes The number of Fargate vCPUs running concurrently as Fargate Spot in this account in the current Region.

image-20230920193115586