4 ms·
Slightly off-topic - what is a secure way to run arbitrary code in arbitrary languages in a server? I know replit's polygott docker container allows it. https:
by yewenjie 5y ago
Slightly off-topic - what is a secure way to run arbitrary code in arbitrary languages in a server? I know replit's polygott docker container allows it.
https://github.com/replit/polygott/ https://github.com/replit/polygott/
- detaro 5y agoIdeally, many small VMs. E.g. that's what AWS Lambda does.
- ipodopt 5y agoI would look at how the major clouds are running their compute instances. This might help: https://www.nomadproject.io/ https://www.nomadproject.io/ Which is basically k8s but lets you use vms. I was thinking of using Tekton to make a CI/CD service at one point but I would pretty much need to smash the whole k8s VM/Node every time I do something and only allow one participant at a time. There are ways to run vm pods instead of containers in k8s but there are other issues at play. It's been a sec.
- mgomez 5y agoHave a look at Firecracker for running microVMs (originally developed at AWS before becoming open source): https://firecracker-microvm.github.io/ https://firecracker-microvm.github.io/