'How to find Unused Security Groups of all AWS Security Groups?
How to find all the used security groups attached with all the aws resources using Boto?
Currently the following script which is giving only ec2 instances-
sec_grps = ec2_conn.get_all_security_groups()
for group in sec_grps:
print group, " Instances attached ", group.instances()
Is there any way to get all security groups which are unused by all aws resources?
Solution 1:[1]
Manual Process: copy the security group id
go to network interface in ec2 console and paste SG Here in n/w interface see whether attached any ENI
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Prakash Vegiraju |
