Can't delete EBS app or env
Hello, I'm starting to learn AWS and tried to standup a .Net core example app using Elastic Beanstalk. After messing around with it for a bit I wanted to delete the app and env but now the env is stuck in "Suspended" health and cannot get it deleted. It appears due to having a chain of dependencies of security groups, network interfaces, ec2 instances, etc that I'm not familiar with. I tried following the dependencies back and removing them but everything fails for one reason or another.
The last spot I got to was deleting the network interface. I don't know if this is the interface for the entire VPC or just the EC2 instance that no longer exists but I get a permission denied message.
Hi there
From the note, I understand you starting to learn AWS and tried to standup a .Net core example app using Elastic Beanstalk. After messing around with it for a bit you wanted to delete the app and env but now the env is stuck in "Suspended" health and cannot get it deleted. It appears due to having a chain of dependencies of security groups, network interfaces, ec2 instances, etc that you're not familiar with. You tried following the dependencies back and removing them but everything fails for one reason or another. Please correct me if my understanding is wrong.
First you need to terminate your environment. Elastic Beanstalk terminates all AWS resources associated with your environment, such as Amazon EC2 instances, database instances, load balancers, security groups, and alarms. To terminate your Elastic Beanstalk environment
- Open the Elastic Beanstalk console, and in the Regions list, select your AWS Region.
In the navigation pane, choose Environments, and then choose the name of your environment from the list.
Please note if you have many environments, use the search bar to filter the environment list. Choose Environment actions, and then choose Terminate environment. Use the on-screen dialog box to confirm environment termination.
I hope the above information is helpful.
References:
1.https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/dotnet-core-tutorial.html
Relevant questions
CFM stack is stuck after failure deleting Beanstalk app
Accepted Answerasked 3 months agoAWS Device Farm can not get the correct app activity for Android app to launch app using Appium
asked 6 months agoNo option to retry failed App Runner service deployments
asked 3 months agoWhen to use Lambda env variable and App Config ?
asked 2 months agoSeparate web and app servers
Accepted Answerasked 2 years agoAmplify - Not able to delete app
Accepted Answerasked 6 months ago.NET Core IoT and IotData in the same app - how do I configure this?
asked 3 years agoAWS App Runner Stuck
asked 10 months agoASP.NET Core app deploy to AWS Beanstalk on Linux
asked 2 years agoCan't delete EBS app or env
asked 14 days ago