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
feita há 7 meses302 visualizações
3 Respostas
0
Resposta aceita

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
ESPECIALISTA
Steve_M
respondido há 7 meses
profile pictureAWS
ESPECIALISTA
avaliado há 7 meses
  • 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
respondido há 7 meses
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
respondido há 7 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas