EC2 instances can't be deleted

0

Hello Builders,

As an AWS newbie, I created some EC2 and played around with EFS very basically created Security groups and attached subnets all steps to mount EFS to the instance.

I honestly terminated the EC2 and removed the EFS and default VPC

Now the EC2s still in console terminated but not removed yet

How I can troubleshoot such thing

Thanks in Advance

profile picture
posta 7 mesi fa302 visualizzazioni
3 Risposte
0
Risposta accettata

Terminated instances will remain visible in the EC2 section of AWS Console immediately after being terminated, they will disappear completely after about an hour or so.

See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#termination-overview

After you terminate an instance, it remains visible in the console for a short while, and then the entry is automatically deleted. You cannot delete the terminated instance entry yourself.

You won't be charged for the instance once it has been terminated, though if any associated volumes or elastic IPs are not deleted/released then these remain chargeable.

profile picture
ESPERTO
Steve_M
con risposta 7 mesi fa
profile pictureAWS
ESPERTO
verificato 7 mesi fa
  • Thanks for your answer!

0

Agree with Steve_M's answer. Look at the "Instance Termination" portion of the EC2 Termination Documentation...

Instance termination After you terminate an instance, it remains visible in the console for a short while, and then the entry is automatically deleted. You cannot delete the terminated instance entry yourself. After an instance is terminated, resources such as tags and volumes are gradually disassociated from the instance and may no longer be visible on the terminated instance after a short while.

Terminating an EC2 Instance

profile pictureAWS
con risposta 7 mesi fa
0

There is no need to remove default VPC though. It is better to keep default VPC as VPCs are not chargeable to customer.

Ajit
con risposta 7 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande