In the case of EC2 on DB, data disappears when you scale in or scale out with AutoScaling.
An error will occur because consistency will no longer be maintained.
When managing databases with EC2, we do not recommend managing them with AutoScaling groups.
Q: What does the term “stateful instances” refer to?
When we refer to a stateful instance, we mean an instance that has data on it, which exists only on that instance. In general, terminating a stateful instance means that the data (or state information) on the instance is lost. You may want to consider using lifecycle hooks to copy the data off of a stateful instance before it’s terminated, or enable instance protection to prevent Amazon EC2 Auto Scaling from terminating it.
- asked 10 months ago
- asked a month ago
- asked 3 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- EXPERTpublished 3 months ago
- EXPERTpublished 2 months ago