TURN Server Costs: A Complete Guide

TURN Server Costs: A Complete Guide

In this article we are going to learn about different TURN server providers. Their pros and cons along with the pricing.

There are options for going with free providers, paid providers and also an option to run your own TURN server.

We are going to look at all these options along with which option is going to be the best for you.

These are the Top 4 options when you are in the market for a TURN server

  1. Metered TURN

  2. Open Relay Project

  3. AWS TURN server

  4. Google Cloud TURN server

Metered TURN Server

1. Metered TURN Server Service

Metered Video is a TURN service service provider, with 99.999% reliability, dedicated email support, volume discounts and host of other features

With a Paid TURN service like Metered you get unlimited scalability and rock solid reliability.

Metered TURN ServerFeature AvailabilityExplanation
CostsPaid ServicePaid service with 0.4 USD per GB and Volume discounts available.
Reliability99.999%5 Nine Reliability. The best available
BandwidthunlimitedYou can have unlimited users using the service at any point in time
CPUUnlimitedBasically, unlimited CPU is available
MaintenanceMaintenance freeYou don't need to do any maintenance it is a managed service
ScalabilityUnlimitedThe service is scalable as much as needed
SupportEmailEmail support is provided with the plans
PrivacyyesAll the data is encrypted. So no one. Not even Metered can see what data is going through their servers
ProtectionyesAll sorts of built-in projections against DDoS attacks and other forms of attacks

Just add the credentials in your application and forget about the TURN services.

Here are some of the features of Metered TURN server:

Metered TURN server is a TURN server service provider. Metered TURN server is highly available, reliable and offers both STUN and TURN Capabilities.

The Metered TURN server runs on port 80 and 443 to bypass corporate firewalls, many corporate/enterprise firewall only allow port 80 or 443, it also supports turns + SSL for maximum compatibility.

✅ Runs on port 80 and 443
✅ Tested to bypass most firewall rules
✅ Enterprise-grade reliability (99.999% uptime)
✅ Support TURNS + SSL to allow connections through deep packet inspection firewalls.
✅ Support STUN
✅ Supports both TCP and UDP
✅ Dynamic routing to the nearest server
✅ Production Ready
✅ Global Geo-Location Targeting
✅ Standards Compliant

You can create an account here:

Sign Up for Metered TURN Server

Open Relay Project TURN Server

1. Open Relay Project

Open Relay project is a free TURN server. This is a good option if you need a free TURN server for your project

It is production-ready TURN server that runs on ports 80 and 443 designed to bypass most firewalls and offers unlimited scalability and maintenance-free service.

Let's evaluate the TURN service based on our parameters

Open Relay ProjectFeature AvailabilityExplanation
CostsFreeIt is a Free service so no costs are involved
Reliability99.999%It has 5 Nine Reliability. The best available
BandwidthunlimitedYou can have unlimited users using the service at any point in time
CPUUnlimitedBasically, unlimited CPU is available
MaintenanceMaintenance freeYou don't need to do any maintenance as it is a managed service
ScalabilityUnlimitedThe service is scalable as much as needed
SupportEmailEmail support is provided for free
PrivacyyesAll the data is encrypted. So no one. Not even Open Relay Project can see what data is going through their servers
ProtectionyesAll sorts of built-in projection against DDoS attacks and other forms of attacks

Image description

3. AWS TURN Server

There is an option to create your own TURN server using the AWS cloud services. To do that you will need to get a EC2 cloud instance and install the open-source TURN services available

Running your own TURN server is quite a hassle especially if you don't know what you are doing.

You could end up spending a lot of money and resources along with the hassle of maintaining the TURN server.

Considerations are as follows:

  1. Need to predict the TURN usage that you will need

  2. Ec2 instance CPU, RAM considerations

  3. Bandwidth requirements

If you get this wrong you could end up spending a lot more money than is required or get the service to go down when you really need it

AWS charges a lot of money for out of AWS data transfer also instance size costs increases exponentially with increases in the size of instance

Apart from this there are aspects of maintaining the TURN server and Protection from attacks

Once you have installed the TURN server on your EC2, you need to maintain all the dependencies update the linux operating system and manage other tasks as well
With regards to protection from DDoS and other types of attacks, the AWS does provide a basic level of protection for free but it is not enough

You need to purchase another level of protection that also adds a level of cost

AWS TURN ServerFeature AvailabilityExplanation
CostsPaid ServiceDepends on the type of instance and bandwidth requirement
ReliabilityUnknownInstance could go into limbo and needs to be restarted
BandwidthLimitedLimited on the bandwidth you purchased
CPULimitedOn the size of instance that you purchased
MaintenanceNeeds to be maintainedNeeds to maintained with a dedicated devops developer
ScalabilityNot scalableLimited to the size of EC2 instance you purchased
SupportNo support availableNo support is available
PrivacyYesAll the data is encrypted. So no one. Not even AWS can see what data is going through their servers
ProtectionMaybeBasic protection available but not enough. Dedicated protection needs to be purchased

Image description

4. Google TURN server

Google does not have a dedicated TURN server offering. But Google does offer cloud computing similar to AWS.

Thus you can create a cloud server on Google and run a TURN server on Google Cloud

Similar to AWS there are issues with running your TURN server yourself on the cloud
considerations like

  • Bandwidth requirements

  • Instance requirements

  • Maintenance issues

  • Protection

  • Reliability

1. Bandwidth requirements

You need to know how much bandwidth your TURN server will require and you can configure this on your Google cloud compute.

Bandwidth charges can be quite expensive if they are not properly configured and google does charge a lot of money for out of network bandwidth

Plus you need to configure before hand how much peak speed you require. Thus if you purchase a compute with 1 GBPS but peak band width is more than that they you will be throttled and result in a band experience

2. Instance requirements
Because TURN servers channel encrypted data they require huge CPU compute and thus selecting a instance according your needs is essential

If you choose a small instance than you might get a worse experience with CPU topping out. A large instance will run up the costs

3. Maintenance issues
You need to maintain the TURN server that is running on the Google Cloud. Installing and updating the dependencies along with the operating system that is linux is essential for reliable functioning of the TURN server

A dedicated dev ops engineer is required to maintain the TURN servers

4. Protection
Protection is also required from DDoS attacks and other hacking that is going on. Although free DDoS protection is offered by Google.

We do not know how effective it is or if a dedicated DDoS protection needs to purchased. If it needs to be purchased than that adds to the costs

5. Reliability

One issues with cloud providers in general is that the instances are prone to go into limbo

which is state in which the instance no longer works and needs to be restarted, which causes an interruption in service

One by pass of this is creating multiple instances and load balance between then but that creates a whole lot complexities and increases costs

Conclusion

Running your TURN server is a complicated endeavor. A much easier and cost-effective way we think is to purchase a TURN server service like Metered

With 99.999% uptime, email support and volume discounts and unlimited scalability. It is a no brainer

Here is a run down on all the different ways to run a TURN server along with their benefits and costs

TURN Server FeaturesOpen Relay ProjectMetered TURN ServerAWS TURN serverGoogle TURN server
CostsFree0.4 /GB and 0.1 /GB with volume discountsDepends on Instance and Bandwidth speed purchased and usageDepends on Instance and Bandwidth speed purchased and usage
Reliability99.999%99.999%unknown (instance can go into limbo)unknown (instance can go into limbo)
Bandwidth50 GB per monthunlimitedaccording to the plan purchasedaccording to the plan purchased
CPUunlimitedunlimitedaccording to the instance purchasedaccording to the instance purchased
MaintenanceMaintanence FreeMaintanence FreeMaintanence requiredMaintanence required
ScalibilityScalableScalablelimited by the size of Instance purchasedlimited by the size of the Instance purchased
SupportEmail SupportEmail SupportNo Dedicated SupportNo Dedicated Support
PrivacyyesAll the data is encrypted. So no one. Not even the service provider can see what data is going through their serversAll the data is encrypted. So no one. Not even the service provider can see what data is going through their servers
ProtectionyesyesBasic protection available but not enough. Dedicated protection needs to be purhasedBasic protection available but not enough. Dedicated protection needs to be purhased