!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
14 Servers

Load older messages


SenderMessageTime
14 Sep 2024
@arianvp:matrix.orgArianThere's also no need for UKIs. You can just put a classic systemd-boot bootloader entry on the ESP as well08:06:21
@arianvp:matrix.orgArianhttps://github.com/NixOS/amis/blob/main/modules/amazon-image.nix08:07:01
@commiterate:matrix.orgcommiterateyeah I have a non-UKI version in a local file I haven't pushed. Didn't get the root partition mount working yet since I got distracted with the EC2 SSH utils stuff (need to get EC2 Instance Connect working for the GitLab auto-scaling AWS runners)08:07:29
@arianvp:matrix.orgArianThis is missing the nix store path registration part though08:07:31
@arianvp:matrix.orgArian

So can do like a boot.postBootCommands =

nix-store --load-db < /nix/store/registration
08:10:30
@arianvp:matrix.orgArianSomeone made the bash script work with nix too08:10:52
@arianvp:matrix.orgArianDid you see that? Though a go version does sound better tbh08:11:07
@arianvp:matrix.orgArianAnyhow thanks for all the help on this. Nice to have another person trying to make this nicer.08:12:07
@commiterate:matrix.orgcommiterateyeah I saw a PR for macOS support that happens to also cover Nix08:12:39
@commiterate:matrix.orgcommiteratethough it seems like the repo's kind of abandoned08:12:58
@arianvp:matrix.orgArianhttps://github.com/NixOS/amis/pull/11408:13:41
@commiterate:matrix.orgcommiterateI'm meeting with some AWS TAMs on Tuesday to go over a few feature requests. I need to drag some AWS PM and engineer aliases out of them so the feature requests don't get lost in the system08:13:45
@commiterate:matrix.orgcommiterateoh huh08:13:51
@arianvp:matrix.orgArianWe also have TAMs here so if we can bundle forces to get something roadmapped that helps us lemme know08:14:25
@commiterate:matrix.orgcommiterateah they're relying on the fixup phase patching08:14:36
@arianvp:matrix.orgArianThough I'm on PTO until 23rd :)08:14:39
@commiterate:matrix.orgcommiterateI was going to try that at first and then just thought it would somehow be easier to rewrite08:14:50
@commiterate:matrix.orgcommiterateextremely wrong with the crypto stuff and the undocumented IMDS endpoints for instance connect08:15:05
@commiterate:matrix.orgcommiterate * that was extremely wrong with the crypto stuff and the undocumented IMDS endpoints for instance connect08:15:11
@arianvp:matrix.orgArianIt uses buildFHSEnv which basically makes the binary think it's running on a normal distro08:15:43
@arianvp:matrix.orgArianIt's hacky08:15:51
@arianvp:matrix.orgArianBut works :)08:15:55
@commiterate:matrix.orgcommiterate * that was extremely wrong with the cryptography stuff and the undocumented IMDS endpoints for instance connect08:17:23
@arianvp:matrix.orgArianJust didn't have time to test it. But if it works we can add it to nixpkgs 08:17:40
@commiterate:matrix.orgcommiteratethat'll probably happen faster than them taking ownership of the Go reimplementation08:18:10
@commiterate:matrix.orgcommiterateI don't know how understaffed the instance connect distributed API side is (I think they own the library. The Nitro side definitely doesn't since I was on the sister team)08:19:22
@commiterate:matrix.orgcommiterate * I don't know how understaffed the instance connect distributed API side is (I think they own the library. The Nitro side definitely doesn't from what I know being on the sister team)08:20:10
@commiterate:matrix.orgcommiterate * I don't know how understaffed the instance connect distributed API side is (I think they own the library. The Nitro side definitely doesn't from what I know having been on the sister team)08:20:48
@arianvp:matrix.orgArian

Must say I'm not super impressed with the quality of both eic or ssm.

But eic is definitely conceptually simpler.

The ssm codebase is really massive which kind of freaks me out sometimes.

08:21:31
@arianvp:matrix.orgArianAlso ssm doesn't integrate with PAM. Whilst ssh gets all these things right08:22:00

Show newer messages


Back to Room ListRoom Version: 10