sparse-intern-71089
11/16/2022, 3:55 PMbillowy-army-68599
jolly-fall-57688
11/16/2022, 3:58 PMbillowy-army-68599
billowy-army-68599
jolly-fall-57688
11/16/2022, 4:03 PM# Reduces # of NatGateways to save $$$ NOT intended for production
nat_gateways=awsx.ec2.NatGatewayConfigurationArgs(
strategy = awsx.ec2.NatGatewayStrategy.SINGLE
quaint-hydrogen-7228
11/16/2022, 4:40 PMjolly-fall-57688
11/16/2022, 4:50 PMdescription = "Allow web traffic for cluster",
vpc_id = vpc.vpc_id,
ingress = [aws.ec2.SecurityGroupIngressArgs(
description = "Allow port 80 inbound from Internet",
from_port = 80,
to_port = 80,
protocol = "tcp",
cidr_blocks = ["0.0.0.0/0"]
)],
egress = [aws.ec2.SecurityGroupEgressArgs(
description = "Allow all traffic out from cluster",
from_port = 0,
to_port = 0,
protocol = "tcp",
cidr_blocks = ["0.0.0.0/0"]
)]