Menu
Amazon CloudFront
Developer Guide (API Version 2016-09-29)

Limits

CloudFront entities are subject to the following limits.

EntityLimit

Data transfer rate per distribution

40 Gbps

Request a higher limit

Requests per second per distribution

100,000

Request a higher limit

Web distributions per AWS account

For more information, see Working with Web Distributions.

200

Request a higher limit

RTMP distributions per AWS account

For more information, see Working with RTMP Distributions.

100

Request a higher limit

Alternate domain names (CNAMEs) per distribution

For more information, see Using Alternate Domain Names (CNAMEs).

100

Request a higher limit

Origins per distribution

25

Request a higher limit

Cache behaviors per distribution

25

Request a higher limit

Whitelisted headers per cache behavior

For more information, see Configuring CloudFront to Cache Objects Based on Request Headers.

10

Request a higher limit

Whitelisted cookies per cache behavior

For more information, see Configuring CloudFront to Cache Objects Based on Cookies.

10

Request a higher limit

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

Request a higher limit

Custom headers: maximum length of a header name

256 characters

Custom headers: maximum length of a header value

2,048 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

Request a higher limit

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