groupSet

From wikieduonline
Jump to navigation Jump to search

aws ec2 describe-instance-attribute --instance-id i-00b1xxxxx8aa --attribute groupSet
{
    "Groups": [
        {
            "GroupName": "default",
            "GroupId": "sg-02c0c057d26760df6"
        }
    ],
    "InstanceId": "i-00bxxxxxx118aa"
}

Ref: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html

Related[edit]

aws ec2 authorize-security-group-ingress --region region --group-id security_group_id --protocol tcp --port 22 --cidr cidr_ip_range

See also[edit]

Advertising: