File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ Resources:
60
60
SecurityGroups :
61
61
- !ImportValue VPC-ELBSecurityGroup
62
62
Subnets :
63
- # TODO: This copies geocoder and the code.org load balancer, but we may prefer something unique
63
+ # Place load balancer in public subnets, so it's accessible from the internet.
64
+ # We may want to move this to the private subnets, so only internal resources
65
+ # can access it, but this is very convenient for local development.
64
66
- !ImportValue VPC-PublicSubnetB
65
67
- !ImportValue VPC-PublicSubnetC
66
68
- !ImportValue VPC-PublicSubnetD
@@ -134,9 +136,11 @@ Resources:
134
136
SecurityGroups :
135
137
- !Ref ECSSecurityGroup
136
138
Subnets :
137
- # TODO: This copies geocoder , but we should probably have a separate subnet for this service .
139
+ # Place ECS Service in private subnets , but traffic should use the LoadBalancer .
138
140
- !ImportValue VPC-SubnetB
139
141
- !ImportValue VPC-SubnetC
142
+ - !ImportValue VPC-SubnetD
143
+ - !ImportValue VPC-SubnetE
140
144
LoadBalancers :
141
145
- ContainerName : aiproxy
142
146
ContainerPort : 80
You can’t perform that action at this time.
0 commit comments