How to create and setup a STUN/TURN server on AWS

Context and requirements

Genymotion Android 8.0 and above images require a STUN/TURN server for WebRTC connections.

Genymotion Device Image ver. 13.0.0 forwards all WebRTC connections to Genymotion's STUN/TURN server.

Genymotion instances require a public IP and Internet access to reach the STUN/TURN server.

If a public IP is not available, you can deploy your own STUN/TURN server.

This tutorial shows how to install and configure a STUN/TURN server on AWS.

Prerequisites

Install and configure CoTURN server

Configuring the Genymotion instance to use your TURN server