# Any server you own. Or one we create in your account.

> Unrent works on any server running Ubuntu 24.04 or 26.04, or Debian 12 or 13 (amd64 or arm64), at any provider: paste one command and the agent connects. Or connect your Hetzner, DigitalOcean, Vultr, Akamai (Linode), Scaleway or UpCloud account and Unrent creates the server, with a firewall and a one-time enrollment token.

URL: https://unrent.dev/features/servers/

## Bring your own server

On the server, as root:

```
curl -fsSL https://get.unrent.dev/install.sh | sudo sh -s -- --token <one-time token>
```

The console gives you the command with a token that works once and expires after 15 minutes. The script checks the release against its manifest and checksums, installs two systemd services and connects. [What it does, line by line](https://unrent.dev/docs/install/).

Start in **observe** mode to get a read-only inventory of the server (OS, Docker, open ports, SSH, cron, disk) before you let Unrent manage anything.

## Create a server on your cloud

1. **Connect your cloud.** Paste an API token from Hetzner, DigitalOcean, Vultr, Akamai (Linode), Scaleway or UpCloud (for Scaleway also the Project id). It is checked, then stored encrypted; only its last four characters are ever shown.
2. **Pick location, type and image.** From your provider’s live lists. No SSH key by default and no root password; add a key and limit SSH to an address range if you want it.
3. **Unrent creates it.** The provider’s firewall, letting in only web traffic (80, 443) and ping, plus SSH if you added a key, then the server with a one-time token bound to its own addresses.
4. **It connects.** You watch it go from creating to booting to installing to connected. Deleting it later needs a passkey approval.

- **Six clouds**: Hetzner, DigitalOcean, Vultr, Akamai (Linode), Scaleway and UpCloud, each with its own firewall, tags and live options.
- **More clouds** (Coming): AWS, Google Cloud, Azure and OVHcloud are next.
- **Adopt a running server** (Coming): A fuller report and step-by-step takeover for servers you already run by hand.

## Questions

### What does a server need?

A server running Ubuntu 24.04 or 26.04, or Debian 12 or 13 (amd64 or arm64) with systemd, root for the install and 200 MB free in `/var/lib`. Apps and databases need Docker Engine 27 or newer; the installer can install it with `--install-docker`.

### How do I remove Unrent from a server?

Run the installer with `--uninstall` (add `--purge` to delete its state). Containers, databases and their data are never touched.
