logoalt Hacker News

averylostnomadtoday at 5:18 PM1 replyview on HN

When you say suspendible, do you mean that I could make a VM, configure it by installing packages and libraries, then pause it?

And resume it later with the full disk ready to go? No billing during the inbetween time?

That’d be huge, but seems wild. How can you economically keep the storage between active sessions?


Replies

bwmtoday at 5:28 PM

Hi! Yes that's right. Sorry if it wasn't clear, but you do pay for storage. Cost is nominal compared to compute ($0.078/GB/month).

The other option is to define your entire environment as code using nix (we have native NixOS support). For example, you can use an agent to author code which declares everything on your machine: packages, libraries, shell, vim config... And then you can take that code and use it to rebuild a new VM on machine0 whenever you like (or somewhere else).

Docs here: https://docs.machine0.io/examples/nixos