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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ