Edge Installation
Install the edge gateway on your Linux server using the bootstrap command.
After creating a deployment, you need to run the installation command on the Linux server at your site.
Prerequisites
- A Linux server at the site (see hardware requirements)
- Root or sudo access on the server
- Outbound internet connectivity on port 443 (for downloading Docker images and establishing the VPN connection — no inbound ports are needed)
- The bootstrap command from the deployment creation dialog
Running the installation
Copy the bootstrap command from the deployment detail page and run it on your edge server:
curl -sSL https://api.fleetera.ai/api/edge/install.sh | \
sudo bash -s -- --api-url https://api.fleetera.ai --token <TOKEN>Run the command with sudo to ensure the script has the necessary permissions to install Docker and the VPN client.
What the bootstrap script does
- Checks connectivity — probes outbound HTTPS (port 443) to the platform endpoints before changing anything, so a firewall block fails fast with a clear error
- Installs Docker — if Docker is not already present on the machine, the script installs it
- Sets up VPN — installs and configures a WireGuard-based VPN client and joins your private mesh network using the pre-authorized auth key
- Downloads configuration — pulls the generated Docker Compose file into the gateway's install directory (
/opt/fleetera-edge/<alias>by default) - Starts the edge stack — launches the Fleetera Edge Runtime, the Edge Crawler, and the Watchtower auto-updater
- Registers with the cloud — the runtime sends its first heartbeat, and the deployment status changes from Deploying to Online
The platform shows the installation progress live on the deployment page as the script reports each step.
Token management
The bootstrap token is a one-time use credential:
| State | Description |
|---|---|
| Valid | Token is available and has not expired |
| Used | Token has been consumed by a successful bootstrap |
| Expired | Token has passed its 24-hour validity window |
Regenerating a token
If the token expires or the installation fails, you can regenerate it from the deployment detail page:
- Navigate to the deployment
- Click Regenerate Token
- Confirm the action — the old token is invalidated
- A new token and VPN auth key are generated
- The updated installation command is displayed
Token regeneration is available when the deployment is in Pending, Offline, or Error status. It is not available when the deployment is Online.
Verifying the installation
After the bootstrap script completes:
- Check the deployment status in the Fleetera platform — it should show Online
- Verify the VPN IP address appears on the deployment detail page
- Check that Docker containers are running on the edge server:
docker psYou should see the deployment's containers, named after its alias: fleetera-runtime-<alias> (the Edge Runtime), fleetera-edge-crawler-<alias> (OPC UA discovery), and fleetera-watchtower-<alias> (automatic updates).
Stopping and restarting
To stop the edge gateway, change into the gateway's install directory (/opt/fleetera-edge/<alias> by default) and stop the stack:
cd /opt/fleetera-edge/<alias>
docker compose downTo restart it:
cd /opt/fleetera-edge/<alias>
docker compose up -dStopping the edge gateway causes the deployment status to change to Offline in the platform after the heartbeat timeout (approximately 5 minutes).