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.

essans
已提问 1 年前217 查看次数
2 回答
0
已接受的回答

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.

profile pictureAWS
专家
kentrad
已回答 1 年前
profile picture
专家
已审核 1 年前
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!

essans
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则