NixOS AWS | 65 Members | |
| 16 Servers |
| Sender | Message | Time |
|---|---|---|
| 28 Oct 2024 | ||
| 09:52:06 | ||
| https://www.youtube.com/watch?v=0yb05mq9lLM is basically my whole talk in 2 minutes . | 10:18:28 | |
| * https://www.youtube.com/watch?v=0yb05mq9lLM is basically my whole talk in 2 minutes . Very similar deploy process but using FH instead of S3 for caching | 10:18:42 | |
| 29 Oct 2024 | ||
| 15:09:01 | ||
| 30 Oct 2024 | ||
| 19:03:44 | ||
| 19:07:58 | ||
| 5 Nov 2024 | ||
| 16:14:29 | ||
| 6 Nov 2024 | ||
| Heyo, I'm trying to create an AWS AMI using an image I've created using Disko
Any idea what's the cause? | 12:08:32 | |
| My Disko config:
I think it might be caused by the | 12:17:08 | |
| * My Disko (default) config:
I think it might be caused by the | 12:20:38 | |
| You need to use import-snapshot | 13:05:13 | |
| And then register-image | 13:05:18 | |
| Import-image is b0rked. It only imports images that follow FHS | 13:05:33 | |
| Doesn't work with nixos | 13:05:36 | |
| You can just use https://GitHub.com/nixos/amis upload_ami script | 13:05:55 | |
| It does all of this | 13:05:58 | |
| Or use it as inspiration | 13:06:05 | |
| FML, wanted the ability to build a one-shot with Nix + Terranix that'll automatically provision the resources and start the instance | 13:11:41 | |
| You can import snapshots with Terraform | 13:15:56 | |
| And register the image too | 13:16:02 | |
| aws_ebs_snapshot_import resource | 13:16:35 | |
| Combine with aws_s3_bucket_item resource and aws_ami resource and you're done | 13:17:00 | |
| Something like https://gist.github.com/arianvp/14dd40742c24894bb312ac3f5b90b433 | 13:21:29 | |
| Yeah, but in order to import a snapshot I'd have to first provision a VM and then export that I wanted to just automatically create an image and upload that :( | 13:30:30 | |
| No ? | 13:31:05 | |
| :O | 13:31:17 | |
| This example is literally importing from local disk? | 13:31:35 | |
| Just like import image | 13:31:38 | |
| See line 4 | 13:32:07 | |
| That's pointing to your local disk image you built | 13:32:28 | |