AWS Automatically Generating New Instance After I Terminate It.

后端 未结 3 1591
予麋鹿
予麋鹿 2021-01-03 23:10

OK, odd thing is happening on AWS.

I downloaded the AWS .NET developer tools and created an elastic beanstalk default instance. I then, for one reason or another,

相关标签:
3条回答
  • 2021-01-03 23:48

    As described here it is caused by Auto Scaling Group's desired/minimum 1 instance setting. So, what that means is that the instances in that auto scaling group will always have a running instance. If you delete the only one it will create another one. To prevent this go to EC2 dashboard and on the left sidebar scroll down to find/click Auto Scaling Groups under AUTO SCALING menu. You will see the list of groups where you can click on them to see which instances are in those groups. Find the group that your instance is in and either delete it (that happens when an environment is deleted as well) or change its desired and minimum 1 instance rule to 0 and save. That is it.

    0 讨论(0)
  • 2021-01-03 23:58

    if beanstalk is not enable, then most probably it is creating from auto scaling. which is present in EC2 service itself.

    Go to auto scaling and first delete the auto configuration group and launch configuration for that associate instance.

    0 讨论(0)
  • 2021-01-03 23:59

    I've experienced something similar. If the instance was created through Elastic Beanstalk, you need to go the Elastic Beanstalk screen in the AWS console and remove the application from there first. If you just terminate the instance from the EC2 screen, Elastic Beanstalk probably thinks that the instance crashed and launches a new one.

    0 讨论(0)
提交回复
热议问题