Blog / provider setup
Hermes Agent on Hetzner VPS: Setup, Cost & Sizing
A Hetzner cloud server can be a cost-effective home for Hermes Agent when you are comfortable operating Linux, Docker, firewalls, updates, and backups. Choose the server type from measured workload, create the server close to the people and services it uses, and keep Hermes state on persistent storage before adding channels or schedules.
- 01
Choose the server and region
Size from memory, persistent disk, browser tools, profiles, and backups. Pick a region that fits users and external services.
- 02
Harden SSH and firewall
Use SSH keys, patch the base image, and create firewall rules for the administration and service paths you actually need.
- 03
Run Hermes with persistent state
Complete Docker setup against /opt/data, then start gateway mode with the same volume and an explicit image tag.
- 04
Back up and verify
Take a recovery copy, restart the container or server, and send one real message through the target channel.
Four-step path
How do you deploy Hermes Agent on Hetzner?
Create the cloud server, reduce its exposed surface, run Hermes with persistent data, and prove the recovery path before production use.
- Step 01
Choose the server and region
Size from memory, persistent disk, browser tools, profiles, and backups. Pick a region that fits users and external services.
- Step 02
Harden SSH and firewall
Use SSH keys, patch the base image, and create firewall rules for the administration and service paths you actually need.
- Step 03
Run Hermes with persistent state
Complete Docker setup against /opt/data, then start gateway mode with the same volume and an explicit image tag.
- Step 04
Back up and verify
Take a recovery copy, restart the container or server, and send one real message through the target channel.
Is Hetzner a good host for Hermes Agent?
Hetzner can be a good fit when you value straightforward Linux servers, regional choice, and infrastructure control more than a guided Hermes application flow.
The provider supplies the server; it does not remove the work of running Hermes Agent. You still own Docker updates, persistent storage, firewall policy, secrets, monitoring, and recovery.
Compare the current server price, backups, snapshots, IPv4 charges, storage, and support against the time required to operate them.
Which Hetzner server size should Hermes Agent use?
Start with enough memory for the Hermes gateway, Docker overhead, logs, and one tool flow, then measure before adding browser automation or several profiles.
Treat any exact size as a starting test. The safe decision comes from live memory and disk measurements with the real model and channel workload.
- A narrow personal bot can be evaluated on a small instance.
- An always-on gateway should retain memory headroom during tool calls.
- Browser automation needs room for Chromium and its temporary files.
- Several profiles need separated resource limits and monitoring.
- Disk must cover the operating system, images, state, logs, and backups.
How should Hetzner firewall rules be configured?
Allow SSH only from trusted addresses where possible, expose no dashboard or API port directly to the public internet, and keep Hermes traffic outbound unless a deliberate integration needs an inbound endpoint.
- Restrict SSH by source address when its location is stable.
- Use a VPN, SSH tunnel, or authenticated proxy for dashboard access.
- Open API ports only when an external tool requires them.
- Keep webhook ports narrow and protected when an integration requires inbound delivery.
- Audit rules again after moving the deployment or changing providers.
What should be persistent and backed up?
Persist /opt/data so configuration, sessions, memories, skills, cron jobs, hooks, and provider credentials survive image replacement. Back it up independently from the server snapshot.
A Hetzner snapshot can restore the whole machine, but it does not give you an easy, provider-independent copy of Hermes state. Keep a tested backup of the Hermes directory and document the restore procedure.
Stop activity that writes to the data directory before copying it, or use a database-safe backup process. Do not run two gateways against the same live directory.
Is Hetzner cheaper than managed Hermes Agent hosting?
The server may have a lower direct bill, but the complete comparison includes setup, maintenance, backups, storage, networking, monitoring, and incident response.
Hetzner pricing and add-on charges can vary by server type, location, and account. Review the live quote instead of relying on a copied hourly figure.
Choose Hetzner when infrastructure control is part of the requirement. Choose managed hosting when the desired outcome is a working assistant and server administration is not.
Which primary sources support this page?
Product behavior is checked against the current deployment flow. These external links provide the upstream project or channel documentation used for setup details.
Direct answers
Frequently asked questions
Can Hermes Agent run on a Hetzner cloud server?
Yes, when the server runs a supported Linux and Docker environment and you persist the Hermes data directory. The provider choice does not remove runtime, security, backup, or recovery responsibilities.
Does Hermes Agent need a public IPv4 address on Hetzner?
Many messaging gateways make outbound connections, but integrations that receive webhooks can require an inbound path. Decide from the channels and tools you use rather than opening every port.
Are Hetzner snapshots enough for recovery?
They help recover the server, but keep a separate backup of the Hermes data directory so recovery is not tied to one provider or one machine image.
Which Linux image should I choose?
Choose a current distribution supported by Docker and maintain it with security updates. A minimal image reduces unnecessary services but still needs operational access and monitoring.
Key takeaways
- A Hetzner cloud server can be a cost-effective home for Hermes Agent when you are comfortable operating Linux, Docker, firewalls, updates, and backups. Choose the server type from measured workload, create the server close to the people and services it uses, and keep Hermes state on persistent storage before adding channels or schedules.
- Start with one model, one channel, and one controlled test conversation.
- Use managed hosting when deployment speed matters more than operating the server yourself.
Continue the setup
Related Hermes Agent guides
Blog guide
Hermes Agent VPS Requirements: CPU, RAM & Disk
Plan CPU, RAM, disk, Linux, and Docker for Hermes Agent. Compare a small personal bot with browser, cron, and team workloads.
Read nextBlog guide
Best VPS for Hermes Agent: Specs, Cost & Providers
Find the best VPS for Hermes Agent by CPU, RAM, disk, providers, persistence, uptime, cost, and managed alternatives.
Read nextBlog guide
How to Deploy Hermes Agent with Docker and Docker Compose
Deploy Hermes Agent with Docker Compose, keep state and skills persistent, verify the gateway, and upgrade containers without losing memory.
Read nextBlog guide
How to Upgrade, Back Up, and Roll Back Hermes Agent
Back up Hermes Agent configuration, memory, and credentials, upgrade on purpose rather than by accident, and roll back a version that breaks a workflow.
Read next