|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
This section describes how to configure on-demand streaming. If you're using Adobe Flash Player, Flowplayer, or JW Player for your media player, see the applicable tutorial instead:
The following task list summarizes the process for creating a download distribution.
To Create a Streaming Distribution
Create an Amazon S3 bucket for your media files. If you are using a different Amazon S3 bucket for your media player, create an Amazon S3 bucket for the media player files, too.
The names of your buckets must be all lowercase and cannot contain spaces.
Choose and configure a media player to play your media files. For more information, refer to the documentation for the media player.
Upload the files for your media player to the origin from which you want CloudFront to get the files. If you are using an Amazon S3 bucket as the origin for the media player, make the files (not the bucket) publicly readable.
Create a download distribution for your media player. (You can also use an existing distribution.) For more information, see Creating Download Distributions.
Upload your media files to the Amazon S3 bucket that you created for the media files, and make the content (not the bucket) publicly readable.
Media files in a Flash Video container must include the .flv filename extension, or the media will not stream.
You can put media player files and media files in the same bucket.
Create a streaming distribution for your media files:
For more information about creating a download distribution using the CloudFront console, see Creating a Streaming Distribution Using the CloudFront Console.
For information about creating a download distribution using the CloudFront API, go to POST Streaming Distribution in the Amazon CloudFront API Reference.
Configure your media player. For more information, see Configuring the Media Player.
If you have trouble getting your content to play, see Troubleshooting Streaming Distributions.
The following procedure explains how to create a streaming distribution using the CloudFront console. If you want to create a streaming distribution using the CloudFront API, go to POST Streaming Distribution in the Amazon CloudFront API Reference.
By default, you can create a combined total of 100 download and streaming distributions for each AWS account. To request a higher limit, go to http://aws.amazon.com/cloudfront-request/.
To create a streaming distribution using the CloudFront console
Sign in to the AWS Management Console and open the Amazon CloudFront console at https://console.aws.amazon.com/cloudfront/.
Click Create Distribution.
On the first page of the Create Distribution Wizard, click Streaming, and click Continue.
Specify settings for the distribution. For more information, see Values that You Specify When You Create or Update a Streaming Distribution.
Distribution settings, part 1
Distribution settings, part 2
Click Create Distribution.
After CloudFront creates your distribution, the value of the Status column for your distribution will change from InProgress to Deployed. If you chose to enable the distribution, it will then be ready to process requests. This should take less than 15 minutes.
The domain name that CloudFront assigns to your distribution appears in the list of distributions. The domain name also appears on the General tab for a selected distribution.