Self-hosted app·Code, CI and search engines
Nominatim planet server on a dedicated machine in the Swiss Alps.
Run a Nominatim planet server in the Swiss Alps: full-planet sizing, Debian 13 install steps and real costs on the Säntis dedicated server from $109.99/mo.
- OpenStreetMap
- PostgreSQL
ALP1·Swiss Alps
In stockRecommended for this use case
- 10 Gbps portunmetered traffic, fair useIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4KVM console and full rootIncluded
Optional: NVMe +$10 per 2 TB, up to 12 TB · 25 Gbps port +$25 · 32 GB memory +$12
Pay quarterly for 10% less, yearly for 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 12 cores, 24 threads AMD EPYC 4464P
- 3 TB NVMe, up to 12 TB
- 10 Gbps port, unmetered traffic
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
What Nominatim is, and why teams host their own.
Nominatim is the geocoder of the OpenStreetMap project. It turns a free-text query into coordinates (search) and coordinates into an address (reverse), and it is the engine behind the search box on openstreetmap.org. It was originally written by Brian Quinion and is maintained by the Nominatim developer community, with Sarah Hoffmann and Marc Tobias Metten as the other named authors. The current manual covers release 5.3.3. Since the 4.5 release it installs from PyPI as two packages, nominatim-db for import and maintenance and nominatim-api for the Python frontend, and it sits on PostgreSQL, PostGIS and osm2pgsql.
The public instance at nominatim.openstreetmap.org runs on donated servers, and its usage policy is the usual reason a mobility startup or an NGO ends up running its own. It allows an absolute maximum of one request per second per application, forbids autocomplete and systematic queries such as reverse lookups over a grid, and says that services whose primary function is geocoding, package and vehicle tracking named explicitly, must run their own instance. A ride-sharing app that reverse-geocodes every trip start, or an NGO geocoding a backlog of field reports, is outside those limits on the first day. The same policy asks you not to send personal data, and a user's typed home address is exactly that.
02/07
Sizing a full planet import.
The import starts with osm2pgsql and PostgreSQL running side by side, both of them memory-hungry, which is why the manual is blunt about RAM: 128 GB strongly recommended, and no support for out-of-memory problems below 64 GB. Disk is the easier half on our hardware. The manual asks for at least 1 TB for a full planet, recommends NVMe, and warns that the OSM database grows quickly. The flatnode file that holds node coordinates for a planet-sized import needs at least 75 GB on top of that, and the planet PBF itself was 87.1 GB on 1 July 2026.
The other cost is time. The manual expects around 2 to 2.5 days for a planet on a well-configured machine with NVMe, and 4 to 5 days on ordinary SSDs. Most of it is indexing: there are 30 ranks to process, and ranks 26 and 30 each take about a third of the total. That work runs over many parallel database connections, so core count and disk latency are what you are paying for once the RAM is right.
A theoretical disk budget for one planet instance with updates enabled:
| Item | Size | Note |
|---|---|---|
planet-latest.osm.pbf | 87.1 GB (July 2026) | can be deleted after the import |
| Flatnode file | at least 75 GB | keep it; updates need it |
| Wikipedia importance data | about 4 GB in the database | optional, improves result ranking |
| Database, full style, updates enabled | at least 1 TB | the manual's minimum, growing with OSM |
| Total | about 1.2 TB | before WAL, temporary files and growth |
Säntis's 3 TB covers that with headroom for growth, but not two complete instances side by side once WAL, temporary files and growth are counted, and building a fresh import next to the live one is the cleanest way to refresh a planet geocoder without downtime. If that is your plan, add 2 TB of NVMe for $10 a month. Importing with --no-updates, or running nominatim freeze later, drops the roughly half of the database that only exists to apply OSM changes, at the price of no further updates and no TIGER or other external data afterwards. --reverse-only saves about 5 %, which is not worth losing search.
How the plans compare for this workload:
| Plan | CPU | RAM | NVMe | Price/mo | Our view for a planet Nominatim |
|---|---|---|---|---|---|
| Säntis | EPYC 4464P, 12C/24T | 64 GB | 3 TB | $109.99 | The manual's floor. Only for a one-off build you will freeze. |
| Säntis + 2 × 32 GB | EPYC 4464P, 12C/24T | 128 GB | 3 TB | $133.99 | What we recommend. |
| Titlis | EPYC 4564P, 16C/32T | 96 GB | 4 TB | $139.99 | More cores but less RAM than the line above, for more money. |
| Eiger | EPYC 4584PX, 16C/32T | 128 GB | 6 TB | $164.99 | When a tile cache or a second database shares the box. |
| Matterhorn | EPYC 9254, 24C/48T | 192 GB | 8 TB | $219.99 | Sustained high query concurrency, or geocoder and tile server on one machine. |
The honest limit of the EPYC 4004 range (Säntis, Titlis, Eiger) is memory bandwidth: these CPUs have two DDR5 channels, while the EPYC 9254 in Matterhorn has twelve. With dozens of gunicorn workers and PostgreSQL backends reading at once, bandwidth is where we expect a 4004 machine to run out before its cores do, and that is most of what Matterhorn's price buys.
Nominatim sits behind nginx on ports 80 and 443; PostgreSQL on 5432 listens on localhost only. Outbound, the server needs HTTPS to planet.openstreetmap.org for the download and the replication diffs, minutely by default. Traffic on the 10 Gbps port is unmetered under fair use, so the diffs do not register, and the planet download is limited by the mirror rather than by us (theoretical: 87.1 GB at a sustained 1 Gbps takes about 12 minutes).
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/07
Deploying it on Säntis with Debian 13.
Order the server from the link above with Debian 13 and the two RAM options. You get full root and a KVM console, which you will appreciate the first time a postgresql.conf typo stops the database on a machine you cannot otherwise reach. Debian 13 ships everything Nominatim 5.3 needs from its own archive: PostgreSQL 17, PostGIS 3.5.2 and osm2pgsql 2.1.1, all above the manual's minimums of PostgreSQL 12, PostGIS 3.0 and osm2pgsql 1.8.
apt install postgresql-17-postgis-3 osm2pgsql nginx tmux \
python3-venv python3-dev libicu-dev pkg-config build-essential
useradd -m -d /srv/nominatim -s /bin/bash nominatim
sudo -u postgres createuser -s nominatim
sudo -u postgres createuser www-data
python3 -m venv /srv/nominatim-venv
/srv/nominatim-venv/bin/pip install nominatim-db nominatim-api osmium falcon "gunicorn==25.1.0"The compiler and ICU headers are there because pip builds PyICU against the system library. Gunicorn is pinned deliberately: the frontend needs gunicorn 25.0 or later for ASGI, and the manual warns that the uwsgi protocol in 25.2.0 and later fails against recent nginx. If you want the newest gunicorn, proxy over HTTP instead of uwsgi.
Then tune /etc/postgresql/17/main/postgresql.conf with the values from the manual, which are written for a 128 GB machine, and restart PostgreSQL:
shared_buffers = 2GB
maintenance_work_mem = 10GB
autovacuum_work_mem = 2GB
work_mem = 50MB
synchronous_commit = off
max_wal_size = 1GB
checkpoint_timeout = 60min
checkpoint_completion_target = 0.9
random_page_cost = 1.0
wal_level = minimal
max_wal_senders = 0wal_level = minimal is an import setting. Set it back to replica before you rely on pg_basebackup or a standby, and leave autovacuum on, as the manual insists.
Rehearse on a small extract before committing two days to the planet. We use Switzerland from Geofabrik: it imports in a fraction of the time, and place names in German, French, Italian and Romansh give the ICU tokenizer something to chew on.
sudo -iu nominatim
export PATH=/srv/nominatim-venv/bin:$PATH
mkdir -p ~/project ~/flatnode && cd ~/project
wget https://nominatim.org/data/wikimedia-importance.csv.gz
wget -O secondary_importance.sql.gz https://nominatim.org/data/wikimedia-secondary-importance.sql.gz
wget https://download.geofabrik.de/europe/switzerland-latest.osm.pbf
nominatim import --osm-file switzerland-latest.osm.pbf --threads 24 2>&1 | tee setup-ch.log
nominatim search --query "Riehen"When that answers correctly, drop the test database, turn on the flatnode file and start the real import inside tmux, so a dropped SSH session does not cost you a day:
dropdb nominatim
echo 'NOMINATIM_FLATNODE_FILE="/srv/nominatim/flatnode/planet.flatnode"' >> .env
curl -OL https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf
md5sum planet-latest.osm.pbf # compare with the .md5 published next to the file
tmux new -s import
nominatim import --osm-file planet-latest.osm.pbf --threads 24 2>&1 | tee setup.logOnce nominatim admin --check-database is clean, run nominatim replication --init and schedule nominatim replication --once with the systemd timer from the manual's update chapter; the old endless nominatim replication mode is deprecated. For the frontend, use the manual's systemd socket and service, with WorkingDirectory pointed at /srv/nominatim/project; gunicorn then listens on /run/nominatim.sock. In front of it we add a rate limit, because your instance is now the thing other people hammer, and a log format without query strings, because the query string is the user's address:
# /etc/nginx/conf.d/nominatim.conf
log_format geo_noquery '$time_local "$request_method $uri" $status $body_bytes_sent';
limit_req_zone $binary_remote_addr zone=geo:10m rate=10r/s;
upstream nominatim_service { server unix:/run/nominatim.sock fail_timeout=0; }
server {
listen 80;
server_name geo.example.org; # certbot --nginx adds the 443 listener
access_log /var/log/nginx/geo.log geo_noquery;
location / {
limit_req zone=geo burst=20 nodelay;
uwsgi_pass nominatim_service;
include uwsgi_params;
}
}If you prefer Docker, the community image mediagis/nominatim:5.3 does the same import in one container. For a planet, mount volumes on /var/lib/postgresql/16/main and /nominatim/flatnode, give it a large --shm-size (the project suggests half your RAM), change NOMINATIM_PASSWORD from its published default, and publish 8080 on localhost only, never 5432:
docker run -d --name nominatim --shm-size=64g \
-e PBF_URL=https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf \
-e IMPORT_WIKIPEDIA=true -e THREADS=24 \
-e NOMINATIM_PASSWORD='use-a-long-random-one' \
-v nominatim-data:/var/lib/postgresql/16/main \
-v nominatim-flatnode:/nominatim/flatnode \
-p 127.0.0.1:8080:8080 \
mediagis/nominatim:5.3The image defaults to no updates; set REPLICATION_URL and UPDATE_MODE as described in its how-to if you want the data to stay current.
Backups are a business decision more than a technical one. A planet database can always be rebuilt from a fresh PBF in two or three days; if that outage is acceptable, back up .env and your configuration and stop there. If it is not, dump the database to S3-compatible object storage with restic or rclone through the S3 API. A bucket is not a disk to put PostgreSQL on.
04/07
A tile server as well?
If you came here looking to rent an OSM tile server ("OSM Tileserver mieten"), that is a separate stack: osm2pgsql into its own PostGIS database, Mapnik, renderd and mod_tile, with openstreetmap-carto as the style. switch2osm maintains a step-by-step guide for Debian 13. It needs its own planet import plus a tile cache that grows with what your users look at. We would not run both planet imports on one Säntis: two imports competing for the same RAM and NVMe make both slower and harder to debug. Put the tiles on a second server, Eiger if you expect to cache deep zoom levels, or move everything to Matterhorn if one machine matters more to you than the price. For Switzerland alone, geocoder and tile server share a machine comfortably.
05/07
What it costs.
| Line | Per month |
|---|---|
| Säntis (EPYC 4464P, 64 GB, 3 TB NVMe) | $109.99 |
| 2 × +32 GB RAM | $24.00 |
| Recommended total (128 GB) | $133.99 |
| Optional: +2 TB NVMe for side-by-side rebuilds | $10.00 |
| Optional: 2 TB backup space | $10.00 |
| Optional: priority support | $10.00 |
Every dedicated server includes the 10 Gbps port with unmetered traffic under fair use, DDoS protection, one IPv4 address, the KVM console, full root, DDR5 ECC memory and NVMe Gen4. Quarterly billing takes 10 % off and yearly billing 25 %; on the base Säntis that works out to $296.97 a quarter or $989.91 a year. The full catalogue is on the pricing page.
Payment is in cryptocurrency only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins), with prices and balances in US dollars. Top-ups run from $25 to $5,000 and earn a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500; a $500 top-up gives a $600 balance, enough for four months of the recommended configuration with $64.04 left over. The unused paid part of a top-up is refundable within 14 days; the bonus is not. Accounts are no-KYC: an email address is enough.
06/07
Where the queries end up.
A geocoder is a quiet collector of personal data. Every search is something a person typed, often their own address, and every reverse lookup is a GPS fix. On your own server in ALP1 those requests stay with you, under the revised Swiss Federal Act on Data Protection (FADP), in force since 1 September 2023. On 15 January 2024 the European Commission confirmed that Switzerland continues to provide an adequate level of protection, so an EU-based organisation can host this data here without additional safeguards. The server is operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen). You remain the controller of what your instance logs and keeps; we host the machine. The jurisdiction page covers what Swiss law does and does not change for you.
07/07
Limits and your obligations.
OpenStreetMap data is licensed under the ODbL. Show "© OpenStreetMap contributors" wherever your results or maps appear, following the OSMF attribution guidelines, and if you publicly use a database derived from OSM data, the share-alike terms apply to it. That obligation is yours, not ours.
Do not point production traffic or bulk jobs at nominatim.openstreetmap.org while your import runs; test against your Swiss extract instead. Systematic queries break the OSMF policy and get you blocked, and with the planet on local disk there is no reason to. Keep PostgreSQL off the public internet, change every default password, and follow the Nominatim security policy for updates. If you open your API to the public, rate limiting and abuse handling are part of running it. If your application geocodes data about identifiable people, the FADP applies to you as controller: have a legal basis, tell your users, and decide how long you keep logs before you start writing them.
Catalogue·Options
Every configuration, every option, every price.
Six dedicated servers, all with a 10 Gbps port and unmetered traffic. Add NVMe, memory, a faster port or more addresses when you order.
| Server | CPU | Cores / threads | Memory | Storage | Port, traffic | Price | Order |
|---|---|---|---|---|---|---|---|
| Rigi1,798 mEntry level | EPYC 4244P | 6 / 12 | 32 GB DDR5 | 1 TB NVMe | 10 Gbps unmetered | $64.99/mo | Order Rigi |
| Pilatus2,128 mBalanced | EPYC 4344P | 8 / 16 | 64 GB DDR5 | 2 TB NVMe | 10 Gbps unmetered | $84.99/mo | Order Pilatus |
| Säntis2,502 mRecommendedMore cores | EPYC 4464P | 12 / 24 | 64 GB DDR5 | 3 TB NVMe | 10 Gbps unmetered | $109.99/mo | Order Säntis |
| Titlis3,238 mHigh frequency | EPYC 4564P | 16 / 32 | 96 GB DDR5 | 4 TB NVMe | 10 Gbps unmetered | $139.99/mo | Order Titlis |
| Eiger3,967 mLarge memory | EPYC 4584PX | 16 / 32 | 128 GB DDR5 | 6 TB NVMe | 10 Gbps unmetered | $164.99/mo | Order Eiger |
| Matterhorn4,478 mMaximum density | EPYC 9254 | 24 / 48 | 192 GB DDR5 | 8 TB NVMe | 10 Gbps unmetered | $219.99/mo | Order Matterhorn |
Each configuration is named after a Swiss summit, drawn from its real silhouette. NVMe can be added in 2 TB steps up to 12 TB.
Every plan
- 10 Gbps port25 Gbps for $25 more
- Unmetered trafficfair use, no per-TB bill
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- KVM consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I import the planet on the base Säntis with 64 GB?
The manual sets 64 GB as the lowest supported amount and strongly recommends 128 GB. An import may complete at 64 GB, with no margin and no help from upstream if it runs out of memory. We recommend the two +32 GB options.
How long is my service down when I re-import?
On NVMe the manual expects roughly two to two and a half days for a planet. With the +2 TB option you can build the new database next to the live one and switch the frontend's database setting when it finishes; without it, plan for the full import window.
Does Nominatim support search-as-you-type?
Not as designed; the OSMF policy states that autocomplete is not supported and bans implementing it against the public API. The usual answer is Photon, which the Nominatim manual mentions as an export target for a Nominatim database, running next to your instance.
Could a Cloud VPS run the planet instead?
Not one we would recommend. Our largest VPS, Summit, has 64 GB of RAM and 2 TB of NVMe, the manual's floor on memory with little disk to spare, and VPS traffic is a monthly allowance rather than unmetered. A country or regional extract is a good fit for a VPS.
How do I keep the data current?
Run nominatim replication --init once, then nominatim replication --once from a systemd timer. The default source is the global minutely diff stream, pyosmium handles the downloads, and the flatnode file must stay in place for updates to work. Import problems are discussed on the OpenStreetMap community forum, and the manual's troubleshooting page covers the common ones; for anything on our side, open a support ticket from the client panel.
Sources
Every fact on this page, with its source
Accessed 6 Nov 2026 unless noted.
Swiss law and authorities
EU and other countries
Industry, providers and software
- Nominatim security policygithub.com
- Debian 13 package postgresql-17-postgis-3 (PostGIS 3.5.2)packages.debian.org
- Debian 13 source package osm2pgsql 2.1.1sources.debian.org
- mediagis/nominatim-docker README and how-to (image 5.3, volumes, shm-size, default password)github.com
- switch2osm, manually building a tile server on Debian 13switch2osm.org
Other references
- Nominatim 5.3.3 manual, Basic Installation (hardware, software minimums, PostgreSQL tuning)nominatim.org
- Nominatim 5.3.3 manual, Import (flatnode size, import styles, --no-updates, reverse-only, rank timing)nominatim.org
- Nominatim 5.3.3 manual, Update (replication, systemd timer, deprecated continuous mode)nominatim.org
- Nominatim 5.3.3 manual, Deploy (gunicorn version requirements, systemd socket, nginx)nominatim.org
- Nominatim AUTHORS filegit.openstreetmap.org
- OSMF Nominatim Usage Policy (1 request/s, no autocomplete, tracking services must self-host, no personal data)operations.osmfoundation.org
- OpenStreetMap Wiki, Planet.osm (87.1 GB PBF on 1 July 2026)wiki.openstreetmap.org
- OpenStreetMap copyright and licence (ODbL)openstreetmap.org
- OSMF attribution guidelineswiki.osmfoundation.org
- OpenStreetMap community forumcommunity.openstreetmap.org
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
