Skip to Content
Servers

Add a server

Add another machine to Deplo with one command run on that machine.

Deplo gives you a command. Run it as root on the new machine: the server shows up in Settings -> Servers by itself. No SSH, no address to type. Instance admins only.

Check the machine first: Server requirements.

Add it

Open the dialog

Settings -> Servers -> Add.

Name it

A Display name, like eu-west-1.

Let teams use it

Team access: All teams, or Specific teams and tick them. You can change it later in Server settings.

Pick what it's for

Under What this server is for, keep Everything unless you want a dedicated server.

Run the command

Click Add server, then run the command it shows on the new machine:

curl -fsSL 'https://deplo.example.com/install-agent.sh' --output /tmp/deplo-agent-install.sh && echo '<token>' | sudo bash /tmp/deplo-agent-install.sh - 'https://deplo.example.com' '<fingerprint>'

The server goes from Provisioning to online by itself.

The command is shown once and works once, for about an hour. Lost it? Open the server, then its menu (three dots, top right) -> Show install command.

Choose what it's for

TilePick it for
EverythingRunning and building apps. The usual choice
BuildBuilding apps for your other servers, so they stay free. See Build servers
BackupsHolding backup files. It runs nothing

The server list shows the last two as Build only and Backups only. You can change it later in Server settings.

A Migration source is not a tile: the migration wizard adds it for the machine you move away from. Remove it when the migration is done.

Open ports 80 and 443

Deplo needs no open port on the machine. Your apps do: allow 80 and 443 in the machine's firewall and in your provider's. A Build or Backups server needs neither.

Behind a router, forward 80 and 443 to the machine. Deplo finds the router's address and uses it for your apps. Several machines behind one router are fine: add each one with its own command.

Check readiness

Check readiness, next to the server's menu, tests the server once: agent, Docker, routing, capacity and build methods. Nothing depends on it: it tells you what to fix.

Good to know

  • An app and its database must be on the same server to reach each other by name.
  • To take a server out, see Remove a server.

Something wrong? See Servers and agents.

Did this page help you?

On this page