20

I have a couple of small EC2 instances (t1.micro and t2.micro) one of which was setup using AWS-EB. I'd like to terminate both of them, but whenever I terminate them, the re-appear in my list of running instances a couple of minutes later. How do I fully terminate them? Termination protection is not enabled.

38

As far as I'm aware the configuration wizard for AWS-EB configures an EC2 AutoScaling group for you automatically with a default desired running instances count of 1. That is why every time you try to terminate an instance the instance is relaunched.

I would therefore suggest removing AutoScaling group(s) and probably also load balancer configurations that you no longer need.

These steps will actually be done for you if you terminate the EB application, so there should be no need to do this manually.

4

Got answer from Amazon Custom Service.

I've researched your account, and the instance is being launched by an active Elastic Beanstalk environment. Terminating the instance will trigger a new one to launch, as each application has by default at least one instance.

If you'd like to delete your environment, follow these instructions:

  1. Log into the Management Console, then select the region your environment is in from the drop-down menu in the upper right of the page. Your environment is located in the US East(Ohio) region.

  2. Navigate to the Elastic Beanstalk Console here:

https://console.aws.amazon.com/elasticbeanstalk/

  1. Select the environment and choose "Terminate this environment" from the "Actions" menu.

This will delete the Elastic Beanstalk environment, as well as its associated resources. If you'd like help with this, feel free to request a call from us by using the "Phone" contact option on this case.

I hope that helps, but please let me know if you have any other questions.

  • This worked perfectly for me. Thanks, I'm glad I didn't have to call. – RevNoah Aug 3 at 4:06
1

From my experience, you used t1.micro from another service, not EC2. To terminate this, you need to go to that service. In my case, I need to go to BeanTalk to terminate it without restarting

-1

@user397515 is right It's BeansTalk that automactically create t1 server

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.