r/aws•
hankbrekke

OSMTools Lambda Layer, prebuilt C++ & NodeJS libraries

serverless

Heyo-

I’ve been building a navigation app (Skyway.run) using OpenStreetMap data and tools (OSRM, Osmium, Tilemaker), which are largely written in C++ and typically built & ran on one server machine. My goal with this app is to have minimal running cost (CloudFront, S3, Lambda Function URLs) and I’m happy to be paying ~$0.01/month since it’s a volunteer side project.

I created aws-lambda-layer-osmtools for sharing prebuilt binaries as a Lambda Layer. I’ve done similar prebuilding before, but usually for small libraries where I embed it right in the function code zip. Now, the code zip can be small JS files, and the function updates quickly because the 130MB binaries are in the Layer zip.

Let me know what you think (esp. looking for feedback on documentation and CICD/public-layer-sharing). And if you’ve had a geospatial project in mind, please try out my layer :)

https://github.com/hnryjms/aws-lambda-layer-osmtools

Posted Oct 2, 2025, 1:39 PM UTC

33
Loading comments…