!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
15 Servers

Load older messages


SenderMessageTime
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
@drewhaven:matrix.orgdrewhaven* Does SSM work well 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:59
@arianvp:matrix.orgArianI have never tried it but I see no reason why it wouldn’t work20:40:10
@arianvp:matrix.orgArianit might need some changes to the nixos module to support the on-prem ssm join token stuff20:40:38
@arianvp:matrix.orgArianWe (mercury.com) are about to open source some terraform modules that we use for deploying NixOS using SSM20:41:06
@arianvp:matrix.orgArian we basically have an SSM Document that does a nixos-rebuild switch 20:41:23
@arianvp:matrix.orgAriani can probably get that published tomorrow20:42:25
@pykee03:matrix.orgpykee03 joined the room.21:24:49
@drewhaven:matrix.orgdrewhavenThis'll be a new type of deployment for me. I'm used to k8s clusters where it's easy to just start new stuff. Been decades since I had to manage an actual system. :D23:22:44
@arianvp:matrix.orgArianWhy do you wanna use AWS SSM though? Do you have other AWS infra to integrate with?23:25:09
@arianvp:matrix.orgArianIt's only kind of worth it if you have other AWS infra. Otherwise I'd just use ssh :")23:25:30
@drewhaven:matrix.orgdrewhavenWe have a decent amount of AWS stuff for our cloud stuff, though we aren't super heavy on all their infra services.23:26:43
@drewhaven:matrix.orgdrewhavenJust lots of S3, some k8s clusters, a few important ec2 instances.23:27:08
@drewhaven:matrix.orgdrewhavenProbably the main thing is that we already have the access controls set up.23:27:27
@drewhaven:matrix.orgdrewhavenA former SRE was going to use it for this, but never got around to it. Now I'm taking a crack at it.23:28:02
@drewhaven:matrix.orgdrewhavenI'm evaluating options atm.23:28:10
@drewhaven:matrix.orgdrewhaven set a profile picture.23:29:15
28 Feb 2025
@adam:robins.wtfadamcstephensssh is superior to ssm, except for the fact that ssm can use sso through aws.00:07:22
@adam:robins.wtfadamcstephensnot that you can't get sso with regular linux, but the setup ease of ssm is probably hard to beat.00:08:25
@adam:robins.wtfadamcstephensSSH/SSM/SSO, are there other such acronyms?00:09:07
@drewhaven:matrix.orgdrewhavenDon't forget SSL00:14:32
@commiterate:matrix.orgcommiterateSSM's main benefit is not needing to open up any security group or VPC rules to allow SSH ingress. I'd only use it for quick debugging though.00:29:32
@commiterate:matrix.orgcommiterateThe console terminal gets a bit annoying to use for anything more complicated.00:30:01
@commiterate:matrix.orgcommiterate* The browser WebSockets terminal gets a bit annoying to use for anything more complicated.00:30:14
@drewhaven:matrix.orgdrewhavenThat's the main use-case here, being able to run some commands on the deployed fleet and occasionally connect if something seems off. Our current system has an awkward setup where each box has it's own OpenVPN connection to a central EC2 instance.00:34:05
@drewhaven:matrix.orgdrewhavenThe local network is unmanaged and untrusted.00:34:26
@drewhaven:matrix.orgdrewhaven* The local network for the deployed boxes is unmanaged and untrusted.00:34:34
@commiterate:matrix.orgcommiterateyup SSM seems perfect then. It's significantly easier than trying to stand up your own bastion hosts00:44:05

Show newer messages


Back to Room ListRoom Version: 10