aws ec2 authorize-security-group-ingress
(Redirected from Authorize-security-group-ingress)
Jump to navigation
Jump to search
aws ec2 authorize-security-group-ingress --group-id sg-02c0c0xxxxxx --protocol tcp --port 22 --cidr 0.0.0.0/0
aws ec2 authorize-security-group-ingress --group-id sg-02c0c0xxxxxx --protocol tcp --port 5432 --cidr 0.0.0.0/0 { "Return": true, "SecurityGroupRules": [ { "SecurityGroupRuleId": "sgr-0c0xxxxxx", "GroupId": "sg-02c0xxxxx", "GroupOwnerId": "550886787118", "IsEgress": false, "IpProtocol": "tcp", "FromPort": 5432, "ToPort": 5432, "CidrIpv4": "0.0.0.0/0" } ] }
Related[edit]
aws ec2 authorize-security-group-egress
aws ec2 run-instances
aws ec2 describe-security-groups | egrep "GroupId|Description"
- Terraform resource: aws_security_group_rule
See also[edit]
Advertising: