You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Internal ELB and Master Nodes in Public Subnets #747
Upon completing the install, the internal facing ELB and the master nodes were located in the public subnets. The masters also had public IP addresses assigned.
What you expected to happen?
Only the external facing ELB and NAT Gateways should be in the public subnets. All nodes and the private ELB can be in the private subnets. This provides the lowest exposed footprint out-of-the-box and also protects against accidental configuration mistakes post-install as well (security group modified, DDoS, remote SSH exploit, etc.)
How to reproduce it (as minimally and precisely as possible)?
Run the current install on AWS.
Anything else we need to know?
The subnets are currently named "master" and "worker" subnets. This could be changed to "public" and "private" if the nodes are moved.
There are a couple 0.0.0.0/0 rules against the master security group. These would be changed to VPC-wide rules to allow the same access as before to a bastion
The public subnet could be shrunk (along with validation around CIDRs given). With only a public ELB and NAT gateway, a /28 subnet is sufficient and minimally required right now. Our generated VPC could still have subnets created much larger to support LoadBalancer type of services, but /28 would be the minimum allowable (if we have validation).
Activity
[-]Internal ELB and Master Nodes in Public subnets[/-][+]Internal ELB and Master Nodes in Public Subnets[/+]wking commentedon Jan 18, 2019
The OpenStack platform addressed this (as I understand it) in #1028. We still need to address it for AWS.
cuppett commentedon Jan 18, 2019
cc @eparis