Direkt zum Inhalt

New EC2 instance launching after Termination. How to stop/prevent this cycle ?

0

I terminated an EC2 instance but a few minutes later a new one launched. I terminated once again, but another instance launches. How do I prevent this from happening ? I checked for auto-scaling and elastic-beanstalk but neither are enabled ?

Thanks in advance for any pointers.

gefragt vor 3 Jahren558 Aufrufe

2 Antworten
0
Akzeptierte Antwort

You can start by seeing if there is information in the CloudTrail logs that points to who is issuing the ec2:RunInstance API call. See: Viewing events with CloudTrail Event history.

AWS
EXPERTE

beantwortet vor 3 Jahren

EXPERTE

überprüft vor 3 Jahren

0

Thank you @kentrad ! There were enough breadcrumbs in the CloudTrail logs you suggested (i was not aware of this ability to track previously) to narrow down my rookie-error :) Somewhat embarrassing, a-hem.... These were spot instances which I'd set as persistent. First time doing this. So, basically I had to navigate in the console to "Spot Requests" and then: "actions" --> "cancel request".

Thanks again!

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.