concept
Instance lifecycle, metadata and cost
Stop, start, reboot and terminate have different effects on compute and data. Protect metadata using IMDSv2 where compatible and review retained resources separately.
Formal Syntax & Structure
aws syntaxaws
pending → running → stopping → stopped; termination is finalWorking Example
Example Snippetaws
10 hours × $0.04/hour + 20 GiB-month × $0.10 = $2.40 (hypothetical).