Set Amazon SDK Default Backoff Strategy Params for CloudFormation

Updated 3 months ago by Michael Cretzman

In some Harness CloudFormation deployments you might get failures with ThrottlingException or Rate exceeded errors for CloudFormation API calls.

This can happen when CloudFormation API calls exceed the maximum allowed API request rate per AWS account and region. Requests are throttled for each AWS account on a per-region basis to help service performance. See Service endpoints and quotas from AWS.

This topic describes how to remedy this situation by setting Amazon SDK default backoff strategy params for CloudFormation.

In this topic:


  • If you have multiple AWS accounts tied to one Harness account with backoff strategy params enabled, backoff params and strategies will be applied on all AWS accounts.

Equal Jitter and Full Jitter Backoff Strategies

The Amazon SDK Default backoff strategy is the combination of Equal Jitter and Full Jitter backoff strategies. The SDK Default strategy uses the Full Jitter strategy for non-throttled exceptions and the Equal Jitter strategy for throttled exceptions.

Here's the list of non-throttled error and status codes where Full Jitter strategy is applied: 


Here's list of throttled error codes where Equal Jitter strategy is applied:

"429 Too Many Requests"

For more strategies, see Exponential Backoff And Jitter from AWS.

Setting Backoff Strategy Params in Harness

In Harness CloudFormation implementation, you can set these parameters using Account Defaults settings.

In your Harness account, click Setup.

In Account, click more options (︙), and then click Account Defaults.

The Account Defaults appear.

To add a parameter, click Add Row.

Here's the list of supported Amazon default SDK backoff strategy parameters:

All values are in milliseconds.

Default SDK Backoff Strategy Param

Default Value



5 ms

The maximum number of retries.


100 ms

Base delay for FullJitterBackoffStrategy.


20000 ms

The maximum backoff time after which retries will not be performed.


500 ms

Base delay for EqualJitterBackoffStrategy.

When you're done, the Account Defaults will look something like this:

Next Steps

You will need to tune Amazon SDK Default backoff strategy params based on the API request rate per AWS account and region already set.

How did we do?