Limits
CloudFront entities are subject to the following limits.
| Entity | Limit |
|---|---|
Data transfer rate per distribution | 40 Gbps |
Requests per second per distribution | 100,000 |
Web distributions per AWS account For more information, see Working with Web Distributions. | 200 |
RTMP distributions per AWS account For more information, see Working with RTMP Distributions. | 100 |
Alternate domain names (CNAMEs) per distribution For more information, see Using Alternate Domain Names (CNAMEs). | 100 |
Origins per distribution | 25 |
Cache behaviors per distribution | 25 |
Whitelisted headers per cache behavior For more information, see Configuring CloudFront to Cache Objects Based on Request Headers. | 10 |
Whitelisted cookies per cache behavior For more information, see Configuring CloudFront to Cache Objects Based on Cookies. | 10 |
Total number of bytes in whitelisted cookie names (doesn't apply if you configure CloudFront to forward all cookies to the origin) | 512 minus the number of whitelisted cookies |
Custom headers: maximum number of custom headers that you can configure CloudFront to forward to the origin For more information, see Forwarding Custom Headers to Your Origin (Web Distributions Only). | 10 name/value pairs |
Custom headers: maximum length of a header name | 256 characters |
Custom headers: maximum length of a header value | 1,783 characters |
Custom headers: maximum length of all header values and names combined | 10,240 characters |
SSL certificates per AWS account when serving HTTPS requests using dedicated IP addresses (no limit when serving HTTPS requests using SNI) For more information, see Using HTTPS with CloudFront. | 2 |
SSL certificates that can be associated with a CloudFront web distribution | 1 |
Tags that can be added to a CloudFront web or RTMP distribution | 50 |
Objects that you can serve per distribution | Unlimited |
Maximum file size for HTTP GET, POST, and PUT requests | 20 GB |
Maximum length of a request, including headers and query strings | 20,480 bytes |
Maximum length of a URL | 8,192 bytes |
File compression: range of file sizes that CloudFront compresses For more information, see Serving Compressed Files. | 1,000 to 10,000,000 bytes |
Object invalidation: maximum number of objects allowed in active invalidation requests, excluding wildcard invalidations For more information, see Invalidating Objects (Web Distributions Only). | 3,000 |
Object invalidation: maximum number of active wildcard invalidations allowed | 15 |
Object invalidation: maximum number of objects that one wildcard invalidation can process | Unlimited |

