# Connect your first server

> Install the Vantuly agent on a VPS you already have, or create one at Hetzner, DigitalOcean, Vultr, AWS, Google Cloud and 5 more providers.

Source: https://vantuly.com/docs/start/connect-server

Open **Servers → Add a server** and choose a **Server source**:

- **Connect a server I have** works with any provider.
- **Create a new server** creates the machine for you at Hetzner Cloud, DigitalOcean, Vultr, Akamai (Linode), UpCloud, Contabo, AWS, Google Cloud, OVHcloud or Oracle Cloud. Connect the provider first in **Settings → Providers**; see [Cloud providers](/docs/start/cloud-providers) for what each one needs.

## Connect a server you have

1. Check that the server meets the [requirements](/docs/reference/requirements): a fresh Ubuntu 24.04/26.04, Debian 12/13, Fedora 43/44 or Enterprise Linux 9 system with at least 1 GB of RAM.
2. Enter a **Server name**, for example `web-1`.
3. Pick a **Stack**:
   - **WordPress & PHP**: NGINX, PHP-FPM, MariaDB, Redis, WP-CLI and Composer.
   - **Node.js**: NGINX and Node.js 24, no PHP or MariaDB.
   - **The PHP stack and Node.js**.
   - **Decide later**: the first site installs its stack (2–4 minutes, once).
4. Click **Create install command**, copy it and run it on the server as root:

   ```bash
   curl -fsSL https://<your-panel>/install.sh | sudo bash -s -- <token>
   ```

   The token is valid for 1 hour. The server only needs outbound port 443; nothing has to be opened inbound for the agent.

The panel shows the progress: **Waiting for the agent to call in**, **Agent connected**, **Facts received**, then each setup step. Setup usually takes about two minutes. When the server shows **Connected**, it is ready for sites.

## What setup installs

- Firewall allowing only SSH, HTTP and HTTPS, and fail2ban against brute-force logins.
- Automatic security updates.
- The stack you picked, tuned for the server's memory. Servers with less than 2 GB of RAM also get a swap file.
- On Enterprise Linux 9 and Fedora, SELinux stays in the mode the server had; enforcing is supported.
- PHP comes from the distribution when it ships the version you picked, otherwise from ondrej (Ubuntu), deb.sury.org (Debian) or Remi (Enterprise Linux, Fedora). Fedora uses Valkey, its drop-in Redis replacement.

## If setup fails

The server shows **Setup failed** with the log of the step that broke. Common causes are an unsupported OS, too little memory or disk, or another control panel (cPanel, CloudPanel) already installed. If the token expired, create a new install command.
