News for hackers. Stuff that matters.
Re:Show HN: lambda-nat-proxy – Serverless proxy using Lambda... by robcohen on Saturday June 21, 2025 @04:25PM (#44340497)
Alternatively, you could make a Nix flake that can generate an immutable microVM image based on Solo5, running a MirageOS unikernel that implements NAT traversal with UDP hole punching and relay fallback. This image can be deployed to Fly.io as a lightweight, autoscaling Firecracker VM with per-second billing. It boots in milliseconds and costs far less than Lambda.

Any reason to use lambda vs this cloud-agnostic approach? Maybe I am missing something. I guess per second vs per 100ms billing, but I can't imagine it ends up being cheaper with Lambda.

Re:Show HN: lambda-nat-proxy – Serverless proxy using Lambda... by danvittegleo on Saturday June 21, 2025 @04:47PM (#44340621)
Absolutely - there are plenty of more cost-effective, cloud-agnostic ways to build something like this. This is just an experiment to explore Lambda networking and push it beyond its intended use cases.
Re:Show HN: lambda-nat-proxy – Serverless proxy using Lambda... by robcohen on Sunday June 22, 2025 @10:04AM (#44347060)
Sure, I think it's an awesome effort. Just trying to think of an agnostic approach that's more efficient.
Re:Show HN: lambda-nat-proxy – Serverless proxy using Lambda... by wredcoll on Saturday June 21, 2025 @09:02PM (#44342113)
I honestly thought this post was satire for at least 30 seconds.
Re:Show HN: lambda-nat-proxy – Serverless proxy using Lambda... by robcohen on Sunday June 22, 2025 @10:05AM (#44347069)
I'm not trying to disparage the attempt, just thinking of a way to make it's end goal more agnostic and efficient.