What is the AWS CLI Command to Show the Security Group IDs?

Problem scenario
You are now administering an AWS account. You have the AWS CLI installed and configured. How do you find out what Security Group IDs there are?

Solution
Run this command:
aws ec2 describe-security-groups | grep -i groupid

Leave a comment

Your email address will not be published. Required fields are marked *