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
Metered TURN
Open Relay Project
AWS TURN server
Google Cloud 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 Server | Feature Availability | Explanation |
Costs | Paid Service | Paid service with 0.4 USD per GB and Volume discounts available. |
Reliability | 99.999% | 5 Nine Reliability. The best available |
Bandwidth | unlimited | You can have unlimited users using the service at any point in time |
CPU | Unlimited | Basically, unlimited CPU is available |
Maintenance | Maintenance free | You don't need to do any maintenance it is a managed service |
Scalability | Unlimited | The service is scalable as much as needed |
Support | Email support is provided with the plans | |
Privacy | yes | All the data is encrypted. So no one. Not even Metered can see what data is going through their servers |
Protection | yes | All 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
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 Project | Feature Availability | Explanation |
Costs | Free | It is a Free service so no costs are involved |
Reliability | 99.999% | It has 5 Nine Reliability. The best available |
Bandwidth | unlimited | You can have unlimited users using the service at any point in time |
CPU | Unlimited | Basically, unlimited CPU is available |
Maintenance | Maintenance free | You don't need to do any maintenance as it is a managed service |
Scalability | Unlimited | The service is scalable as much as needed |
Support | Email support is provided for free | |
Privacy | yes | All the data is encrypted. So no one. Not even Open Relay Project can see what data is going through their servers |
Protection | yes | All sorts of built-in projection against DDoS attacks and other forms of attacks |
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:
Need to predict the TURN usage that you will need
Ec2 instance CPU, RAM considerations
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 Server | Feature Availability | Explanation |
Costs | Paid Service | Depends on the type of instance and bandwidth requirement |
Reliability | Unknown | Instance could go into limbo and needs to be restarted |
Bandwidth | Limited | Limited on the bandwidth you purchased |
CPU | Limited | On the size of instance that you purchased |
Maintenance | Needs to be maintained | Needs to maintained with a dedicated devops developer |
Scalability | Not scalable | Limited to the size of EC2 instance you purchased |
Support | No support available | No support is available |
Privacy | Yes | All the data is encrypted. So no one. Not even AWS can see what data is going through their servers |
Protection | Maybe | Basic protection available but not enough. Dedicated protection needs to be purchased |
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 Features | Open Relay Project | Metered TURN Server | AWS TURN server | Google TURN server |
Costs | Free | 0.4 /GB and 0.1 /GB with volume discounts | Depends on Instance and Bandwidth speed purchased and usage | Depends on Instance and Bandwidth speed purchased and usage |
Reliability | 99.999% | 99.999% | unknown (instance can go into limbo) | unknown (instance can go into limbo) |
Bandwidth | 50 GB per month | unlimited | according to the plan purchased | according to the plan purchased |
CPU | unlimited | unlimited | according to the instance purchased | according to the instance purchased |
Maintenance | Maintanence Free | Maintanence Free | Maintanence required | Maintanence required |
Scalibility | Scalable | Scalable | limited by the size of Instance purchased | limited by the size of the Instance purchased |
Support | Email Support | Email Support | No Dedicated Support | No Dedicated Support |
Privacy | yes | All the data is encrypted. So no one. Not even the service provider can see what data is going through their servers | All the data is encrypted. So no one. Not even the service provider can see what data is going through their servers | |
Protection | yes | yes | Basic protection available but not enough. Dedicated protection needs to be purhased | Basic protection available but not enough. Dedicated protection needs to be purhased |