!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
14 Servers

Load older messages


SenderMessageTime
19 Feb 2025
@adam:robins.wtf@adam:robins.wtfhow does the coldsnap path help?22:39:34
@arianvp:matrix.orgAriancoldsnap bypasses the vmimport service22:39:43
@arianvp:matrix.orgArianwhich god knows what it’s written in22:39:47
@arianvp:matrix.orgArianit just uploads blocks directly to EBS22:39:53
@arianvp:matrix.orgArianimage uploads take like 5 seconds with coldsnap22:40:27
@adam:robins.wtf@adam:robins.wtfthat sounds better than the current path. the timeout it's hitting on import is 10 minutes22:40:52
@arianvp:matrix.orgArianwhat region are you in?t22:42:34
@adam:robins.wtf@adam:robins.wtfus-east-222:43:31
@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.wtf@adam:robins.wtfthe 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.wtf@adam:robins.wtfIt 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.wtf@adam:robins.wtf 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.wtf@adam:robins.wtf* 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.wtf@adam:robins.wtfhmm, but that snapshot doesn't seem to work for launching instances. likely i did something wrong :/15:01:49
@adam:robins.wtf@adam:robins.wtfI'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.wtf@adam:robins.wtf 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

Show newer messages


Back to Room ListRoom Version: 10