Re:Why Use OpenStreetMap Instead of Google Maps?
by jaakl on Sunday July 15, 2018 @07:18AM
(#17534737)
A worldwide tile server for low load (up to <30 tps) decent latency (<100ms per tile) can be set up with 2core, 4GB ram and 70GB HDD machine. Key is to use “prerendered” vector tile stack. Geocoding is way harder task. The old sites like switch2osm tend to have old and slow imposm/Postgres stacks.
You assume wrong. :)
It takes an hour or so to get a tileserver up and running with the switch2osm instructions. I've done it countless times. (You do then need to wait for the Postgres database to populate, but that's just fire-and-forget.) They're written for Ubuntu LTS versions so the "newer versions" issue doesn't arise.
Or if Docker's your bag, you can get a ready-to-go image from openmaptiles: https://openmaptiles.com/server/
> where anyone can spin it up for $5/mo
Not gonna happen. Running a worldwide map server needs a lot of (SSD) storage and decent CPU. I have a £10/month Hetzner VM just to do geocoding (with Photon: https://github.com/komoot/photon) so you aren't going to get a tileserver for half that - and that's no surprise; OSM is ultimately competing with Google, and you can't really expect to host your own Google for $5. But there are plenty of hosted options with tiered pricing.