!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

78 Members
20 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
20 Aug 2025
@arianvp:matrix.orgArianHave you looked at the repart appliance image tests?11:31:36
@arianvp:matrix.orgArianWhat I'd do is make the AMI EBS Volume an EROFS volume. Then overlay mount the rootfs over it 11:33:05
@arianvp:matrix.orgArianand that can be on the instance store or whatever11:33:30
@arianvp:matrix.orgArian or just... only mount /var to the instance store 11:33:37
@arianvp:matrix.orgArianDo you want to be able to have interactive nix usage afterwards?11:33:44
21 Aug 2025
@commiterate:matrix.orgcommiterateThese tests? https://github.com/NixOS/nixpkgs/blob/02489e616d84df58c35f0bef559377f454abf410/nixos/tests/appliance-repart-image.nix#L2802:43:36
@commiterate:matrix.orgcommiterateI considered overlayfs but it doesn't seem to cache reads from the lower filesystem (whatever's on the EBS volume) to the upper filesystem (whatever's on the instance store).02:45:40
@commiterate:matrix.orgcommiterate I'm not too sure what counts as interactive Nix usage, but these will be CI/CD runners so users should be able to do a nixos-rebuild switch afterwards to modify the environment (e.g. set up Docker Engine). 02:47:12
@commiterate:matrix.orgcommiterate That makes mounting something at / attractive since users don't need to remember to write under a special directory to hit the instance store instead of the root EBS volume. 02:58:36
@commiterate:matrix.orgcommiterate * That makes mounting something transparent at / attractive since users don't need to remember to write under a special directory to hit the instance store instead of the root EBS volume. 03:02:34
@arianvp:matrix.orgArianAh so you're worried that all the nix store paths in the lower store will have slow access?12:26:42
@commiterate:matrix.orgcommiterateYup.16:25:30
28 Aug 2025
@arianvp:matrix.orgArian @commiterate:matrix.org: we're getting to something very similar to what you want internally at Mercury for our runner fleet 11:50:52
@arianvp:matrix.orgArianIll share when I'm at the office11:50:57
@arianvp:matrix.orgArianRedacted or Malformed Event11:51:40
@arianvp:matrix.orgArianRedacted or Malformed Event11:52:02
@arianvp:matrix.orgArianRedacted or Malformed Event11:52:29
@arianvp:matrix.orgArianRedacted or Malformed Event11:52:41

Show newer messages


Back to Room ListRoom Version: 10