DEV Community

Cover image for Day 9.Enable Termination Protection for EC2 Instance
Thu Kha Kyawe
Thu Kha Kyawe

Posted on

Day 9.Enable Termination Protection for EC2 Instance

Lab Information

As part of the migration, there were some components created under the AWS account. The Nautilus DevOps team created one EC2 instance where they forgot to enable the termination protection which is needed for this instance.

An instance named devops-ec2 already exists in us-east-1 region. Enable termination protection for the same.

Lab Solutions

Step-by-Step Instructions (AWS Console)

  1. Log in to AWS Console

Use the console URL and credentials you were given.
Ensure the region is us-east-1 (N. Virginia).

  1. Navigate to EC2

Open the EC2 service from the AWS console search bar.

  1. Find the Instance

Click Instances in the left panel.

Locate devops-ec2.

Select it.

  1. Enable Termination Protection

With the instance selected:

Click Actions

Choose Instance settings

Click Change termination protection
(Sometimes shown as Edit termination protection)

A settings panel will appear.

Check the box Enable termination protection

Click Save


Resources & Next Steps


Credits

  • All labs are from: KodeKloud
  • Thanks for providing them.

Top comments (0)