Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EKS example needs update to VPS subnet IP settings #52

Closed
geerlingguy opened this issue May 14, 2020 · 1 comment
Closed

EKS example needs update to VPS subnet IP settings #52

geerlingguy opened this issue May 14, 2020 · 1 comment

Comments

@geerlingguy
Copy link
Owner

geerlingguy commented May 14, 2020

For more details, see Upcoming Changes to IP Assignment for EKS Managed Node Groups.

It seems like I would just need to add the property MapPublicIpOnLaunch: true to all the subnets in the vpc.yml template:

  Subnet1a:
    Type: AWS::EC2::Subnet
    Properties:
      VpcId: !Ref VPC
      AvailabilityZone:
        Fn::Sub: '${Region}a'
      CidrBlock: 172.16.0.0/18
      # This is the new setting:
      MapPublicIpOnLaunch: true
      Tags:
        - Key: Name
          Value: eks-example-a
@geerlingguy
Copy link
Owner Author

geerlingguy commented May 14, 2020

Confirmed that this worked out correctly in the end. Will make this update in the next version of the book.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant