Search code examples
amazon-ec2hbaseapache-zookeeper

unable to delete security groups from amazon aws


I have created the three security groups for the testing purpose on amazon aws. Now I want to delete them. But, every time I try to delete them it gives me the error: Group XXXXXXX:testcluster is used by groups: XXXXXXXX:testcluster-master XXXXXXX:testcluster-zookeeper

Also, there is no option to delete multiple groups. How can I delete them?


Solution

  • The rules will reappear in the security group if you do not save any changes done. You will have to do the following:

    1. Go to your security group "testcluster-zookeeper".
    2. Delete all referenced rules to testcluster
    3. Press the "apply rule changes" button
    4. Go to testcluster-master repeat steps 2 and 3