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

Creating an AWS CloudFormation Stack for Live Streaming

The following procedure uses an AWS CloudFormation template to create a stack that launches the AWS resources required by live streaming, including an Amazon EC2 instance.


You begin to incur hourly charges for an Amazon EC2 instance when you create the AWS CloudFormation stack that deploys that 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. When your live event is over, delete the stack that you created for live 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 an AWS CloudFormation Stack for Live Streaming.

To create an AWS CloudFormation stack for live streaming

  1. To start the wizard that creates a AWS CloudFormation stack, choose the applicable link:

    If you have your own Wowza license, choose the Amazon EC2 region where you want AWS CloudFormation to launch an Amazon EC2 instance:

    If you want to charge a Wowza license to your AWS account, choose the Amazon EC2 region where you want AWS CloudFormation to launch an Amazon EC2 instance:

  2. If you are not already signed in to the AWS Management Console, sign in when prompted. The wizard starts, and the selected URL automatically appears under Provide an S3 URL to template.

  3. (Optional) In the Create a New Stack wizard, you can change the stack name to something appropriate for your live-streaming event. The stack name must not contain spaces and must be unique within your AWS account.

    Do not change the Template option or the address in Provide an S3 URL to template.

  4. Choose Next Step.

  5. On the Specify Parameters page, for ApplicationName, enter a short name (without spaces) for your Wowza application, or keep the default.

  6. For InstanceType, enter an instance type, which determines pricing for your Wowza instance. For more information about Amazon EC2 instance types, see Available Instance Types.

    For information about pricing, see Amazon EC2 Pricing.

  7. For KeyPair, enter the name of an Amazon EC2 key pair for the region in which you want to create the live streaming stack. 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 that name here.

  8. For StartupPackageURL, enter a URL that points to a startup package to configure the Wowza Streaming Engine to your needs, or keep the default.

  9. For StreamName, enter a short name (without spaces) for your live stream, or keep the default.

  10. Enter your license key in the WowzaLicenseKey field. This is either the key for a license that you already owned or a key that you got when you performed the procedure in the Getting a License for Wowza Streaming Engine 4.2 topic.

    If you purchased AddOns, you can include additional license keys by separating the key values with a pipe (|) character.

  11. Choose Next Step.

  12. (Optional) On the Options page, add the key-value pairs for any tags you plan to use. For more information about using tags, see Adding Tags to Your AWS CloudFormation Stack.

  13. (Optional) To configure SNS notification, to specify how long you're willing to wait for the stack to be created, to choose whether to roll back changes if stack creation fails, and to enter a stack policy, choose Advanced, and adjust settings as desired.

  14. Choose Next Step

  15. Review the settings for the stack, and then choose Create. AWS CloudFormation creates the stack.

    Creating your stack creation might take several minutes. To track the progress of stack creation, select the stack, and then choose the Events tab. If AWS CloudFormation cannot create the stack, the Events tab lists error messages.

    When your stack is ready, in the list of stacks, the status for the stack changes to CREATE_COMPLETE.

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

Next: Verifying that Wowza Streaming Engine 4.2 Is Running