Skip to content

Instantly share code, notes, and snippets.

@fv42wid
Created July 13, 2020 16:47
Show Gist options
  • Save fv42wid/ba3a4a92239a110241db4c78262ecd69 to your computer and use it in GitHub Desktop.
Save fv42wid/ba3a4a92239a110241db4c78262ecd69 to your computer and use it in GitHub Desktop.
security group
{
"SecurityGroups": [
{
"Description": "Security group for ecs on us-east-1",
"GroupName": "ecs_SG_useast1",
"IpPermissions": [
{
"FromPort": 80,
"IpProtocol": "tcp",
"IpRanges": [
{
"CidrIp": "0.0.0.0/0"
}
],
"Ipv6Ranges": [],
"PrefixListIds": [],
"ToPort": 80,
"UserIdGroupPairs": []
},
{
"FromPort": 5432,
"IpProtocol": "tcp",
"IpRanges": [
{
"CidrIp": "0.0.0.0/0"
}
],
"Ipv6Ranges": [],
"PrefixListIds": [],
"ToPort": 5432,
"UserIdGroupPairs": [
{
"GroupId": "sg-0d92e7902f657f509",
"UserId": "855889051755"
}
]
},
{
"FromPort": 22,
"IpProtocol": "tcp",
"IpRanges": [
{
"CidrIp": "0.0.0.0/0"
}
],
"Ipv6Ranges": [],
"PrefixListIds": [],
"ToPort": 22,
"UserIdGroupPairs": []
},
{
"FromPort": 6379,
"IpProtocol": "tcp",
"IpRanges": [
{
"CidrIp": "0.0.0.0/0"
}
],
"Ipv6Ranges": [],
"PrefixListIds": [],
"ToPort": 6379,
"UserIdGroupPairs": [
{
"GroupId": "sg-0d92e7902f657f509",
"UserId": "855889051755"
}
]
}
],
"OwnerId": "855889051755",
"GroupId": "sg-0d92e7902f657f509",
"IpPermissionsEgress": [
{
"IpProtocol": "-1",
"IpRanges": [
{
"CidrIp": "0.0.0.0/0"
}
],
"Ipv6Ranges": [],
"PrefixListIds": [],
"UserIdGroupPairs": []
}
],
"VpcId": "vpc-c750c9a3"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment