Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon EC2 instance starts automatically

I have been using Amazon Web Service Free Tier for 3 months. I have created Amazon EC2 instances and after using them I have closed them immediately. However, I realized that one instance started automatically after terminating. Several times I terminated the instance, and it started to run automatically again. Because of this situation I was charged.

Can anyone show me how to close ec2 instances permenantly ?

Thanks.

like image 619
Hilmi Yamcı Avatar asked Jan 20 '17 08:01

Hilmi Yamcı


1 Answers

It sounds like you have setup an autoscaling group, which will try to ensure you have a certain number of instances running.

To check this, login to the EC2 console and look for the Auto Scaling -> Auto Scaling Groups menu item. If you click into that you should be able to see all the current ASGs and could delete them or change the number of instances to 0.

like image 113
c3st7n Avatar answered Oct 15 '22 05:10

c3st7n