Amazon CloudFront
Developer Guide (API Version 2010-11-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

Types of Distributions

CloudFront offers different types of distributions to serve different types of content. Your AWS account can have up to 100 distributions of each type. There's no limit on the number of files you can serve per distribution.

The following table describes the distribution types and summarizes the different CloudFront features available with each type.

TypeDescriptionFeatures Available

Download

Serves non streaming files over an HTTP(S) connection. For example: image files, CSS files, JavaScript files, etc.

For information about creating a download distribution using an Amazon S3 origin, go to the Amazon CloudFront Getting Started Guide. For information about creating a download distribution with a custom origin, see Creating a Distribution with a Custom Origin.

  • Access logs

  • CNAMEs

  • Custom origins

  • Private content

  • Public content

Streaming

Streams media files over a Real-Time Messaging Protocol (RTMP) connection. For information, see Streaming Media on Demand.

  • Access logs

  • CNAMEs

  • Private content

  • Public content

CNAMEs means that you can use your own domain name instead of the CloudFront distribution name to serve the content (for more information, see Using CNAMEs).

Public content means that the content in your origin must be publicly readable.

Private content means that you can mark the content in the origin as readable only by you and CloudFront (for more information, see Using a Signed URL to Serve Private Content).

Access logs means that you can get a log with information about end-user access to your objects in the edge locations (for more information, see Access Logs).

There's a separate set of CloudFront control API actions for each type of distribution. The actions for download distributions act on the distribution resource; whereas the actions for streaming distribution act on the streaming-distribution resource. For a list of the actions, see Actions on Distributions.