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

Frequently Asked Questions

What is the price for Live Smooth Streaming using CloudFront?

To Smooth Stream your live event, you pay only for the AWS resources you consume:

There is no charge for using AWS CloudFormation.

Can I deliver my live streaming video to both Smooth Streaming clients and Apple devices?

Yes. You can use Microsoft Expression Encoder 4 Pro to encode your live video for both Smooth Streaming clients (for example, Microsoft Silverlight) and Apple devices (for example, iPad and iPhone). After your AWS CloudFormation stack is launched, you will find the manifest file URLs both for Live Smooth Streaming (.isml) and for Apple HLS (.m3u8) on the Outputs tab of your AWS CloudFormation template.

How can I set-up a CNAME alias for my Amazon EC2 instance or my CloudFront distribution?

Your Amazon EC2 Windows Server instance comes with an internal and an external DNS name. Amazon EC2 does not provide access to modify these DNS settings. If you want to map an existing domain name to your Amazon EC2 instance running Windows Server, use a DNS service provider such as Amazon Route 53. When using your own domain name, we recommend that you map to the instance's external DNS name using a CNAME, not by using an A record that points to the instance's IP address.

To map your own domain name to your CloudFront distribution, see Using Alternate Domain Names (CNAMEs).

How can I enable access to the Windows server?

By default, the Amazon EC2 security group for your Windows server instance does not have port 3389 enabled; this is the port you use to administer the Windows server. If you want to log on to your Windows server instance, perform the following procedure to enable access via port 3389.

To enable access to port 3389 on your Windows server via selected IP addresses

  1. Sign in to the AWS Management Console and open the Amazon EC2 console at

  2. In the Region list, click the Amazon EC2 region in which you used AWS CloudFormation to create your Amazon EC2 instance.

  3. In the Navigation pane, click Security Groups.

  4. In the Security Groups pane, click the row for which the value of the Name column begins with the name of the AWS CloudFormation stack that you created in Creating an AWS CloudFormation Stack for Live Smooth Streaming.

  5. In the bottom pane, click the Inbound tab.

  6. To enable access to your Windows server and specify the client IP addresses that can access the server:

    1. In the Create a new rule list, do not change the default value, Custom TCP rule.

    2. In the Port range field, enter 3389.

    3. In the Source field, enter an IP address or range, or enter the name of another security group. For more information, click Help.

    4. Click Add Rule.

    5. To create additional rules, repeat Steps a through d.

    6. Click Apply Rule Changes.

How can I securely connect to my Amazon EC2 instance running Windows IIS Media Services?

To connect to your Windows server instance, you must retrieve the initial password for the Administrator account and then use it with Windows Remote Desktop. You'll also need the contents of the private key file that you created, for example, <keypairname.pem>.pem. For more information, go to Getting Started with Amazon EC2 Windows Instances.

How can I restrict access to my Live Smooth Streaming content from another domain?

Microsoft Silverlight includes support for cross-domain connectivity, which allows the Silverlight player to access content from locations other than the domain where the Smooth Streaming content originates. The security policy system in Silverlight requires that a Silverlight policy file named ClientAccessPolicy.xml be downloaded from a target domain before a network connection is allowed to access a network resource under that target domain. A default policy file is already included at the root of the default website on your Windows server running on Amazon EC2. To restrict cross-domain access, log on to your Windows server and update the ClientAccessPolicy.xml file.