!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
16 Servers

Load older messages


SenderMessageTime
25 Oct 2024
@xenos76:matrix.orgxenos76 joined the room.13:58:52
@niclasoverby:beeper.com@niclasoverby:beeper.com joined the room.13:59:32
26 Oct 2024
@notmycommit:notwork.indbalan joined the room.09:49:21
27 Oct 2024
@arianvp:matrix.orgArianthere is EIC support for MacOS?13:25:01
@notmycommit:notwork.indbalan Arian: 👋 Is your nixcon slidedeck up somewhere? 13:36:29
@arianvp:matrix.orgArianhttps://arianvp.github.io/nixcon2024/slides/reveal.js-master/13:43:10
@arianvp:matrix.orgArianadded the link to pretalx as well13:44:42
@notmycommit:notwork.indbalan
In reply to @arianvp:matrix.org
https://arianvp.github.io/nixcon2024/slides/reveal.js-master/
thx!
13:50:55
@notmycommit:notwork.indbalanDo you have any strategy for rolling back stateful services, if the activation fails for a new config?13:55:30
@arianvp:matrix.orgArianCurrently not. We manually rollback the instances through grub. But I want to look at automatic boot assessement features that were added to NixOS recently to automate this14:32:02
@arianvp:matrix.orgAriane.g. reboot into previous boot entry if health check fails14:32:10
@kranzes:matrix.orgIlan Joselevich (Kranzes) joined the room.16:24:21
@commiterate:matrix.orgcommiterateThere is apparently.17:40:23
@commiterate:matrix.orgcommiterate

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-set-up.html

If you launched your instance using a later version of Amazon Linux, macOS Sonoma, macOS Ventura, macOS Monterey, or Ubuntu, it comes pre-installed with EC2 Instance Connect, and therefore you do not need to install it yourself.

17:41:15
@commiterate:matrix.orgcommiterate There should be nothing stopping them for Windows as well since OpenSSH supports Windows. My re-implementation should support it (can generate the AuthorizedKeysCommand exec as a .exe) 18:55:37
@commiterate:matrix.orgcommiterate * There should be nothing stopping them for Windows as well since OpenSSH supports Windows. My re-implementation should support it (can generate the AuthorizedKeysCommand exec as a .exe and I'm only using the Go crypto library) 18:55:47
@commiterate:matrix.orgcommiterate * There should be nothing stopping them for Windows as well since OpenSSH supports Windows. My re-implementation supports it (can generate the AuthorizedKeysCommand exec as a .exe and I'm only using the Go crypto library) 18:56:02
28 Oct 2024
@karstenpedersen:matrix.org@karstenpedersen:matrix.org joined the room.09:52:06
@arianvp:matrix.orgArianhttps://www.youtube.com/watch?v=0yb05mq9lLM is basically my whole talk in 2 minutes . 10:18:28
@arianvp:matrix.orgArian * 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 caching10:18:42
29 Oct 2024
@shift:c-base.orgshift changed their profile picture.15:09:01
30 Oct 2024
@karstenpedersen:matrix.org@karstenpedersen:matrix.org set a profile picture.19:03:44
@karstenpedersen:matrix.org@karstenpedersen:matrix.org changed their profile picture.19:07:58
5 Nov 2024
@tuxiqae:matrix.orgtuxiqae joined the room.16:14:29
6 Nov 2024
@tuxiqae:matrix.orgtuxiqae

Heyo, I'm trying to create an AWS AMI using an image I've created using Disko
But now that I've uploaded the image onto S3 and tried importing it using aws ec2 import-image I get the following error (when describe-import-image-tasksing the task)

ClientError: Unable to find an etc directory with fstab.

Any idea what's the cause?

12:08:32
@tuxiqae:matrix.orgtuxiqae

My Disko config:

{
  disko.devices = {
    disk = {
      main = {
        device = "/dev/disk/by-id/some-disk-id";
        type = "disk";
        content = {
          type = "gpt";
          partitions = {
            ESP = {
              type = "EF00";
              size = "500M";
              content = {
                type = "filesystem";
                format = "vfat";
                mountpoint = "/boot";
                mountOptions = ["umask=0077"];
              };
            };
            root = {
              size = "100%";
              content = {
                type = "filesystem";
                format = "ext4";
                mountpoint = "/";
              };
            };
          };
        };
      };
    };
  };
}

I think it might be caused by the device but I'm not sure what to set it to

12:17:08
@tuxiqae:matrix.orgtuxiqae *

My Disko (default) config:

{
  disko.devices = {
    disk = {
      main = {
        device = "/dev/disk/by-id/some-disk-id";
        type = "disk";
        content = {
          type = "gpt";
          partitions = {
            ESP = {
              type = "EF00";
              size = "500M";
              content = {
                type = "filesystem";
                format = "vfat";
                mountpoint = "/boot";
                mountOptions = ["umask=0077"];
              };
            };
            root = {
              size = "100%";
              content = {
                type = "filesystem";
                format = "ext4";
                mountpoint = "/";
              };
            };
          };
        };
      };
    };
  };
}

I think it might be caused by the device but I'm not sure what to set it to

12:20:38
@arianvp:matrix.orgArianYou need to use import-snapshot13:05:13
@arianvp:matrix.orgArianAnd then register-image13:05:18
@arianvp:matrix.orgArianImport-image is b0rked. It only imports images that follow FHS13:05:33

Show newer messages


Back to Room ListRoom Version: 10