Launch the stack - Live Streaming on AWS with Amazon S3

Launch the stack

Follow the step-by-step instructions in this section to configure and deploy the solution into your account.

Time to deploy: Approximately five minutes

  1. Sign in to the AWS Management Console and select the button to launch the live-streaming-on-aws-with-amazon-s3.template AWS CloudFormation template.

    Live Streaming on AWS with MediaStore launch button

  2. The template launches in the US East (N. Virginia) Region by default. To launch the solution in a different AWS Region, use the Region selector in the console navigation bar.

    Note

    This solution uses MediaLive, which is currently available in specific AWS Regions only. Therefore, you must launch this solution in an AWS Region where this service is available. For the most current service availability by Region, refer to the AWS Regional Services List.

  3. On the Create stack page, verify that the correct template URL is in the Amazon S3 URL text box and choose Next.

  4. On the Specify stack details page, assign a name to your solution stack. For information about naming character limitations, see IAM and AWS STS quotas, name requirements, and character limits in the AWS Identity and Access Management User Guide.

  5. Under Parameters, review the parameters for this solution template and modify them as necessary. This solution uses the following default values.

    Parameter Default Description
    Source Input Type

    URL_PULL

    Specify the input type for MediaLive: RTP_PUSH, RTMP_PUSH, URL_PULL (HLS), or INPUT_DEVICE (AWS Elemental Link). Detailed instructions for each input type can be found in the appendix.

    Source URL <Optional input>

    If you selected URL_PULL for Source Input Type, enter the URL for your source stream. By default, this parameter contains the primary demo source URL.

    Source Username <Optional input>

    If you selected URL_PULL for Source Input Type, enter the username for your source stream if using authentication. This value will be stored securely in AWS Systems Manager Parameter Store.

    Source Password <Optional input>

    If you selected URL_PULL for Source Input Type, enter the password for you source stream if using authentication. This value will be stored securely in AWS Systems Manager Parameter Store.

    Input Security Group CIDR Block <Optional input>

    For RTP_PUSH and RTMP_PUSH input types, specify the CIDR block to restrict access to the MediaLive input endpoint. This should be the IP or IP range of you your source stream location/network.

    Encoding Profile

    HD-720p

    Specify the encoding profile to use with MediaLive.
    Start MediaLive Channel

    No

    Choose whether to start the MediaLive channel when the solution is created. We recommend starting the channel if using the demo preview player.
  6. Select Next.

  7. On the Configure stack options page, choose Next.

  8. On the Review and create page, review and confirm the settings. Select the box acknowledging that the template will create IAM resources.

  9. Choose Submit to deploy the stack.

    You can view the status of the stack in the AWS CloudFormation console in the Status column. You should receive a CREATE_COMPLETE status in approximately five minutes.

    Note

    To test the live stream playback, navigate to the AWS CloudFormation stack Outputs tab, copy the Amazon CloudFront URL, and open the URL in any player compatible with HTTP Live Streaming (HLS). For more details, refer to Amazon CloudWatch metrics.