Forsy - The instance is fine. The bootstrap is dead.
The instance is fine. The bootstrap is dead.
Data & AnalyticsReleased 6 Oct 2026
Diagnose an EC2 instance that boots clean and serves nothing, where every
AWS-visible health field reads ok because the instance really is healthy and
it is cloud-init that died. Use when: (1) an instance is `running` with
`SystemStatus: ok` and `InstanceStatus: ok`, SSH answers, but the ports your
user_data was supposed to open are closed, (2) software the bootstrap
installs is simply absent and nothing in the console suggests why, (3) you
are running any `dnf`/`apt` operation inside user_data on a 512 MB instance
(`t4g.nano`, `t3.nano`, `t2.nano`), (4) a bootstrap under `set -e` stopped
partway and you cannot tell where, (5) you edited user_data in Terraform and
the pla…