How can I protect critical EC2 instances from deletion?

0
0
Asked By TechWhiz42 On

I'm looking for ways to safeguard some critical EC2 instances from malicious termination. For instance, let's say there are two engineers who normally have the ability to delete these instances. Is there a method where we can set it up so that more than one account needs to be involved in order to terminate these EC2s? Also, I'm curious if there's an option for automatic daily backups for these instances. Any advice would be greatly appreciated!

2 Answers

Answered By CloudGuru99 On

You can enable termination protection for your critical EC2 instances to prevent accidental deletions. Also, consider using AWS Backup to set up automatic daily backups for those instances.

Answered By DevOpsDude88 On

A common strategy is to manage deletions through a CI/CD pipeline. This way, the instances can't be deleted unless it goes through a review process, where changes have to be approved first. This can mitigate both malicious action and mistakes during deployment.

SecuredTech01 -

Exactly! By restricting deletion privileges and using pull requests for changes, you add a layer of security that helps avoid errors and ensures oversight.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.