I have 7 dedicated servers running at a host provider.
Whenever I order a new server I cannot rely on having my servers being setup in the same rack, so I cannot have a physical private network between them. Instead I currently setup SSH tunnels between them with autossh
to make e.g. the webservers communicate with databases etc.
I'm provisioning the servers using ansible but as the number of servers grow it's becoming frustrating having to deal with the tunnels and port numbers and autossh
has some issues whenever the network connections have been interrupted. I would much rather just have them all in the same network. I'm thinking about switching to a VPN based solution linke TINC instead. However I'm unsure if it would add too much overhead on the network connections? The servers have Gbit network connections, and currently the use a maximum of 300 mb/sec when they peak. Ping times though the tunnels are around 4ms.
Is using a VPN like tinc a good alternative to the SSH tunnels or is there another better option overlooking?
PS. these are the servers I use: https://www.hetzner.de/dedicated-rootserver/ax60-ssd and https://www.hetzner.de/dedicated-rootserver/dell/dx291