Self-hosted app·Developer tools, backends and AI
GraphHopper hosting
on a Panama VPS.
GraphHopper hosting on a 4 vCPU / 4 GB VPS in Panama City: sizing by map extent, jar or Docker deploy, from $12.99/mo, and when to go dedicated.
- OpenStreetMap
- Java
- Docker
- Debian
PTY1·Panama City
In stockRecommended for this use case
- 1 Gbps port15 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Panamanian law
01/06
Short answer.
Yes, you can run GraphHopper on our servers in PTY1, Panama City, and for one country or a small region the plan we recommend is Cloud VPS Standard: 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB of monthly transfer on a 1 Gbps port, for $12.99 a month. The figure that decides your plan is RAM during the import and the graph preparation, not RAM while serving requests. Panama's complete OpenStreetMap extract is a 28 MB file and fits this plan with room to spare; Europe or the whole planet belongs on a dedicated server, and the sizing table below says where the line falls rather than letting you discover it through an out-of-memory error six hours into an import.
Deploy: Debian 13 on Cloud VPS Standard.
02/06
What GraphHopper
is and who runs it.
GraphHopper is an open-source routing engine written in Java and released under the Apache License 2.0. It reads OpenStreetMap data (plus GTFS feeds if you want public transit), builds a routing graph on disk and answers HTTP requests: routes with turn-by-turn instructions, isochrones and shortest-path trees, and map matching, which snaps a recorded GPS trace onto the road network. Vehicle behaviour is described in JSON "custom models", so a truck profile with height and weight limits is a configuration file rather than a fork of the code. GraphHopper GmbH maintains the engine and sells a hosted Directions API built on it; the people who self-host are usually fleet and delivery operators with their own vehicle rules, app developers who would rather not pay per request or send their users' coordinates to a third party, and researchers who need millions of routes against a frozen dataset.
The current release line is 11.x. Version 11.0 was announced on 14 October 2025, and the README now links the 11.1 web-service jar; the 11.x line needs Java 17 or newer. The master branch already asks for Java 25, so plan for that when the next major version lands.
One design choice shapes everything that follows. GraphHopper has a speed mode based on Contraction Hierarchies (CH), which is fast and light per request but fixes the profiles at import time; a hybrid mode based on landmarks (LM); and a flexible mode with no preparation at all, which accepts per-request custom models but can use a lot of RAM for a single long query. The default configuration prepares CH for a car profile and nothing else.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/06
Requirements and sizing.
GraphHopper's deployment guide publishes the only planet-scale numbers worth anchoring on. Building the base graph for the whole planet takes about 60 GB of RAM and three hours; setting datareader.dataaccess=MMAP brings that down to 31 GB at the price of an import measured in days. CH for a car profile with turn costs needs about 120 GB and roughly 25 hours, and LM for car about 80 GB. In May 2022 the planet graph had around 415 million edges, Europe 150 million and North America 86 million.
Dividing those figures gives a rough budget of 145 bytes per edge for the base import and 290 bytes per edge for car CH with turn costs. The regional numbers below are that division applied linearly, so they are theoretical, and since OpenStreetMap has grown since 2022 they are a floor rather than an estimate.
| Coverage | Theoretical RAM (import / car CH with turn costs) | Plan we would use | Price per month |
|---|---|---|---|
| Panama, Costa Rica or another small country, car profile | Not measured | Cloud VPS Standard, 4 GB | $12.99 |
| Central America and the Caribbean, or two to three profiles | Not measured | Cloud VPS Pro (8 GB) or Power (16 GB) | $22.99 / $42.99 |
| North America (86 M edges) | ~12.5 GB / ~25 GB | Dedicated Iron (32 GB) without turn costs, Steel (64 GB) with them | $64.99 / $84.99 |
| Europe (150 M edges) | ~22 GB / ~43 GB | Dedicated Steel, 64 GB | $84.99 |
| Planet (415 M edges) | ~60 GB / ~120 GB | Dedicated Titan, 192 GB (Tungsten's 128 GB is too tight once the OS and off-heap memory are counted) | $219.99 |
Above 16 GB of RAM, our own catalogue argues against a VPS: the 32 GB Ultra VPS costs $65.99 and the 32 GB Iron dedicated server $64.99, and at 64 GB the gap widens to $119.99 against $84.99, with traffic on the dedicated port unmetered under fair use. CH preparation is largely bound by memory bandwidth, which is why the deployment guide says its duration depends heavily on CPU and memory speed. The EPYC 4004 machines (Iron to Tungsten) have two DDR5 channels; the Titan's EPYC 9254 has twelve, and for a planet build that difference is the reason we would choose it.
On the Standard VPS, four vCPU are enough for serving. Each CH preparation runs on one thread by default (prepare.ch.threads: 1), and raising it multiplies peak memory, so leave it alone on 4 GB. The server listens on port 8989 and its admin interface on 8990, and the example configuration binds both to localhost; keep it that way and put a reverse proxy on 443 in front. The open-source server has no authentication of its own, so anything you expose publicly is open to anyone who finds the hostname.
Transfer is not unmetered on a VPS, but routing rarely threatens the 15 TB. Assuming a 10 KB JSON response, 15 TB is about 1.5 billion responses a month in theory; the CPU gives out long before the transfer allowance does.
04/06
How to deploy it
with us.
We recommend the release jar under systemd rather than Docker. The jar is the project's own artefact on Maven Central; the commonly used image is a community build, as explained below.
Order the server through the deploy link for Debian 13 on Cloud VPS Standard. Debian 13's default Java is OpenJDK 21, which satisfies GraphHopper 11.x.
apt update && apt install -y openjdk-21-jre-headless wget
useradd --system --create-home --home-dir /srv/graphhopper graphhopper
cd /srv/graphhopper
sudo -u graphhopper wget \
https://repo1.maven.org/maven2/com/graphhopper/graphhopper-web/11.1/graphhopper-web-11.1.jar \
https://raw.githubusercontent.com/graphhopper/graphhopper/11.x/config-example.yml \
https://download.geofabrik.de/central-america/panama-latest.osm.pbf
sudo -u graphhopper cp config-example.yml config.ymlIn config.yml, point datareader.file at panama-latest.osm.pbf, and set the two limits that protect a small server from one expensive request; the timeout is commented out by default and the visited-node limit is unlimited:
routing.max_visited_nodes: 1000000
routing.timeout_ms: 30000Run the import as its own step. The deployment guide notes that this needs less memory than letting server import implicitly, and that the parallel garbage collector helps further:
sudo -u graphhopper java -Xmx2g -Xms2g -XX:+UseParallelGC \
-jar graphhopper-web-11.1.jar import config.ymlA 2 GB heap leaves the other half of the VPS to the kernel, metaspace and off-heap buffers.
Then a unit file at /etc/systemd/system/graphhopper.service:
[Unit]
Description=GraphHopper routing server
After=network-online.target
[Service]
User=graphhopper
WorkingDirectory=/srv/graphhopper
ExecStart=/usr/bin/java -Xmx2g -Xms2g -jar graphhopper-web-11.1.jar server config.yml
Restart=on-failure
[Install]
WantedBy=multi-user.targetsystemctl enable --now graphhopper, wait for "Server - Started" in the journal, and curl -s localhost:8989/health should answer. For TLS and a password, Caddy from the Debian repository is the shortest path:
routing.example.com {
basicauth {
api <hash from: caddy hash-password>
}
reverse_proxy 127.0.0.1:8989
}The deployment guide also recommends vm.swappiness=0, and vm.max_map_count=500000 if you use MMAP storage or elevation data.
- 01
With Docker
GraphHopper GmbH does not publish an image. The one its README points to,
israelhikingmap/graphhopper, is built every night from the master branch and also tagged for each release; its maintainers state that they no longer use GraphHopper and are looking for someone to take the repository over. Pin a release tag, neverlatest, becauselatestis unreleased master code. The image comments outbind_hostso the server listens on every interface inside the container, and Docker's published ports bypass host firewall rules such as ufw, so publish 8989 on 127.0.0.1 only and leave 8990 unpublished:services: graphhopper: image: israelhikingmap/graphhopper:${GH_TAG:?set a release tag from Docker Hub} restart: unless-stopped environment: JAVA_OPTS: "-Xmx2g -Xms2g" volumes: - ./data:/data ports: - "127.0.0.1:8989:8989" command: ["--input", "/data/panama-latest.osm.pbf", "--graph-cache", "/data/panama-gh"]To use your own configuration, mount it under
/dataand add"-c", "/data/config.yml"to the command; the image's script takes the last-cit sees. - 02
Keeping the map current
GraphHopper does not apply OpenStreetMap diffs. Each refresh is a fresh import into a new graph directory, followed by a restart pointed at it, and any change to a profile also requires a full re-import. On 4 GB you cannot comfortably import beside a running server, so either accept a short window while you rebuild, or build on a second machine running the same GraphHopper version and copy the graph directory across. Keep the source file and archived graphs in an S3-compatible object storage bucket with rclone or restic; it is an S3 endpoint, not a disk you mount under the graph.
05/06
Cost.
| Item | Per month |
|---|---|
| Cloud VPS Standard: 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB transfer, 1 Gbps | $12.99 |
| Daily backups (+20 %) | $2.60 (theoretical: 20 % of $12.99) |
| Object storage, 250 GB S3 bucket, no request fees | $1.99 |
| Extra IPv4 | $2.00 |
| Priority support | $10.00 |
Yearly billing takes roughly 25 % off, which works out to about $9.75 a month for Standard (theoretical). Payment is in crypto only (AVAX, BCH, BNB, BTC, DOGE, ETH, LTC, SOL, TRX, USDC, USDT, XMR), with balances in US dollars. Top-ups run from $25 to $5,000 and carry a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, so a $100 top-up leaves $110, about eight and a half months of Standard (theoretical); the unused paid part of a top-up is refundable within 14 days. No-KYC: an email address is enough to open an account. Full figures are on the pricing page. The price covers the server; this page assumes you install and maintain GraphHopper yourself.
06/06
Limits, law
and your obligations.
OpenStreetMap data is licensed under the ODbL. Wherever you show routes or maps built from it, you must credit OpenStreetMap and its contributors and make clear the data is available under that licence; if you alter or build upon the data and distribute the result, it must go out under the same licence. The bundled GraphHopper Maps interface loads map layers from Omniscale and Thunderforest and needs a GraphHopper API key for address search, so your visitors' browsers talk to those companies under their terms. Routing requests themselves are answered from the graph on your disk.
Map matching is where privacy law starts to apply. GPS traces of drivers or couriers are personal data, and Panama's Law 81 of 2019, implemented by Executive Decree 285 of 2021, governs how you process them. Panama has no EU adequacy decision, so traces of people in the EU need appropriate safeguards such as the 2021 standard contractual clauses before they reach this server.
The jurisdiction is real but not magic, and the detail is on our offshore hosting page. Article 29 of Panama's Constitution allows private communications to be intercepted only on a judicial order. The US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia as of 31 October 2026, none with Panama, but a mutual legal assistance treaty between Panama and the United States has been in force since 6 September 1995, and a US request would normally travel through it and the Panamanian authorities. Whether Law 51 of 2009, which requires telecommunications operators to keep certain user data for six months, applies to a hosting provider is a question for Panamanian counsel.
What we do not allow is set out in full in the acceptable use policy; it includes sending unsolicited bulk mail through the open port 25, attacking or scanning other networks without authorisation, and content that is manifestly unlawful. Importing road data you have no licence for is your responsibility. A DMCA notice has no legal effect on servers in Panama: we forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful. To reach us, open a support ticket from the client panel. The service is operated by Cyber Host International, S.A., Addison House Plaza, 1st floor, Panama City, Panama.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| TitanDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Titan |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions
people ask first.
Short answers about running this in PTY1. If yours is not here, open a ticket from your panel.
Will the $6.99 Starter plan run GraphHopper?
For a 28 MB extract such as Panama it may, but 2 GB has to hold the JVM heap, its off-heap memory and Debian itself, and the margin disappears the moment you add a second profile or enable elevation.
Does a self-hosted GraphHopper send data to third parties?
The routing server answers from its local graph. The bundled Maps interface does not: it fetches map layers from Omniscale and Thunderforest in the user's browser and uses the GraphHopper Directions API for address search, which needs an API key. If elevation is enabled, the import downloads SRTM tiles once and caches them.
Can I run the Docker image in production?
You can, with a pinned release tag and port 8989 published on 127.0.0.1 only. Bear in mind that the image is a community build whose maintainers are looking for a successor, which is why we prefer the release jar under systemd for anything long-lived.
Can I host the whole planet on a VPS?
Not with CH for car with turn costs. By GraphHopper's own figures that preparation needs about 120 GB of RAM, more than our largest VPS (64 GB) offers. The dedicated Titan with 192 GB is the machine for it; a planet base graph without CH could fit in 64 GB, but long queries in flexible mode would then be slow and memory-hungry.
How often should I rebuild the graph?
As often as your users notice stale roads. Geofabrik publishes fresh extracts daily, and for a small country a weekly rebuild is a reasonable default. Each rebuild is a full import, so keep the previous graph until the new one has passed a few test routes.
Do I have to identify myself to order?
No. No-KYC: an email address is enough, and payment is in cryptocurrency. You remain bound by the acceptable use policy and the obligations above, including the ODbL attribution.
Sources
Every fact on this page, with its source
Checked 5 Nov 2026 unless noted.
Panamanian law and authorities
- Panama Law 81 of 2019, Gaceta Oficial 28743-A; implemented by Executive Decree 285 of 28 May 2021gacetaoficial.gob.pa
- Panama Law 51 of 2009, art. 6, Gaceta Oficial 26374gacetaoficial.gob.pa
- Constitution of Panama, art. 29, Gaceta Oficial 25176s3-legispan.asamblea.gob.pa
EU and other countries
- US Department of Justice, CLOUD Act resources (verified 31 October 2026)justice.gov · verified 31 Oct 2026
- GDPR art. 46 and Commission Implementing Decision (EU) 2021/914 on standard contractual clauseseur-lex.europa.eu
Industry, providers and software
- GraphHopper README, 11.x branch: licence, features, 11.1 jar, Java 17 requirement, community Docker image (checked 5 November 2026)github.com
- GraphHopper README, master branch: Java 25 requirement (checked 5 November 2026)github.com
- GraphHopper deployment guide, 11.x: planet RAM and preparation times, edge counts (May 2022), import command, GC and sysctl advice, Maps UI layer providers (checked 5 November 2026)github.com
- GraphHopper config-example.yml, 11.x: default profile, CH settings, ports 8989/8990 bound to localhost, routing limits (checked 5 November 2026)github.com
- IsraelHikingMap graphhopper-docker-image-push: nightly builds from master, release tags, maintainer notice, graphhopper.sh options (README last modified 28 September 2026; checked 5 November 2026)github.com
- OpenJDK on Debian 13, default OpenJDK 21 (checked 5 November 2026)linuxcapable.com
- Panama Host catalogue and order links: Cloud VPS, dedicated servers, object storage, payment terms (owner catalogue, 1 November 2026)/pricing/
Other references
- GraphHopper 11.0 announcement, 14 October 2025graphhopper.com
- Geofabrik, Central America downloads: Panama extract 28.0 MB (checked 5 November 2026)download.geofabrik.de
- OpenStreetMap copyright and licence, ODbL attribution and share-alike (checked 5 November 2026)openstreetmap.org
- US Department of State, Panama–US mutual legal assistance treaty, in force 6 September 1995state.gov
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.