58

How to remove Instances ? I test some Instances and now I terminate it. So, I want to remove it. I can't find delete or remove action. I just found terminate.

How to change the pair key ? I don't have pair key for old Instances and I want to configure that instances.

saturngod
  • 837
  • 2
  • 10
  • 12

5 Answers5

58

Give it some time. Deletion of terminated instances is not a high priority task within the EC2 stack (seems reasonable to me). Eventually the terminated instance will drop out of the interface.

anastrophe
  • 5,548
  • 1
    I have an instance that has been terminated for months, and it's still in the list. – Jeremy Aug 23 '11 at 21:35
  • 7
    I'd like to correct my last comment. I had an instance that was "stopped" for months. Changing the status to terminated does make it go away, given time. Now I understand "termination protection". Semantics! – Jeremy Sep 08 '11 at 20:19
  • What is a reasonable time before opening a support case? Mine is stuck in terminated for nearly 6 weeks now. – Andreas Dec 06 '14 at 12:56
  • It takes a few minutes (less than ten as per my experience). You need to check if termination protection is enabled. Google it. – Zeeshan Jun 20 '16 at 07:55
31

If your instance uses the instance store as its root device (e.g. it's not an EBS backed instance), simply terminating it will destroy the instance and you won't have to do anything else.

Nathan
  • 107
Dominik
  • 2,238
  • can I change pair key ? I want to use one Instances but I don't have pem for Instances. – saturngod Feb 26 '10 at 15:09
  • Keypairs can be managed through the AWS console : http://aws.amazon.com/console/ – Dominik Feb 26 '10 at 15:55
  • Yes, in Instance , I found Key Pair name but I don't know how to change it. I crate new key pair from NETWORKING & SECURITY > Key Pairs. I want to use my new key pairs.

    Thank

    – saturngod Feb 26 '10 at 16:07
  • 8
    and if it is EBS backed? – hoju Nov 09 '10 at 22:26
  • 14
    wow, this answer is really vague. im trying out EC2 for the first time today and I am noticing right away that once you create an instance, if you terminate it, it will still appear in your list as a re-usable instance. there doesn't seem to be a way to delete instances. Is There? – djangofan Mar 01 '11 at 01:28
  • The docs seem to indicate that there is a command line tool you can use to delete an instance, but I can't find clear instructions. – Jeremy Aug 23 '11 at 21:36
  • 10
    @djangofan A terminated instance is automatically removed from the list in a short while, and doesn't cost anything. – Martijn Heemels May 08 '12 at 13:29
0

You don't have to worry about it. It will disappear after some time from the UI Interface.

0

Below is the response from the Amazon team. This should solve your issue regarding instance deletion:

To terminate an instance please visit:

https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Instances:sort=instanceId

The t2.micro can be deleted by right clicking, going to instance state and selecting terminate.

The t1.micro can be deleted by visiting:

https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#LoadBalancers:

Right click the Elastic Load Balancer, select delete. Then repeat the steps listed above for the t2.micro.

-3

Yes if you hit refresh button on the console it will disapear.