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


Adobe Media Server 5.0 supports two HTTP streaming formats:

  • HLS (HTTP Live Streaming), supported by iOS devices

  • HDS (HTTP Dynamic Streaming), supported by Flash applications (including Strobe Media Playback)


An earlier version of this tutorial explained how to configure HDS streaming using the Flash Media Playback player, but Adobe stopped supporting that player. We've updated the tutorial to use Strobe Media Playback, an open-source media player that is similar in functionality to Flash Media Playback.

Here's how Adobe Media Server and CloudFront work together to stream an event in realtime:

  1. You use AWS CloudFormation to provision an Amazon EC2 instance running Adobe Media Server 5.0 and to create a CloudFront distribution, as described in this tutorial.

  2. You capture your event using a digital video camera, for example, the video camera in a laptop computer.

  3. You use an encoder on the site of the event, for example, Adobe Flash Media Live Encoder, to compress the raw video feed and send it to Adobe Media Server. (Flash Media Live Encoder is a free download and is available for Windows and Mac OS.)

  4. Adobe Media Server breaks the video stream into a series of smaller files. This server is the origin for your CloudFront distribution.

  5. When your users browse to the CloudFront URL that you gave them to view the event, CloudFront routes their HTTP requests to the nearest edge location (by latency).

  6. The edge location requests the video stream from Adobe Media Server.

  7. Adobe Media Server returns the video stream in small files to the CloudFront edge location.

  8. The CloudFront edge location serves the video stream to the viewer that made the request, and caches the small files to speed up the response to subsequent requests for the live stream.

This tutorial summarizes how to integrate CloudFront with Adobe Media Server running on an Amazon EC2 instance. For more information about Adobe Media Server and about the AWS services that you use for live streaming, see the following: