wtree Cloud

Add a remote server

Connect a VPS over SSH, prepare it for deployments and run your first app on it.

Add a remote server so apps build and run there instead of on the panel host.

Before you start

  • A running wtree Cloud. See Install.
  • A VPS with SSH access from the panel host. Hostinger, DigitalOcean, Hetzner, Vultr, Linode, Scaleway, Google Cloud and AWS all work.
  • bash as the server's default shell. wtree Cloud is developed and tested with bash only.
  • If you connect as a non-root user, passwordless sudo. Without it the setup script stops with an error:
echo '<user> ALL=(ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/<user>

Connect and prepare the server

Go to Integrations › SSH keys, click Add SSH key, generate a key and copy its public key.

SSH keys page

Create the VPS. When the provider asks for SSH keys, add the public key you copied and, ideally, your own computer's public key. The steps are similar across providers.

Adding an SSH key at the provider

Go to Servers, click Add server and enter its IP address, SSH port (default 22), username (often root) and the SSH key, then click Create.

Add server form

Open the server and click Terminal to test connectivity.

On the Overview tab, click Open setup under Set up server, open the Deployments tab and click Setup server. A modal streams the script output. Use Modify script first if you need to customise the script.

Deployments tab of Setup ServerSetup script logs

You run the setup once. After a wtree Cloud update, check the release notes to see whether it needs to run again.

Deploy an app to it

Create an application. The server name is shown at the top of the app. With no server selected it uses wtree Cloud Server.

Set the source (for example repository, branch main, build path /) and click Deploy. Follow the build in the Logs tab.

When the build finishes, open Settings › Domains and click Add domain to get a generated domain.

Verify

Run Validate and confirm every row is green.

Next steps

On this page