Can't delete EBS app or env

0

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.

1 回答
0
已接受的回答

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

  1. 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

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则