paint-brush
How to Create a Streaming Service for 10K Viewers on AWS in 5 Minutesby@antmedia
336 reads
336 reads

How to Create a Streaming Service for 10K Viewers on AWS in 5 Minutes

by Ant Media ServerOctober 16th, 2023
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

AWS Streaming Service Wizard simplifies the process of setting up a streaming service on AWS. By providing the number of publishers and players you need, you get streaming and playing endpoint URLs. This tool generates an AWS CloudFormation template for an Ant Media Server cluster, which you can easily modify or stop. To use it, you need an AWS account. Detailed instructions are provided, and this tool offers flexibility in choosing a free subdomain and SSL certificate or using your own. It's a quick and user-friendly way to create and manage your streaming service on AWS.
featured image - How to Create a Streaming Service for 10K Viewers on AWS in 5 Minutes
Ant Media Server HackerNoon profile picture




We are very excited to introduce the AWS Streaming Service Wizard which may change your streaming experiences. With this tool, you will be able to create your own streaming app on AWS in minutes by providing only 2 inputs: number of the streams you need and number of the players you need.

Table of Contents

  • What AWS Streaming Service Wizard does
  • How AWS Streaming Wizard Works
  • How you can use it


What AWS Streaming Service Wizard does

AWS Streaming Service Wizard creates an auto-scaling streaming service on AWS in minutes, according to your requirements. You provide the number of the publishers and players as input and you will get streaming and playing endpoint URLs. Then you can start streaming or playing with these endpoints directly.


How AWS Streaming Service Wizard Works

AWS Streaming Service Wizard generates an AWS CloudFormation template effortlessly.  This template can create an Ant Media Server cluster infrastructure that meets your streaming requirements. This infrastructure behaves as a streaming service and every asset in it is in your control. You can also modify it if desired. Or you can stop it whenever you want.


How to Use this Tool

In the remaining part of this post, we’ll walk you through the process of setting up such a cluster with this tool and streamlining the configuration process for optimal performance.


Before starting you only need one thing to use this tool: an AWS account. If you don’t have one you can get it here.


Watch our tutorial on YouTube:


Or use this step-by-step instruction:


  1. First, go to the AWS Streaming Service Wizard.
  2. Enter the expected viewer and publisher numbers according to your requirements.
  3. (Optional) If you click on “Generate Free Subdomain and SSL Certificate“, you will have a free subdomain (with .antmedia.cloud extension) provided along with a Let’s Encrypt certificate. If you choose this option, you need to inform us about your load balancer address and subdomain so that we can perform the necessary updates via DNS.If you don’t check this option you can provide your own certificate to the CloudFormation template later.
  4. Click the Submit button.
  5. You will see the cluster configuration summary as a table.


aws streaming service wizard on ant media server


6. At this point we have a CloudFormation template that can create our streaming service. We can download the template or directly upload it to the AWS CloudFormation service by clicking “Open in CF”.

7. Now, let’s continue with the easy way by clicking the “Open in CF” button. After this point, everything will proceed on the AWS console. Once you log in to the AWS console you will be greeted with a screen similar to the one below.


aws cloud setup


8. Fill in the three fields that appear by clicking the “Next” button. After filling in the required fields, click the “Next” button to start the installation process.


aws cloud setup with ant media


  • Stack Name: it will describe your stacks, it will be like a skeleton


  • KeyName: An Amazon EC2 key pair name. If there is no value here, you must create an ssh key (EC2 > Key Pairs).


  • (Optional) LoadBalancerCertificateArn: Amazon Resource Name (ARN) of the certificate to associate with the load balancer. Check out “How to get SSL Certificate on AWS Certificate Manager for your Domain Name?” for additional help. If you have selected “Generate Free Subdomain and SSL Certificate,” you will not need the ‘LoadBalancerCertificateArn’. Since the certificates are embedded within the YAML file, they will be automatically imported.


9. Proceed by clicking Next buttons. Then CloudFormation starts installation.

10. After the installation is complete, you can access information about your streaming service by clicking on the “Output” tab. Here you will find the endpoint (URLs) for publishing and playing streams.


AWS Streaming Service Endpoints


In this blogpost, we introduced you to our AWS Streaming Service Wizard which creates a streaming service with auto-scalable infrastructure on AWS in minutes. In this service, all assets are in your hands. You can modify, stop, or restart it as you desire.


If you have any questions, don’t hesitate to ask in the comments. We’ll always be here for you 🙂


Previously Published by Murat Ugur here