4 ms·
Does Cloud Run still use a fake Linux kernel emulated by Go, rather than a real VM? Does Cloud Run give you root?
by JoshTriplett 1y ago
Does Cloud Run still use a fake Linux kernel emulated by Go, rather than a real VM?
Does Cloud Run give you root?
- seabrookmx 1y agoYou're thinking of gvisor. But no, the "gen2" runtime is a microvm ala firecracker and performs a lot better as a result.
- JoshTriplett 1y agoAh, that's great. And it looks like Cloud Run can do something Lambda can't: https://cloud.google.com/run/docs/create-jobs https://cloud.google.com/run/docs/create-jobs . "Unlike a Cloud Run service, which listens for and serves requests, a Cloud Run job only runs its tasks and exits when finished. A job does not listen for or serve requests."
- pryz 1y agohttps://github.com/cloud-hypervisor/cloud-hypervisor https://github.com/cloud-hypervisor/cloud-hypervisor or something else?
- seabrookmx 1y agoPossibly? I haven't found any public documentation that says specifically what hypervisor is used. Google built crosvm which was the initial inspiration for firecracker, but Cloud Run runs on top of Borg (this fact is publicly documented). Borg is closed source, so it's possible the specific hypervisor they're using is as well.
- yencabulator 1y agoI believe that's an Intel project, not a Google project. I personally think it's more likely Cloud Run is on top of the same proprietary KVM-based code they use for their Compute Engine.
- rpei 1y agoWe (I work on Cloud Run) are working on root access. If you'd like to know more you can reach me rpei@google.com
- JoshTriplett 1y agoAwesome! I'll reach out to you, thank you.