Skip to content

Internal ELB and Master Nodes in Public Subnets #747

Closed

Description

@cuppett

What happened?

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?

  1. The subnets are currently named "master" and "worker" subnets. This could be changed to "public" and "private" if the nodes are moved.
  2. 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
  3. 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).

Version

$ openshift-install version
bin/openshift-install v0.3.0-222-g8edb29d8a67b2014590afd768f42866c77f78aa6
Terraform v0.11.8

Platform:

AWS

Activity

  1. changed the title [-]Internal ELB and Master Nodes in Public subnets[/-] [+]Internal ELB and Master Nodes in Public Subnets[/+] on Nov 28, 2018
  2. wking commented on Jan 18, 2019

    @wking
    Member

    The OpenStack platform addressed this (as I understand it) in #1028. We still need to address it for AWS.

  3. cuppett commented on Jan 18, 2019

    @cuppett
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions