Why EC2 Termination Doesn't Have Double Confirmation that to with Default 'Delete on Termination' Flag setted true?

0

Have you ever wondered why terminating an EC2 instance doesn't require double confirmation through email, unlike other critical actions such as enabling services for payments? And why is the default setting for the "Delete on Termination" flag set to true, risking accidental and irreversible data loss?

While options like auto backups and snapshots exist to safeguard data, not everyone may be aware of or have access to them. Even with these options, there's still a risk of permanently losing important data if termination is accidental or unintended.

Imagine this: you're about to terminate an instance without realizing that you haven't taken any snapshots or backups. A double confirmation email could alert you to this fact, giving you a chance to reconsider and take necessary precautions to avoid data loss.

In simple terms, shouldn't there be extra steps to prevent unintended terminations and ensure data safety? Yes, there are auto-backup and snapshot options available, but not everyone may know how to use them or have them set up.

Therefore, just think how a double confirmation email like "Hey, just a heads up, you haven't backed up your data and Delete on Termination is enabled, so if you go ahead, you might lose all data associated with this instance" could serve as a vital safety net, reminding users to protect their data before proceeding with termination.

Moreover, once an instance is terminated, there's often no immediate way to regain lost data, at least for a certain period. This underscores the importance of implementing effective safeguards to prevent accidental data loss.

1 Answer
0

Hello.

Enable EC2 termination protection.
Basically, the countermeasure is to enable the termination protection option when or after creating EC2 to prevent accidental deletion.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminate-instances-considerations.html

It's true that a pop-up or other warning when deleting something would help prevent accidental deletion, but some people still delete it, so use deletion protection to further reduce that possibility.

Also, if you have any requests or feedback regarding the UI, I recommend sending a message from the feedback button on the bottom left of the management console.
a

v

profile picture
EXPERT
answered 2 months ago
profile pictureAWS
EXPERT
reviewed 2 months ago
  • I appreciate the suggestion to enable EC2 termination protection as a measure against accidental deletion. It's indeed a crucial step to mitigate risks.

    However, my concern lies more with understanding the intention behind certain default settings. If termination protection is meant to prevent accidents, why isn't it enabled by default? Additionally, it's puzzling that the "Delete on Termination" setting defaults to true, seemingly increasing the risk of unintended data loss.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions