• Top
  • New

Ask HN: Running Untrusted Code as a Service?

by tomasreimers on 2/3/2024, 2:40:57 PM with 4 comments
Hi, I'm surprised I'm not targeted with Google ads when I ask this question, but I can't find what I'm looking for and so I'm turning here:

I need some way to pass an untrusted shell script (user generated) to a Linux / Windows / Mac environment and get the results. Is there some startup or AWS service that offers this? What I want is AWS with more runtimes and security guarantees...

  • by gtirloni on 2/3/2024, 2:51:28 PM

    A previous discussion about this use case here: https://news.ycombinator.com/item?id=32317520

    Firecracker[0] always turns up in these discussions.

    Also check Kata containers[1]

    0 - https://aws.amazon.com/blogs/aws/firecracker-lightweight-vir...

    1 - https://katacontainers.io

  • by whodev on 2/5/2024, 6:08:34 PM

    Why not use https://any.run?

  • by eimrine on 2/3/2024, 2:48:39 PM

    Why not to use virtual machines for this?