Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

elbv2: NetworkLoadBalancer can't be fully configured

See original GitHub issue

This is a continuation of #4268 (I am not able to re-open that issue)

@rix0rrr - The issue #1490 is probably a better location for the discussion around security groups. However, I still feel there are discrepancies with the current NetworkLoadBalancer.

In the cases where there are missing attributes reported, it is still possible to add them through a generic addAttribute function on the shared object. However, they are highlighted because the equivalent on the application-load-balancer side has specific support for the same attribute.

If you still feel like the workarounds are acceptable, please close this issue. 🔐

Again, the point of this issue is to highlight the discrepancies between the ApplicationLoadBalancer and NetworkLoadBalancer families.


Missing Attributes



  • No support for adding metrics

Missing Attributes:

Additionally, the number and types of metrics offered on each side of the network / application load balancer seem to be duplicative and inconsistent.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

njlynchcommented, Sep 8, 2020

Apologies for the low traction on this issue.

In the meantime, all of the originally listed gaps have been addressed:

  • NetworkLoadBalancer access logs - NetworkLoadBalancer.logAccessLogs was created in #6197 and fixed in #8114
  • NetworkListener certificates - addressed in #5405
  • NetworkTargetGroup deregistration delay - #3075
  • private NLB - #5928

The only gap not addressed already is supporting subnetMappings. I’ve created #10242 to track that.

goranopaciccommented, Apr 18, 2020

Is there a way to assign existing elastic IP address to NLB via CDK? subnetMappings is not available via construct.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Network Load Balancers - AWS Documentation -
Learn how to create and configure your Network Load Balancer. ... The load balancer is fully set up and ready to route traffic....
Read more >
Internet Facing ELBv2 Load Balancers - Trend Micro
The new ELBv2 load balancer will start routing requests to the registered EC2 instances as soon as the setup process is complete and...
Read more >
elbv2 — AWS CLI 2.9.8 Command Reference
You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port...
Read more >
Set up a network load balancer with a target pool
Install the Google Cloud CLI. For a complete overview of the tool, see the gcloud Tool Guide. You can find commands related to...
Read more >
How to Create and Configure Network Load Balancer on AWS
It can either be EC2 instances, lambda functions, IP addresses, or application load balancers. Here, we will choose EC2 instances, so search for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found