skip to Main Content

is it possible to add external facing NLB as target group of ALB?
I am getting error

An error occurred (ValidationError) when calling the RegisterTargets operation: 
The IP address '54.xxx.xxx.xx' is not allowed,
as it must be an address from a VPC subnet, RFC1918, or RFC6598

while calling aws elbv2 register-targets API

2

Answers


  1. That’s not possible. NLBs can target ALBs. ALBs cannot target NLBs.

    Login or Signup to reply.
  2. From your error I see uou are trying to add public ip as Target which not supported 100%.

    You can only have rfc1918 range for this.

    Azaan

    [email protected]

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search