Hi there, since we have 50 CCU limit on free plan, Can we host relay server in our own hosting instead of going to "pay as you go plan" , Just like LRM node, for Mirror, we allow us to use relays to make NAT punchthrough possible
There's only the "Pay as you go" plan. You'll have to host the NAT on a seperate server. (For testing, you could use port forwarding)
You'd rent it. Unity, Photon, etc. there are plenty. You could even write your own but you'd still have to rent a webserver or AWS to run the code on.
Here's an open source repo of a NAT relay server software, however it's in german but there's an english doc link at the top. https://github.com/thinktecture/relayserver Requirements from the doc: The following software components must be installed on the Windows Server used for the operation of the RelayServer: Microsoft .Net Framework v4.6 or later Microsoft SQL Server (Express) 2014 or later RabbitMQ with Erlang execution environment So for this you'd even have to rent a more expensive Windows webserver. Honestly, it's best to just use the one Unity provides and see how much money you'll end up paying in the first month. Probably little to nothing so just go that route and consider switching as you get more traffic.
Also, check this out, Mirror transport is coming to Netcode: https://forum.unity.com/threads/connecting-unity-transport-using-unity-relay-with-mirror.1332639/