Protomaps: Self-hosting map tiles has gotten cheap and easy(bruceroettgers.eu)
455 points by bcye 14 days ago | 84 comments
tl;dr: Protomaps' PMTiles format lets you ship an entire map as a single file served via HTTP Range requests, making self-hosted maps cheap and easy to deploy on any CDN that supports Range caching. The author walks through hosting the 139GB world map on Bunny.net for about $5/month in storage plus ~$0.05 per 1,000 map loads—roughly 100x cheaper than Mapbox—with tips on rclone uploads, CORS restrictions, and rate limits to prevent abuse.
HN Discussion:
  • ↑Users confirm Protomaps is dramatically cheaper than Mapbox/Google Maps for their projects
  • •Similar alternative projects like OpenFreeMap and VersaTiles are worth considering
  • ↑Self-hosting enabled side projects that commercial map pricing would have made infeasible
  • ~Self-hosting works for basemaps but breaks down for high-res satellite imagery at scale
  • ↑Self-hosting opens up creative freedom to customize map content and styling