AWS – Disabling Termination Protection for unwanted instances and terminating them.

If you are new to cloud computing, specially with AWS, you will probably see an annoying message while trying to terminate instances you no longer need. The message will look like below “These instances have Termination Protection and will not be terminated”.

aws1

Be sure that the instance can be terminated (by that I mean excluded!)

In order to terminate such instance you have to go to EC2 -> Instances, select the desired server and click on “Actions” -> Instance Settings -> Change Termination Protection as demonstrated below.

aws2

You should see a prompt similar to the image below, just click on “Yes, Disable”.

aws3

Now you can terminate the instance by selecting “Actions” -> Instance State -> Terminate.

aws4

Confirm your choice by clicking on “Yes, Terminate”. (Again… be sure you can really remove this server)

aws5

That’s it… the server will still show up in the list with the status “Terminated” and will disappear in about 20 minutes. You will no longer be able to start that server.

Hope this helps…

 

Advertisements

About Bruno Carvalho

Coffee addicted tech guy.
This entry was posted in Cloud Computing and tagged , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s