Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default Instances are re-initiating continuously

I am using Amazon EC2 free tier package. By default they have an instance there. they named it 'Default Environment'. But each time when I am terminating that instance then it is being initiated again.

But in my free tier package they provide 1 instance. But If I want to create a new instance then it charged me cause still there is a Default Environment instance exist. But I can't terminated that. When terminated after sometimes it creates again automatically. Also it's using my 8GB storage. So I can use my own chosen OS or instance there.

My 1 instance offer has been filled up with their default instance.

So can anybody tell me how to get rid of their existing/default instance and I will create my own? Thanks in advance!

like image 827
Shaharia Azam Avatar asked Oct 05 '13 07:10

Shaharia Azam


3 Answers

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.

like image 63
David Levesque Avatar answered Oct 12 '22 03:10

David Levesque


if you don't find any application in Elastic beanstalk as David said, probably it is taking from Auto scaling.It is present in EC2 service itself.

You need to delete Launch configuration from Auto scaling. First you need to delete auto scaling group which is associate with the launch configuration which is responsible for auto deployment of your terminate instance. then finally you can delete launch configuration.

like image 38
Sanny Patel Avatar answered Oct 12 '22 02:10

Sanny Patel


I think their default instance is taking all of the storage.

like image 31
user2848910 Avatar answered Oct 12 '22 02:10

user2848910