!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
16 Servers

Load older messages


SenderMessageTime
19 Feb 2025
@arianvp:matrix.orgArianthat timeout is set by AWS. usually AWS timeouts are pretty aligned with the normal behaviour of services22:43:37
@arianvp:matrix.orgArianmight be AWS is having a bad time22:43:38
@adam:robins.wtfadamcstephensthe imports are completing, but only after the waiter times out :/22:50:10
20 Feb 2025
@hexa:lossy.network@hexa:lossy.network left the room.02:39:47
@adam:robins.wtfadamcstephensIt took me longer to upload due to my internet connection, but once the snapshot is imported registering it as an AMI is almost instant.13:51:42
@adam:robins.wtfadamcstephens This route also seems to be more space efficient in Amazon's reading of the size. A snapshot using the current import-snapshot shows as the full size of the disk image used during build, but a coldsnap uploaded image shows the actual disk usage of the image. 13:53:22
@adam:robins.wtfadamcstephens* It took me longer to upload due to my internet connection, but once the snapshot is uploaded, then registering it as an AMI is almost instant.13:54:27
@adam:robins.wtfadamcstephenshmm, but that snapshot doesn't seem to work for launching instances. likely i did something wrong :/15:01:49
@adam:robins.wtfadamcstephensI'm extending the timeout for our use, since a snapshot is still imported even if the waiter times out. But re-running upload-ami will initiate another import-snapshot, ignoring the already imported one15:25:30
22 Feb 2025
@arianvp:matrix.orgArianOh you need to coldsnap over a raw image11:01:35
@arianvp:matrix.orgArianYou're probably coldsnapping the sparse VHD lol11:01:49
@arianvp:matrix.orgArianWhich will not work11:01:52
@arianvp:matrix.orgArianThat's why it shows up as smaller11:02:12
@arianvp:matrix.orgArianSo build the image with format = raw11:02:38
@arianvp:matrix.orgArianAnd then upload11:02:40
@arianvp:matrix.orgArian* That's why it shows up as smaller. You cant upload vhd format. You need to upload the raw block devices bytes.11:03:30
@adam:robins.wtfadamcstephens That makes complete sense. Thanks 12:59:51
24 Feb 2025
@commiterate:matrix.orgcommiterate Arian did you get around to trying the fluent-bit PR? 17:30:44
@arianvp:matrix.orgArianIt's been on my backlog. Work was really packed the past few weeks. But I'll get to it as we need the changes internally 19:12:57
27 Feb 2025
@drewhaven:matrix.orgdrewhaven joined the room.20:06:37
@drewhaven:matrix.orgdrewhavenRedacted or Malformed Event20:10:30
@drewhaven:matrix.orgdrewhavenDoes SSM work will with on-prem NixOS installs? I'm looking to set up a bunch of headless NUCs that are deployed to a bunch of different locations. I want the predictability of Nix configs and flakes, but I'm not sure how the remote management will work. SSM seems to imply that it wants a mutable system to manage, but I guess that's just handled with some scripts that use Nix tools for changes, upgrades and rollbacks?20:21:51
@drewhaven:matrix.orgdrewhaven* Does SSM work well with on-prem NixOS installs? I'm looking to set up a bunch of headless NUCs that are deployed to a bunch of different locations. I want the predictability of Nix configs and flakes, but I'm not sure how the remote management will work. SSM seems to imply that it wants a mutable system to manage, but I guess that's just handled with some scripts that use Nix tools for changes, upgrades and rollbacks?20:21:59
@arianvp:matrix.orgArianI have never tried it but I see no reason why it wouldn’t work20:40:10
@arianvp:matrix.orgArianit might need some changes to the nixos module to support the on-prem ssm join token stuff20:40:38
@arianvp:matrix.orgArianWe (mercury.com) are about to open source some terraform modules that we use for deploying NixOS using SSM20:41:06
@arianvp:matrix.orgArian we basically have an SSM Document that does a nixos-rebuild switch 20:41:23
@arianvp:matrix.orgAriani can probably get that published tomorrow20:42:25
@pykee03:matrix.orgpykee03 joined the room.21:24:49
@drewhaven:matrix.orgdrewhavenThis'll be a new type of deployment for me. I'm used to k8s clusters where it's easy to just start new stuff. Been decades since I had to manage an actual system. :D23:22:44

Show newer messages


Back to Room ListRoom Version: 10