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

elasticloadbalancingv2: specify private IPv4 address for internal NLB #30388

Open
1 of 2 tasks
badmintoncryer opened this issue May 30, 2024 · 1 comment
Open
1 of 2 tasks
Labels
@aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Comments

@badmintoncryer
Copy link
Contributor

badmintoncryer commented May 30, 2024

Describe the feature

We can set static private IPv4 address for internal NLB.

Use Case

NLB supports for specifying private IPv4 address from SubnetMapping property.

However, L2 construct cannot configure it.

Proposed Solution

Add staticIpv4 boolean property to NetworkLoadBalancerProps and set PrivateIpv4Address in the SubnetMappings.

const lb = new elbv2.NetworkLoadBalancer(this, 'LB', {
  vpc,
  internetFacing: false, // only for internal NLB
  staticIpv4: true // add
});

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.141.0

Environment details (OS name and version, etc.)

irrelevant

@badmintoncryer badmintoncryer added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels May 30, 2024
@github-actions github-actions bot added the @aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 label May 30, 2024
@khushail khushail added investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels May 30, 2024
@khushail khushail self-assigned this May 30, 2024
@khushail
Copy link
Contributor

khushail commented May 30, 2024

Hi @badmintoncryer , thanks for reaching out. I see there is somewhat similar Feature request in the past for addition of SubnetMapping property and here is a suggested alternate for doing so. Please feel free to submit a PR. Thanks!

@khushail khushail added p2 effort/medium Medium work item – several days of effort and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels May 30, 2024
@khushail khushail removed their assignment May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

No branches or pull requests

2 participants