
Day 11 Of Cloud with AWS: Enable Termination Protection for EC2 Instance
#100DaysOfCloud challenge using AWS
In today's task: Enable Termination Protection for EC2 Instance
Steps followed:
Step 1:
Login to aws console using the credentials.
Step 2:
Select region:
1
us-east-1from the top-right corner.
Step 4: Locate the Instance
- Click:
1
Instancesfrom the left sidebar.
- Search for:
1
datacenter-ec2- Select the instance checkbox.
Step 5: Enable Termination Protection
- Click:
1
Actions- Navigate to:
1
Instance settings- Click:
1
Change termination protection- Check:
1
Enable- Click:
1
SaveVerification
After saving:
- Refresh the page.
- Open the Details tab.
- Confirm:
1
Termination protection: EnabledWhat is Termination Protection?
Termination protection prevents an EC2 instance from being accidentally deleted.
When enabled:
- The instance cannot be terminated from Console, CLI, or API.
- It protects important workloads from accidental removal.
It does NOT prevent:
- Stopping the instance
- Rebooting the instance
- Modifying the instance
AWS commonly enables it for:
- Production servers
- Critical databases
- Long-running applications
- Important testing environments
- Shared infrastructure instances
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article