Skip to content

Support OS choice beyond AL2023 — Ubuntu 24.04 + customer AMI #54

Open

Description

@scttfrdmn

Summary

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/...).
  • --ami ami-... already exists for a custom AMI (and spawn launch: should auto-detect minimum volume size from AMI snapshot #25 now auto-floors the volume from its snapshot) — make the OS-dependent assumptions explicit so a custom AMI works:
    • 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

  1. added
    enhancement
    on Jun 3, 2026
  2. added
    area:launch
    on Jun 12, 2026
  3. added this to the Later milestone on Oct 19, 2026
  4. modified the milestones: Later, Post-1.0 on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:launchenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions