By using AWS re:Post, you agree to the Terms of Use
/Can't delete EBS app or env/

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 Answers
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

answered 13 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions