not able to delete a security group for my Amazon VPC in AWS

0 votes

Hello everyone,

I created one VPC in my AWS account and attached security groups to check weather my VPC is working properly or not. Now I am trying to delete that security group, but it shows me error? Can anyone tell me what I am doing wrong?

Thank You 

Mar 18, 2020 in AWS by akhtar
• 38,170 points
455 views

1 answer to this question.

0 votes

Hi@akhtar,

When you try to delete that security group, you will get an error message which will give the ID of the resource that security group is attached to. Search with that ID, terminate or delete the resource (if not in use) and then try to delete the security group. If you don't terminate its dependency, it will not allow to delete security group.

Thank You

answered Mar 18, 2020 by MD
• 95,180 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

Do you get charged for a security group in AWS EC2?

There is no charge applicable to Security ...READ MORE

answered Jul 18, 2018 in AWS by Priyaj
• 58,120 points
3,420 views
0 votes
1 answer

if instance is a part of some AutoScaling Group in AWS or not ?

You can run this command below on ...READ MORE

answered Jun 1, 2018 in AWS by Cloud gunner
• 4,650 points
345 views
+3 votes
2 answers

AWS VPN architecture diagram creation.

Yes you can go ahead and use ...READ MORE

answered Jul 13, 2018 in AWS by Priyaj
• 58,120 points
667 views
0 votes
1 answer
0 votes
1 answer

How to create a security group in AWS with Boto3?

Hi@akhtar, You can create a new security group ...READ MORE

answered Oct 10, 2020 in AWS by MD
• 95,180 points
566 views
0 votes
1 answer

How to delete a Cluster Security Group in RedShift?

Hi@akhtar, You can delete an Amazon Redshift security group. The ...READ MORE

answered Nov 27, 2020 in AWS by MD
• 95,180 points
66 views