1.Disposable application instances
A disposable instance can be killed and replaced at any moment without losing anything important — because nothing important lives only on that instance. This is what makes auto-scaling, rolling deploys and crash recovery all simple: killing an instance is a routine event, not an emergency.
Key features
- Disposable: an instance can be killed and replaced at any time with no data loss
- Requires: no data that only this instance has, and nothing that assumes this specific instance stays alive
- Enables: auto-scaling (add/remove instances freely), rolling deploys, and automatic crash recovery
- An instance crashing becomes a routine, self-healing event instead of an incident
- The opposite — a "pet" instance that is hand-configured and irreplaceable — cannot be treated this way
Disposable vs "pet" instances
- Disposable
- No data lives only on this instance
- Crash → auto-restart, no incident
- Enables auto-scaling and rolling deploys
- "Pet"
- Has unique, hand-configured local state
- Crash → paged, manual recovery
- Cannot be freely killed and replaced
Command
disposable instance = no unique local state
+ config/state from shared sources
+ safe to kill and replace anytimeA disposable instance holds no unique state and can be killed and replaced at any time — the precondition for auto-scaling, rolling deploys and self-healing crash recovery.