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

Task List for Streaming Media Files Using RTMP

The following task list summarizes the process for creating a distribution for on-demand streaming using the Adobe RTMP protocol for any media player.

To Create an RTMP Distribution

  1. 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.

  2. Choose and configure a media player to play your media files. For more information, refer to the documentation for the media player.

  3. 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.

  4. Create a web distribution for your media player. (You can also use an existing distribution.) For more information, see Steps for Creating a Distribution (Overview).

  5. 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.

  6. Create an RTMP distribution for your media files:

  7. Configure your media player. For more information, see Configuring the Media Player.

If you have trouble getting your content to play, see Troubleshooting RTMP Distributions.