Assuming your Sample-env instance was created by Elastic Beanstalk, then your EC2 instance is controlled by an Auto Scaling group.
When you terminate an EC2 instance that is controlled by Auto Scaling then it will be replaced. This is a feature of Auto Scaling.
If you want to terminate your EC2 instance, instead delete your Elastic Beanstalk environment.
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.
To Resolve this
==================
Instance > Actions > Networking > Change security Groups > Check : Def. VPN ::Save
Now delete SecurityGroup for ElasticBeanstalk environment
Terminate Instance, It Wont coming Back
When you terminate an EC2 instance that is controlled by Auto Scaling then it will be replaced. This is a feature of Auto Scaling.
If you want to terminate your EC2 instance, instead delete your Elastic Beanstalk environment.
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.
To Resolve this
==================
Instance > Actions > Networking > Change security Groups > Check : Def. VPN ::Save
Now delete SecurityGroup for ElasticBeanstalk environment
Terminate Instance, It Wont coming Back
0 Comments
Post a Comment