Skip to content

SSM/spored doesn't come online on a launched imported Windows client AMI #95

Closed

Description

@scttfrdmn

Context

Split out from #83 (Windows ISO → AMI via spawn image import). The import path
is proven: spawn image import produced a real Windows 11 Enterprise AMI
(Windows BYOL, UEFI, TPM 2.0) that boots cleanly — EC2 instance + system
status checks both ok. This issue is about the launch path on such an AMI,
not the import.

Symptom

spawn launch <name> --ami <imported-win11-ami> --os windows --ttl 1h launches
and the instance boots, but SSM never registers (aws ssm describe-instance-information returns nothing) within ~12 min, so the Windows
management path (and spored-over-SSM) doesn't come online. Observed on a
validation run of ami-0eebeaa9c2079e6d2 / ami-01bad5e9aa36c0f53 in the dev
account (i-060d23a8d44f76be9). SSH-on-22 + DNS-registration also failed (expected:
this is a custom client AMI, not a stock Windows Server AMI).

What's known / suspects

Acceptance

  • A spawn launch --os windows from an imported Win11 client AMI reaches SSM
    online (PingStatus=Online) and spored installs + self-manages (TTL terminates),
    OR
  • We document a clear prerequisite (instance-profile policy / VPC endpoints /
    expected first-boot delay) and spawn launch surfaces it instead of silently
    not registering.

Cost note

Repro requires launching a Windows instance — use --ttl and leak-check after
(per the standing rule). Don't leave instances running while debugging.

Refs #83.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions