Rate Limit Exceeding Error (AWS)

A common issue with AWS deployments is exceeding an AWS rate limit for some AWS component, such as ECS clusters per region or maximum number of scaling policies per Auto Scaling Groups.

There are two options to mitigate this issue:

1.) The first is to break the workload to smaller units. For example, you have a "stage 4 " of your pipeline running three workflows in parallel. Running these serially will reduce the rate (requests per second) and allow the pipeline to complete.

2.) The second option works better and is to adding retry in failure strategy as below steps :

  1. In your work flow, click on 3 dots next to “Pre-deployment Steps”
  2. Click on Failure Strategy and select “custom”
  3. Add failure strategy with retry action (similar to the below image)

3 Likes