

# Quotas in AWS Elemental MediaConnect
QuotasService quotas (outputs)

You can now add up to 50 outputs to each transport stream flow.Service quotas (flows)

You can now request an increase to the quota of 20 flows per AWS Region.

The following table describes quotas, formerly referred to as *limits*, in AWS Elemental MediaConnect. For information about quotas that can be changed, see [AWS Service Quotas](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html).


| Resource | Default quota | Comments | 
| --- | --- | --- | 
| Bridges | 40 per gateway | The maximum number of bridges that a gateway can have.You cannot increase this quota. | 
| Entitlements | 50 per flow | The maximum number of entitlements that you can grant on a flow.You cannot increase this quota. | 
| Flows | 20 per AWS Region |  The maximum number of flows that you can create in each AWS Region. You can [request a quota increase](https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediaconnect/quotas).  | 
| Outputs |  50 per transport stream flow 10 per CDI flow  | The maximum number of outputs that a flow can have.You cannot increase this quota. | 
| Sources |  2 per transport stream flow 1 per CDI flow  | The maximum number of sources that a flow can have.You cannot increase this quota. | 
| RouterInputs | 20 per AWS Region |  The maximum number of router inputs that you can create in each AWS Region. You can [request a quota increase](https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediaconnect/quotas).  | 
| RouterNetworkInterfaces | 10 per AWS Region |  The maximum number of router network interfaces that you can create in each AWS Region. You can [request a quota increase](https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediaconnect/quotas).  | 
| RouterOutputs | 20 per AWS Region |  The maximum number of router outputs that you can create in each AWS Region. You can [request a quota increase](https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediaconnect/quotas).  | 
| VpcInterfaces | 2 ENA interfaces and 1 EFA interface per flow | The maximum number of VPC interfaces that a flow can have.You cannot increase this quota. | 

**Note**  
To optimize performance, we recommend that you set up your workflow for an aggregate output bandwidth of 400 Mb/s or less. For more information, see [Best practices](best-practices.md).

## Feature-specific output limitations


The following features have additional output limitations:


|  Feature  |  Output limitation  | 
| --- | --- | 
| Content quality analysis  | Maximum of 10 outputs per flow. If exceeded, content quality analysis is automatically disabled.  | 
| Thumbnails  |  Maximum of 10 outputs per flow. If exceeded, thumbnail generation is automatically disabled.  | 

## Limits for API requests
Limits for API requests

The guide has been updated to include limits for API requests per second.

The following table describes the limits for API request frequency in MediaConnect. These limits are not quotas that you can increase. If you exceed these limits, MediaConnect returns an HTTP 429 (`too many requests`) error.


|  API method  |  Limit  | Comments | 
| --- | --- | --- | 
| Frequency of API requests - steady state | For `DescribeFlow`, `DescribeFlowSourceMetadata`, and `DescribeFlowSourceThumbnail`:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/quotas.html)For all other APIs:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/quotas.html) |  You cannot increase this quota.  | 
| Frequency of API requests - burst mode |  For all APIs: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/quotas.html)  |  You cannot increase this quota. Burst mode allows a temporary overrun of the steady state limit. If API requests exceed the burst mode limit, MediaConnect throttles the limit and returns a 429 error. The limit refills at a rate of 5 requests per second.  | 

**Note**  
If your application exceeds these limits, we recommend that you implement exponential backoff for retries. For more information, see [Error Retries and Exponential Backoff in AWS](https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html) in the *Amazon Web Services General Reference*. 