4 ms·
Alternatively, you could make a Nix flake that can generate an immutable microVM image based on Solo5, running a MirageOS unikernel that implements NAT traversa
by robcohen 1y ago
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.
- danvittegleo 1y agoAbsolutely - 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.
- robcohen 1y agoSure, I think it's an awesome effort. Just trying to think of an agnostic approach that's more efficient.
- wredcoll 1y agoI honestly thought this post was satire for at least 30 seconds.
- robcohen 1y agoI'm not trying to disparage the attempt, just thinking of a way to make it's end goal more agnostic and efficient.