Ugacomp

How much does Ant Media cost to stream to 1000 viewers on AWS

Where necessary, you may need to have access to a VPS server so you can follow how to implement the steps in this article.  You can get a cheaper VPS Server from Contabo with 4vCPU cores, 8GM RAM, and 32TB Bandwidth for less than $5.50 per month. Get this deal here now

Table of Contents

Cloud VPS S

$5.50 Monthly
  • 4 vCPU Cores | 8GB RAM

CLOUD VPS M

$15.50 Monthly
  • 6 vCPU Cores | 16GB RAM

CLOUD VPS L

$17.50 Monthly
  • 8 vCPU Cores | 24GB RAM

Ant Media offers both the community and Enterprise editions of the software. You can run the community version of the software for free and you don’t have to pay for anything. However, the Enterprise edition is a paid license that allows you to benefit from running a scalable live-streaming infrastructure.

So, in an event that you want to stream to a large number of concurrent viewers, you will need to use the Enterprise Ant Media Edition either on-cloud or on-premise. This will enable you to deploy a scalable infrastructure to fit your live-streaming needs.

Now, the cost of running Ant Media server on AWS to stream to 1000 concurrent viewers can be calculated based on a couple of factors you need to put into consideration here: These factors include:

ec2 instance costs

Ant Media recommends allocating at least 4 CPU cores and 8GB RAM per 200 concurrent users. This means that if you’re to stream to 1000 concurrent viewers, you will need to run 5 server instances each with 4 CPU cores and 8GB RAM. Here is a table showing the amount of CPU and RAM you would need to stream to 1000 concurrent viewers based on various video resolutions, Bitrate, and Fram Rate:

Video ResolutionBit RateFrame RateCPU CoresRAM (GB)
480p1 Mbps30 fps2040
720p2 Mbps30 fps3060
1080p3 Mbps30 fps4080
1440p5 Mbps30 fps60120
4K10 Mbps30 fps80160

By leveraging AWS’s computing power and storage capabilities, Ant Media server can be run at scale, ensuring that streams are delivered without interruptions or delays. AWS provides the ability to seamlessly scale up or down as per your streaming demand. It’s a reliable and cost-effective solution for businesses that require high-quality streaming infrastructure.

4-core CPU AWS Server Instances

If you’re planning to stream to 1000 concurrent viewers, you can use AWS server instances to build your infrastructure. Here are some of the AWS instance types each with 4 CPU cores, suitable for running Ant Media to stream to 1000 concurrent viewers

Instance TypevCPUsRAM (GiB)On-Demand Price (per hour)24-Hour CostMonthly Cost
t3.xlarge416$0.166$3.984$139.44
m5.xlarge416$0.384$9.216$322.56
r5.xlarge432$0.37$8.88$310.80
c5.xlarge48$0.34$8.16$285.60

Since you would need 5 AWS instances each with 4 CPU cores to stream to 1000 concurrent viewers, here is the total price breakdown based on various AWS instance types:

Instance TypevCPUMemory (GiB)Price per Hour (5 instances)Price per 24 Hours (5 instances)Price per Month (5 instances)
t3.xlarge416$1.5$36$1095
m5.xlarge416$0.96$23.04$700.8
r5.xlarge432$1.26$30.24$919.8
c5.xlarge48$0.85$20.4$620.5

8-core CPU AWS Server Instances

You would need 3 AWS instances each with 8 CPU cores to stream to 1000 concurrent viewers. Here are some of the 8-Core CPU AWS instances suitable for running Ant Media server to stream to 1000 concurrent viewers.

Instance TypevCPUMemory (GiB)Price per Hour ($)Price per 24 Hours ($)Price per Month ($)
c5.2xlarge8160.348.16560.64
c5d.2xlarge8160.389.12624.96
c5n.2xlarge8210.4210.08691.20
m5a.2xlarge8160.348.16560.64
m5ad.2xlarge8160.399.36642.24
m5d.2xlarge8160.378.88608.16
r5a.2xlarge8160.4410.56725.76
r5ad.2xlarge8160.4911.76806.40
r5d.2xlarge8160.4711.28774.72

Here is the total price breakdown when deploying 3 instances each with an 8-core CPU based on various AWS instance types

Instance TypevCPUMemory (GiB)Price per Hour (3 instances)Price per 24 Hours (3 instances)Price per Month (3 instances)
C5.2xLarge816$0.804$19.296$587.22
c5d.2xlarge816$0.948$22.752$693.18
c5n.2xlarge821$1.056$25.344$772.80
m5a.2xlarge816$0.69$16.56$504.38
m5ad.2xlarge832$0.834$20.016$610.62
m5d.2xlarge832$0.768$18.432$561.06
r5a.2xlarge816$0.87$20.88$635.55
r5ad.2xlarge832$1.014$24.336$742.62
r5d.2xlarge832$0.948$22.752$693.18

16-core CPU AWS Server Instances

You would need 2 AWS instances each with 16 CPU cores to stream to an audience of 1000 concurrent viewers. Here are some of the 16-Core CPU AWS instances suitable for running Ant Media to stream to 1000 concurrent viewers

Instance TypevCPUMemory (GiB)Price per Hour ($)Price per 24 Hours ($)Price per Month ($)
c5.4xlarge16320.6816.321,121.28
c5d.4xlarge16320.7618.241,248.96
c5n.4xlarge16420.8420.161,382.40
m5a.4xlarge16320.6816.321,121.28
m5ad.4xlarge16320.7818.721,283.52
m5d.4xlarge16320.7417.761,216.64
r5a.4xlarge16320.8821.121,451.52
r5ad.4xlarge16320.9823.521,612.16
r5d.4xlarge16320.9422.561,545.28

Here is the total price breakdown when deploying 2 instances each with a 16-core CPU based on various AWS instance types

Instance TypevCPUMemory (GiB)Price per Hour (2 instances)Price per 24 Hours (2 instances)Price per Month (2 instances)
C5.2xLarge816$0.536$25.728$783.36
c5d.2xlarge816$0.632$30.336$923.04
c5n.2xlarge821$0.704$33.792$1,029.12
m5a.2xlarge816$0.46$22.08$670.32
m5ad.2xlarge832$0.558$26.832$816.96
m5d.2xlarge832$0.512$24.576$748.80
r5a.2xlarge816$0.58$27.84$846.72
r5ad.2xlarge832$0.676$32.448$988.32
r5d.2xlarge832$0.632$30.336$923.04

32-core CPU AWS Server Instances

You would need one AWS server instance with a 32-core CPU to stream to 1000 concurrent viewers. Here are some of the 32-Core CPU AWS instances suitable for running Ant Media to stream to 1000 concurrent viewers

Instance TypevCPUMemory (GiB)Price per Hour ($)Price per 24 Hours ($)Price per Month ($)
c5.9xlarge32721.3632.642,243.20
c5d.9xlarge32721.5236.482,496.96
c5n.9xlarge36961.6840.322,764.80
m5a.8xlarge32641.3632.642,243.20
m5ad.8xlarge32641.5637.442,566.08
m5d.8xlarge32641.4835.522,432.64
r5a.8xlarge32641.7642.242,902.08
r5ad.8xlarge32641.9647.043,224.64
r5d.8xlarge32641.8845.123,090.24

Bandwidth & Data Transfer costs

When viewers watch or listen to content streamed by Ant Media Server, they consume data, which results in data transfer.

When a viewer requests to access a video or audio stream from Ant Media Server, data is transferred from the server to the viewer’s device over the internet. The amount of data transferred is dependent on various factors, such as the video or audio quality, the length of the stream, and the number of viewers.

For example, if a viewer watches a 10-minute video streamed by Ant Media Server at 1080p resolution, the server would need to transfer a large amount of data to the viewer’s device to ensure the video is streamed smoothly. This data transfer results in data usage for the viewer, which could impact their internet usage and potentially result in additional data charges from their internet service provider.

Here is a table that shows the bandwidth required to stream to 1 viewer based on the parameters like video resolutions, standard frame rates, and bitrates:

Video ResolutionBit Rate (Mbps)Frame Rate (fps)Total Monthly Data Transfer (GB)
480p0.5155.13
480p13011.00
720p13015.81
720p1.53023.71
1080p23033.77
1080p33050.66
4K830217.51

Here is a table that shows the total amount of bandwidth required to stream to 1000 concurrent viewers using Ant Media, based on different video resolutions, standard frame rates, and bitrates:

Video ResolutionBit Rate (Mbps)Frame Rate (fps)Total Monthly Data Transfer (TB)
480p0.515155.52
480p130331.78
720p130476.78
720p1.530715.16
1080p2301021.33
1080p3301532.00
4K8306590.22

Estimated AWS Data Transfer costs for Ant Media Streaming

AWS offers a regressive pricing model, where the costs decrease when more data is transferred. Here’s a table of estimated AWS data transfer prices for EC2 to the internet:

Data Transfer TypePrice per GB (US East)
First 1 GB/monthFree
Up to 10 TB/month$0.09
Next 40 TB/month$0.085
Next 100 TB/month$0.07
Next 350 TB/month$0.05
Over 500 TB/monthContact AWS Support

Software license costs

Ant Media charges $0.33/hr to run the enterprise edition of the software on AWS. Now, if you want to run a stream for 24 hours per day, then you’ll need to multiply the hourly cost by 24 to get the daily cost:

$0.33/hour x 24 hours/day = $7.92/day

To find the total cost of running a stream for 24 hours per month, you need to multiply the daily cost by the number of days in a month.

Assuming a month has 30 days, the total cost for running a stream for 24 hours per month would be:

$7.92/day x 30 days/month = $237.60/month

So the total cost for running a stream for 24 hours per month with Ant Media enterprise edition on AWS would be $237.60.

Conclusion

To sum it up, you will need to put into consideration the type of ec2 instances you want to deploy, the video resolutions and their corresponding bitrates, and the total number of hours you want to stream per month. With all these metrics in mind, you’re able to understand the estimated amount of money you’re likely to pay when streaming to 1000 concurrent viewers using Ant Media Server.

More Ant Media Server articles to explore

Hire us to handle what you want

Hire us through our Fiverr Profile and leave all the complicated & technical stuff to us. Here are some of the things we can do for you:

  • Website migration, troubleshooting, and maintenance.
  • Server & application deployment, scaling, troubleshooting, and maintenance
  • Deployment of Kubernetes, Docker, Cloudron, Ant Media, Apache, Nginx,  OpenVPN, cPanel, WHMCS, WordPress, and more
  • Everything you need on AWS, IBM Cloud, GCP, Azure, Oracle Cloud, Alibaba Cloud, Linode, Contabo, DigitalOcean, Ionos, Vultr, GoDaddy, HostGator, Namecheap, DreamHost, and more.
 

We will design, configure, deploy, or troubleshoot anything you want. Starting from $10, we will get your job done in the shortest time possible. Your payment is safe with Fiverr as we will only be paid once your project is completed.