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
Plain Linux spawn launch into a default VPC waits 2 min for SSH and fails: only the VPC default SG is attached, and it has no port-22 rule #1296
❌ Error: SSH (port 22) on 54.214.135.215 did not become reachable within 2m0s: dial tcp 54.214.135.215:22: i/o timeout
⚠️ SSH never became reachable ...
✅ Verifying spored agent (up to 5 min) (232ms)
The instance was healthy:
the bootstrap body was verified;
the user was configured;
spored 0.143.0 was sending heartbeats.
The SSH failure is a network issue, not a boot issue.
Cause:ensureSecurityGroup (cmd/launch_single.go:1261) creates a managed security group only for MPI or Windows. For a plain Linux launch it does nothing, so the instance gets the VPC's default security group. Here that group has exactly one inbound rule: all traffic from itself. That is AWS's stock default, so port 22 is closed. CloudTrail shows no change to that group in the last 7 days, so this is not a removed rule. It is how a fresh default VPC behaves.
Effect:
Every plain Linux spawn launch into an unmodified default VPC spends the 2-minute --wait-for-ssh timeout, then prints an error.
spawn connect works only through the SSM fallback.
Anyone who expects SSH (ssh, scp, port forwarding) gets an i/o timeout and no explanation.
Spawn creates its own security groups only for MPI and Windows.
Or make the default connect path SSM-only. Skip the SSH wait unless SSH is requested, and when the attached groups don't open port 22, say so up front instead of after a 2-minute timeout.
Either way, the launch should know before waiting whether port 22 can be reached.
Activity
feat(launch,connect): SSM-first Linux access; no SSH wait by default (#…
SSM-first Linux launch/connect (#1296); terminate on failed launch by…