2023-05-09 19:34:44 +02:00

56 lines
969 B
JSON

[
{
"name": "device1",
"region": "eu-west-1",
"ami": "ami-68d78411",
"instance_type": "t2.small",
"ingress_rules": [
{
"from_port": 22,
"to_port": 22,
"protocol": "tcp",
"cidr_blocks": ["0.0.0.0/0"]
},
{
"from_port": 80,
"to_port": 80,
"protocol": "tcp",
"cidr_blocks": ["0.0.0.0/0"]
},
{
"from_port": 443,
"to_port": 443,
"protocol": "tcp",
"cidr_blocks": ["0.0.0.0/0"]
},
{
"from_port": 51000,
"to_port": 51100,
"protocol": "tcp",
"cidr_blocks": ["0.0.0.0/0"]
},
{
"from_port": 51000,
"to_port": 51100,
"protocol": "udp",
"cidr_blocks": ["0.0.0.0/0"]
}
],
"egress_rules": [
{
"from_port": 0,
"to_port": 65535,
"protocol": "udp",
"cidr_blocks": ["0.0.0.0/0"]
}
]
},
{
"name": "device2",
"region": "eu-west-1",
"ami": "ami-68d78411",
"instance_type": "t2.small",
"security_group": "<your_existing_sg>"
}
]