You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support OS choice beyond AL2023 — Ubuntu 24.04 + customer AMI #54
Today spawn is AL2023-only: AMI auto-detect resolves the latest AL2023 (pkg/aws/ami.go), and the spored bootstrap / SSH user / package assumptions are AL2023-shaped. Add vetted alternatives — Ubuntu 24.04 LTS — and first-class support for a customer-supplied AMI.
Proposed
--os al2023|ubuntu2404 (default al2023) → auto-detect the latest vetted AMI for that OS (SSM public parameters: AL2023 /aws/service/ami-amazon-linux-latest/..., Ubuntu via Canonical's /aws/service/canonical/ubuntu/server/24.04/stable/current/...).
SSH user differs by OS (ec2-user on AL2023, ubuntu on Ubuntu). spored/connect currently hardcode ec2-user — needs to be OS/AMI-aware (flag --ssh-user and/or detect from the AMI).
spored bootstrap assumes the AL2023 environment (systemd unit, package manager, paths). Verify/adjust for Ubuntu; the spored binary itself is static Go so it should run, but the install script's assumptions need an audit.
Tag spawn:os for visibility.
Scope notes
Vet each OS the same way AL2023 is (spored installs + runs, idle/TTL/completion work, connect works).
connect/status hardcoded ec2-user@ is the main blocker — that's the cross-cutting change.
Context
Feature request. Custom-AMI launches already work mechanically (#25); the gap is the OS-coupled SSH-user + bootstrap assumptions. Windows is tracked separately (exploration) since its connection/monitoring model is fundamentally different.
Activity