!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
15 Servers

Load older messages


SenderMessageTime
6 Nov 2024
@arianvp:matrix.orgArianSo it's just for a set of blessed images?22:53:04
@commiterate:matrix.orgcommiterateAdvanced parameters (since standard ones don't support resource-level policies) has a cost though: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html22:53:11
@commiterate:matrix.orgcommiterateYeah it looks like they hardcode what parameters are public.22:53:25
@commiterate:matrix.orgcommiterateEven with the resource-level IAM policy, it seems people must refer to the parameter by its full ARN instead of just the name (if only the name is provided, it guesses the full ARN using the caller's account + region).23:03:22
@commiterate:matrix.orgcommiterateSo tl;dr we need to negotiate with AWS to get us on the hardcoded list.23:06:33
@commiterate:matrix.orgcommiterateI don't have any ins at SSM so I'd be asking a TAM just like you.23:08:58
@commiterate:matrix.orgcommiterate * I don't have any contacts at SSM so I'd be asking a TAM just like you. 23:09:23
@arianvp:matrix.orgArianYeh I'll bring it up. I'm just curious as it's a bit of a nicer experience then describe-image23:09:58
@arianvp:matrix.orgArian(in my opinion)23:10:07
@commiterate:matrix.orgcommiterateIt's definitely nicer because it removes account IDs from the equation and DescribeImage can be quite slow.23:10:30
@commiterate:matrix.orgcommiterateI just don't know how open they are to it. Amazon seems to have very flew blessed OSes/distros (Amazon Linux, RHEL, Ubuntu, Windows Server, macOS) and they probably only want SSM public parameters for images they publish/control. https://docs.aws.amazon.com/managedservices/latest/appguide/ams-amis.html Everyone else I imagine they just redirect to the AWS marketplace.23:13:18
@commiterate:matrix.orgcommiterate *

I just don't know how open they are to it. Amazon seems to have very flew blessed OSes/distros (Amazon Linux, RHEL, Ubuntu, Windows Server, macOS) and they probably only want SSM public parameters for images they publish/control.

Everyone else I imagine they just redirect to the AWS marketplace.

23:14:30
@commiterate:matrix.orgcommiterateWait really?23:16:35
@commiterate:matrix.orgcommiterate Well that's fun. I'll need to bring that up as part of chasing down the team that actually owns ImportImage and ImportSnapshot and ask they to add Cfn support because Image Bulider isn't the team and doesn't seem keen on taking ownership of those APIs. 23:17:54
@arianvp:matrix.orgArianYeh if your image doesn't contain an /etc/fstab it crashes 23:33:23
@arianvp:matrix.orgArianThen I haedcoded an /etc/fstab and it crashed again23:34:05
@arianvp:matrix.orgArianThey do some analysis of the image by mounting it 23:34:14
@arianvp:matrix.orgArianAlso import image takes *waaaay* longer than import-snapshot23:34:25
@arianvp:matrix.orgArianLike 25-30 minutes23:34:30
7 Nov 2024
@commiterate:matrix.orgcommiterateFeature request on the public Cfn roadmap: https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/2175 Will be chasing AWS internally for this one as well.00:16:05
@commiterate:matrix.orgcommiterate * Feature request on the public Cfn roadmap: https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/2175 00:29:24
@colemickens:matrix.orgcolemickensPlease do let me know if there's any help I can lend to this PR, besides testing/reviewing: https://github.com/NixOS/nixpkgs/pull/34393915:46:40
@arianvp:matrix.orgArianJust seems to need a rebase and a re-review15:49:10
@arianvp:matrix.orgArianWe did go into breaking changes freeze for 24.11 though. So idk if I can still merge it :/15:49:31
@quyse:matrix.orgquyse joined the room.19:52:46
@quyse:matrix.orgquyse hi!
I'm using my custom NixOS AMI built with "${modulesPath}/../maintainers/scripts/ec2/amazon-image.nix" module. The EC2 serial console in the AWS web interface works (shows boot messages like it's a display), but "get system log" in the web interface, and the aws ec2 get-console-output command both always return empty output.
Is the system log thing even supposed to work? I am not very familiar with AWS, but I thought it works via the same mechanism as the EC2 serial console, and since the amazon-image.nix module enables serial console via kernel param (console=ttyS0), it should work too
20:04:28
@quyse:matrix.orgquyse * hi!
I'm using my custom NixOS AMI built with "${modulesPath}/../maintainers/scripts/ec2/amazon-image.nix" module. The EC2 serial console in the AWS web interface works (shows boot messages like it's a display), but "get system log" in the web interface, and the aws ec2 get-console-output command both always return empty output.
Is the system log thing even supposed to work? I am not very familiar with AWS, but I thought it works via the same mechanism as the EC2 serial console, and since the amazon-image.nix module enables serial console via kernel param (console=ttyS0), it should work too
20:04:40
@arianvp:matrix.orgArianThis is expected for Nitro instances you need to call get-console-output with --latest20:13:04
@arianvp:matrix.orgArianget-console-output without --latest is only available after instance termination 20:13:28
@arianvp:matrix.orgArianOr Connect -> EC2 Serial Console. Should work roo20:14:19

Show newer messages


Back to Room ListRoom Version: 10