Podmaker
All pages
Use

Servers

Connect servers you already have, or let Podmaker create them on Hetzner, DigitalOcean, Vultr or AWS with your API key.

Servers

A server is any Linux machine running imp-agent. There are three ways to add one:

Way When
Install over SSH You already have the machine and Podmaker may log in once. No command to run by hand.
Enroll an existing server You already have the machine and prefer to run one command yourself.
Provision with a provider API key Podmaker creates the machine and enrolls it automatically.
Import a provider server The machine exists at a connected provider; you want it registered without changes.

Server roles

Role Needs on the server Does
worker (default) Docker Engine + Compose plugin runs project containers and managed services
proxy Caddy with its Admin API on 127.0.0.1:2019 serves your domains with automatic HTTPS
builder git, buildctl, a rootless BuildKit daemon builds images from Git commits (guide)
manager Docker Swarm manager (clusters)

The server that runs the panel already has proxy and worker if you answered yes to “use this server for your projects” during the install.

Install over SSH

Podmaker connects to the server, installs the agent (and Docker for worker) and waits until it is online. You never run the installer yourself.

  1. Servers → Add server, enter a name, then open the server. The Install the agent over SSH card appears while no agent is online.
  2. Allow Podmaker’s key, one of two ways:
    • I’ll add the key myself: run the one-line command shown on the card on the server, best from your own terminal over SSH. Provider web consoles often garble pasted text with non-US keyboard layouts. Provider panels that apply SSH keys only to new or rebuilt servers do not add it to a running one.
    • Podmaker adds it with a one-time password: enter the user’s password. After you confirm the host key, Podmaker logs in once with it, adds its key, and continues with the key. The password is not stored, queued or logged. Forgot the root password? Most providers can reset it (Hetzner: Rescue → Reset root password, no reboot).
  3. Connection: host or IP, port, and the user. Use root, or a user that can run sudo without a password. Choose the roles.
  4. Check connection. Podmaker shows the server’s host key fingerprint before it sends anything. Compare it with ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub on the server if you want to be sure, then confirm This is my server.
  5. Connect and install. The progress shows each step and the installer’s output: connect, install, enroll, cleanup.

Safety:

  • Private key: each organization has one Podmaker SSH key (ed25519). The private half never leaves the Control Plane and is stored encrypted.
  • Host key: Podmaker connects only to the server whose host key you confirmed. If the key changes, it stops before logging in.
  • Enrollment token: the token used during the install is single-use. It is written to a root-only file that deletes itself when it starts, and is redacted from the output.
  • Removing the key: tick Remove Podmaker’s SSH key afterwards to have the key line deleted at the end. Leave it to reinstall or re-enroll later with one click.

Errors name the cause: SSH_AUTH_FAILED (the key is not authorized for that user), SUDO_REQUIRED, SSH_HOST_KEY_MISMATCH, INSTALL_FAILED (with the installer’s output), ENROLL_TIMEOUT (check journalctl -u imp-agent on the server).

Enroll an existing server

Requirements: 64-bit Linux with systemd, outbound HTTPS to the Agent API host, root access. For worker: Docker Engine with the Compose plugin installed first.

In the panel: go to Servers → Add server, enter a name, click Register and copy the command. With the CLI:

podmaker server create app-01 --label env=prod
podmaker server enroll app-01          # prints the one-time install command (valid 60 min)

Run the command on the server:

curl -fsSL https://agent.panel.podmaker.sh/install.sh | sudo sh -s -- \
  --url https://agent.panel.podmaker.sh/agent/v1 --token imp_et_...

For other roles, set them before sh:

curl -fsSL https://agent.panel.podmaker.sh/install.sh | sudo IMP_AGENT_ROLES=worker,proxy sh -s -- --url ... --token ...

The installer:

  1. Downloads the agent and verifies its signature when a release key is published.
  2. Creates the imp-agent system user and adds it to the docker group.
  3. Enrolls with the one-time token. The agent creates its own key, and the Control Plane signs a client certificate valid for 30 days that renews itself.
  4. Starts imp-agent.service.

It never restarts Docker or anything else. Within a few seconds the server shows as online. Check it with:

podmaker agent ping app-01
journalctl -u imp-agent -f        # on the server

Existing workloads are safe

Podmaker inventories every container on the server and can show the logs of any of them. It only restarts, changes or opens a terminal in what it created itself (label imp.managed=true). Deployments refuse to take ports or container names that something else already uses (PORT_CONFLICT). You can enroll a production server that already runs sites without disturbing them.

Proxy role on another server

The panel server’s Caddy is set up by the installer. To make another server an edge, install Caddy, run it in API mode (systemctl disable --now caddy && systemctl enable --now caddy-api), and enroll with IMP_AGENT_ROLES=proxy. The agent creates the podmaker HTTP server on :80/:443 and adds only routes whose id starts with imp-.

Create servers with a provider API key

In the panel:

  1. Providers → Connect a provider. Choose Hetzner, DigitalOcean, Vultr or AWS and paste the API key. The hint under the title says where to create it. Podmaker checks the key with a read-only call, then stores it encrypted.
  2. Servers → Add server → Create at a provider.
    • Choose the account and the location.
    • Pick a server type. Only types the provider can create in that location right now are listed, with their price. The list is read live from the provider, so new types appear and retired ones disappear on their own; use the refresh button to reload it.
    • Pick the operating system: supported Ubuntu/Debian images.
    • Choose the roles, and optionally a firewall (HTTP/HTTPS open, SSH only from your address).
  3. Create server. The server page shows each step: create, boot, enroll. On first boot the server installs Docker (for workers) and the agent, and enrolls itself. No SSH and no commands.

If the chosen type ran out of capacity in the meantime, Podmaker says so before creating anything and lists what is available there.

With the CLI: connect a provider account once. Credentials are validated, encrypted with the master key and never shown again.

# Hetzner: Cloud Console → Security → API tokens (Read & Write)
printf 'token=%s\n' "$HCLOUD_TOKEN" | podmaker provider add hetzner-main hetzner

# DigitalOcean: API → Tokens
printf 'token=%s\n' "$DO_TOKEN" | podmaker provider add do-main digitalocean

# Vultr: Account → API
printf 'token=%s\n' "$VULTR_TOKEN" | podmaker provider add vultr-main vultr

# AWS: IAM access key with EC2 permissions
printf 'access_key_id=%s\nsecret_access_key=%s\n' "$AWS_ACCESS_KEY_ID" "$AWS_SECRET_ACCESS_KEY" \
  | podmaker provider add aws-main aws --region eu-central-1

See what you can create:

podmaker provider catalog hetzner-main     # regions, server types, images

Create a server. Podmaker passes a cloud-init script that installs the agent and enrolls it with a short-lived token. No SSH step is needed:

podmaker provider provision hetzner-main app-02 \
  --region fsn1 --type cx33 --image ubuntu-24.04 \
  --role worker --firewall --ssh-source 203.0.113.7/32 --ssh-key my-laptop
  • --firewall (Hetzner, DigitalOcean) opens HTTP/HTTPS and allows SSH only from --ssh-source.
  • --network attaches a private network/VPC so servers talk privately.
  • --cluster swarm-1 joins a Swarm cluster as soon as the server enrolls.
  • The command waits until the server is online. Use --wait 0 to return at once and follow podmaker operation show <id>.

For worker and manager roles the cloud-init script installs Docker Engine (get.docker.com) before the agent, unless the image already has it.

Import a server that already exists at a provider

podmaker provider servers hetzner-main            # machines in the account
podmaker provider import hetzner-main 12345678    # register one; prints the install command

Import changes nothing at the provider. Run the printed command on the machine to enroll it.

Keep inventory honest

podmaker provider reconcile hetzner-main

Compares provider resources with Podmaker. It reports servers that were deleted or changed at the provider and servers created outside Podmaker. It also runs every 5 minutes. Podmaker never deletes cloud servers; do that in the provider console, then podmaker server delete <name>.

Day-to-day

podmaker server list
podmaker server inspect app-01                 # OS, CPU/RAM/disk, Docker version, roles
podmaker container list app-01
podmaker container logs app-01 <container> --tail 300
podmaker container restart app-01 <container>
podmaker server update app-01 --label env=prod --label team=web

Agent upgrades

podmaker agent upgrade app-01

The agent downloads the new release, checks the signature with the key it was built with, replaces itself and restarts. Unsigned or tampered binaries are refused. Releases come from the Control Plane’s binaries directory (deploy.sh update publishes the freshly built agents).

Remove a server

podmaker agent revoke app-01 --reason "decommissioned"   # certificate revoked immediately
podmaker server delete app-01

On the machine: systemctl disable --now imp-agent.

See what your provider account has

Providers → click an account reads it live:

  • its servers, each marked in Podmaker (linked or matched by IP) or not;
  • networks, load balancers, volumes, IP addresses, firewalls and DNS zones (Hetzner).

A server that is not in Podmaker has an Install Podmaker button. It adds the server to Servers; there, Install the agent over SSH finishes the job. If you have lost the root password, use One-time password or the provider’s rescue system.

Each server page has a Connected to card:

  • the provider account it lives at;
  • the apps (project environments) on it;
  • the domains it serves;
  • its shared services and which apps use them.

Each item links to its page.