Generate OSM tiles of Hamburg on AWS spot
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Nomaden map generation

This set of scripts creates OpenStreetMap tiles of Hamburg for the Nomaden site. It spins up a spot instance on EC2, installs all the necessary stuff and then downloads the raw map database and renders the tiles.

After we're finished you'll find a tile.tar in the local directory.

See here for more info:


  • Python 3
  • boto3
  • netcat
  • bash


Be sure to set something similar to the following in you ssh client config or the connection may time out while generating the tiles.

Host *
ServerAliveInterval 100

The call

$ bash

Please make sure to terminate any spot requests that are left over in EC2 after you run this script. If everything works alright, there are no instances left. If this script fails there will be a spot request and an instance left over.


Copyright (c) 2018, Mark Meyer (