How Do You Find the Security Group ID Values in AWS?

Problem scenario
You want to list the Security Group ID value in AWS.

Install and configure the AWS CLI; if you need assistance, see this posting if you can you the pip command and you are using Ubuntu. If you cannot use the pip command or you are not using Ubuntu, see this posting.

Run this command:
aws ec2 describe-security-groups | grep GroupId

Leave a comment

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