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

Creating an AWS CloudFormation Stack for Live Smooth Streaming

The following procedure uses an AWS CloudFormation template to create a stack that launches the AWS resources required for Live Smooth Streaming, including an Amazon EC2 instance.

Important

You incur hourly charges for an Amazon EC2 instance beginning when you create the AWS CloudFormation stack that deploys the Amazon EC2 instance. Charges continue to accrue until you delete the AWS CloudFormation stack regardless of whether you use the Amazon EC2 instance to stream live video. For more information, see Pricing on the Amazon Elastic Compute Cloud (Amazon EC2) detail page. When your live event is over, delete the stack that you created for Live Smooth Streaming. This deletes the AWS resources that were created for your live-streaming event, and stops the AWS charges for the resources. For more information, see Deleting Your AWS CloudFormation Live Smooth Streaming Stack.

To create an AWS CloudFormation stack for live streaming

  1. In the following list, click the Amazon EC2 Region where you want to create the stack. The Create Stack wizard starts, and a region-specific value is automatically entered in the Provide a Template URL field.

    US East (N. Virginia)

    US West (Oregon)

    US West (N. California)

    EU (Ireland)

    Asia Pacific (Singapore)

    Asia Pacific (Tokyo)

    South America (São Paulo)

  2. If you are not already signed in to the AWS Management Console, sign in when prompted.

  3. Optional: In the Create Stack wizard, change the value of the Stack Name field. The stack name must not contain spaces, and it must be unique within your AWS account.

  4. Do not change the Stack Template Source option or the value of Provide a Template URL.

  5. Optional: To configure SNS notification, to specify how long you're willing to wait for the stack to be created, and to choose whether to roll back changes if stack creation fails, check the Show Advanced Options checkbox, and specify the applicable values.

  6. Click Continue.

    Creating an AWS CloudFormation stack
  7. On the Specify Parameters page, in the KeyPair field, enter the name of an Amazon EC2 key pair in the region in which you want to create the stack for live streaming. The key pair must be associated with the account that you're currently logged on with. If you created a key pair when you performed the procedure in Creating an Amazon EC2 Key Pair, enter the name of that key pair.

  8. In the InstanceType field, enter an instance type, and click Continue. The default value is m1.xlarge.

    The instance type determines the pricing for your Amazon EC2 instance that is running Windows Server. For more information about Amazon EC2 instance types for Windows, including pricing information, go to Amazon EC2 Running Microsoft Windows Server & SQL Server.

  9. Review the settings for the stack. When you're satisfied with the settings, click Create Stack.

    Your stack may take several minutes to create. To track the progress of the stack creation, select the stack, and click the Events tab in the bottom frame. If AWS CloudFormation cannot create the stack, the Events tab lists error messages.

    When your stack is ready, in the top frame, the status for the stack changes to CREATE_COMPLETE.

    AWS CloudFormation Create Stack Events tab

    When your stack is created, click the Outputs tab, which displays the stack creation outputs. You will use these values when you set up Microsoft Expression Encoder later in the process.

    AWS CloudFormation Create Stack Outputs tab

Next: Verifying that Your Amazon EC2 Windows Server Instance Is Running