!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

65 Members
16 Servers

Load older messages


SenderMessageTime
14 Sep 2024
@arianvp:matrix.orgArianBottlerocket actually uses EBS direct API which I experimented adding too08:31:10
@commiterate:matrix.orgcommiteratethey've also decided against dogfooding certain public services and start prioritizing internal ones again because some internal requirements aren't externalizable08:31:12
@arianvp:matrix.orgArianBut turns out to be slower because GitHub actions heavily throttles it for some reason 08:31:28
@commiterate:matrix.orgcommiteratethat shift started happening I think 1.5-2 years ago08:31:33
@arianvp:matrix.orgArianLike. Uploads taking 2 days... 08:32:01
@arianvp:matrix.orgArianInstead of 1 minute08:32:05
@arianvp:matrix.orgArianStill haven't figured out what is happening there 08:32:19
@arianvp:matrix.orgArianBut I expect some whitelist at GitHub side that only allows high bandwidth traffic to S3 and EC2 08:32:45
@arianvp:matrix.orgArianWorked fine on self-hosted EC2 runners08:32:58
16 Sep 2024
@silentlurker:matrix.orgsilentlurker joined the room.19:57:05
19 Sep 2024
@commiterate:matrix.orgcommiterate

Image Builder PM said distribution-only pipelines are possible today. You just abuse image workflows which can be empty and avoid EC2 instance launch unlike image recipes (the pipeline requires either a workflow or recipe).

They aren't currently considering VM import from S3 or EBS via CloudFormation and need more customer requests to consider it. Trying to see if I can change that stance.

18:18:39
20 Sep 2024
@commiterate:matrix.orgcommiterate *

Image Builder PM said distribution-only pipelines are possible today. You just abuse image workflows which can be empty and avoid EC2 instance launch unlike image recipes (the pipeline requires either a workflow or recipe). Also seems to only use SSM Agent and no AWSTOE if you do need to run build or test commands.

They aren't currently considering VM import from S3 or EBS via CloudFormation and need more customer requests to consider it. Trying to see if I can change that stance.

04:56:27
@arianvp:matrix.orgArianInteresting. I tried to wiggle myself through the docs and couldn't figure out how last time 08:04:11
@arianvp:matrix.orgArianWould that mean id have to create a workflow for each image that I upload?08:05:04
@arianvp:matrix.orgArianUgh AWS docs are so terribly inscrutable sometimes 08:08:36
@arianvp:matrix.orgArian

The problem is. I'd be importing an image with https://docs.aws.amazon.com/imagebuilder/latest/userguide/vm-import-export.html

Then when you create a pipeline you must select a base image

08:24:59
@arianvp:matrix.orgArianGiven the base image changes every week. Does that mean I need to create a pipeline every week?08:25:15
@arianvp:matrix.orgArian

Oh no wait the import image thing seems to do what we want? Only problem is it insists on an VmImportTaskId which we don't have.

We have a SnapshotTaskId as were using ImportSnapshot and not ImportImage

08:38:49
@arianvp:matrix.orgArianImportImage not working was for some obscure reason of AWS assuming a certain file structure and else bailing out. 08:39:14
@arianvp:matrix.orgArianAnd NixOS obviously doesn't adhere to it..08:39:28
@arianvp:matrix.orgArianLike they just need to make a very small change to the API. No need for cloudformation. Why are they making things so complicated 08:40:25
@arianvp:matrix.orgArianThey either need to have ImportImage not bail out on NixOS images. Or support ImportSnapshot 08:40:46
@arianvp:matrix.orgArian

Oh I have another hack:

Pass an AMI to update-image-recipe (and change the version) then throw away the original AMi

08:51:26
@arianvp:matrix.orgArianThen the image builder pipeline can do all the Lifecycle stuff08:51:36
@arianvp:matrix.orgArianHmm08:51:51
@arianvp:matrix.orgArianNah still kind of hacky08:52:22
@arianvp:matrix.orgArianIf ImportImage would work then we'd only need to import images and set up a Lifecycle policy and nothing else 08:54:20
@arianvp:matrix.orgArianIt'd be ideal08:54:23
@arianvp:matrix.orgArianRedacted or Malformed Event09:44:03
@arianvp:matrix.orgArianSo maybe this is something we can ask? "Hey why is ImportImage failing on NixOS images and can you fix it?". Then I think everything slots nicely into AWS Image Builder 09:45:04

Show newer messages


Back to Room ListRoom Version: 10