← To articles
Security

Backup tunnel: surviving a VPS outage without losing clients

Flux editorial · 32 min

A rig abroad lives through a tunnel to a rented VPS. The VPS dies — the machine vanishes from the catalogue entirely: rentals break, clients leave. This guide is about what the marketplace actually penalises when you move to a spare server, and about a service that switches the rig over on its own.

All figures come from six of our own rigs with paid rentals, over three test runs. The rating behaviour is observed, not documented by the marketplace.
01

The problem this grew out of

3 min

The hosting setup in question looks like this: physical machines with GPUs sit at home in Russia and are rented out through the vast.ai marketplace. That does not work directly — you need an exit abroad. Each rig holds a tunnel to a rented VPS overseas, and the whole world sees the machine at that VPS address.

This arrangement has one weak spot, and you remember it exactly once — when the provider emails you about scheduled maintenance. Say a forty-minute window, and all your VPS instances sit in the same data centre, which means they reboot together.

What exactly is lost

The VPS goes down, the rig goes with it. Not "runs slower" — it disappears from the catalogue entirely: the marketplace stops seeing it, active rentals break, clients move to other hosts.

Forty minutes of that is every machine you own dropping out of search results at once, and a reliability rating damaged on each of them.

The cost is asymmetric. A rating dip recovers by itself within hours. A client who leaves never comes back: they find another host, set their environment up there, and stop looking for you.

The idea

Rent a spare VPS from a different provider in a different country, and teach the rigs to hop over to it automatically. Sounds simple. In practice you immediately hit questions the marketplace documentation does not answer:

  • Does the marketplace penalise an IP change — or only genuine unavailability?
  • Does unlisting the machine before the switch help?
  • How deep is the dip and how long does it take to recover?
  • What happens to client containers during the move?

What follows is what came out of it. First the measurements on live machines with paid rentals, then a ready-made solution with scripts.

Every figure in this guide comes from six rigs: 2× RTX 5080, RTX 5090, 4× RTX 4090, RTX 3080, RTX 3080 Ti. Tunnels on Xray 26.3.27, VLESS + Reality + Vision, the kaalia host agent.

PAID MATERIAL

The full guide unlocks after payment

Below is what the article includes. One-time payment, access stays in your account forever.

01 The problem this grew out of 3 min open above
02 How the rig → VPS → marketplace chain works 3 min
03 What actually costs you reliability 4 min
04 What the measurements showed 5 min
05 The fix: what the failover service does 2 min
06 Installing the failover service 5 min
07 The link-quality watcher 2 min
08 Day-to-day operation and thresholds 4 min
09 Pitfalls and a maintenance-day checklist 4 min
  • Full text with every chapter
  • Commands, configs and checklists
  • Lifetime access in your account
$87 one-time
Unlock for $87
Money-back guarantee if the material fails to open
Bought it already? Sign in to your account

Need help with the move?

We will set it up turnkey with a launch guarantee.

View services