Run Utming on a cloud VM
Run Utming on a Linux virtual machine (VM) so your assistant keeps working when your own computer is off. Every device you connect shares the same assistant.
This page puts the steps in order and links to the full instructions for each one. It works with any provider that gives you a Linux VM with Docker.
Set up the server
Section titled “Set up the server”-
Create a Linux VM, AMD64 or ARM64, with two CPU cores, 8 GB of memory, and 50 GB of persistent disk. Add your SSH key and allow SSH only from your own address. For provider notes and trial limits, see Choose a cloud server.
-
Connect through SSH and install Docker Engine 25 or newer with Compose v2. The full list of tools is in What you need.
-
Install Utming with a prebuilt bundle or from source. Both create a private
.envfile with your access token, a Vault key, and a database password. -
Choose how you reach the server:
- Private: open an SSH tunnel from your computer and use
http://localhost:4310. You don't open any port other than SSH. - Public with bundled HTTPS: point a domain at the VM, allow inbound TCP 80 and 443, and add HTTPS. Your address looks like
https://utming.example.com. - Public with your own proxy: point a domain at the VM, allow inbound traffic on the proxy's HTTPS port, and use your own proxy. The address can use a custom port, such as
https://utming.example.com:8443.
- Private: open an SSH tunnel from your computer and use
-
Open the
.envfile in the installation folder on the VM and copy the value ofUTMING_AUTH_TOKEN. -
Open your address in a browser and enter the token. Finish onboarding to connect a model.
Connect your devices
Section titled “Connect your devices”Use the same address and token in each browser and desktop app:
- Browser: open the address and enter the token.
- Desktop app: choose Connect to a server on the setup screen. See Connect the desktop app.
To use Telegram or WhatsApp, connect them on the server's Channels page. See Connect Telegram or WhatsApp.
Connecting the desktop app doesn't move its local assistant or its data to the server. To switch back, choose Replay onboarding… → Change server → Use this computer.
Keep it private
Section titled “Keep it private”- Don't expose Utming over plain HTTP on a public address. Use the SSH tunnel or HTTPS.
- Keep the access token private. It gives full access to your assistant and connected accounts. If it leaks, rotate it.
- Use your provider's firewall too. Don't publish PostgreSQL, the browser, the workspace, or the Docker API. See Finish the network setup.
- Back up the server and keep a copy outside the VM. The backup needs the Vault key to restore saved credentials.