How to Assign Elastic IP to Elastic Beanstalk Environment with NLB

0

When Elastic Beanstalk auto-generates resources, NLB is created with Network mapping for subnets with "Assigned by AWS" IPv4 addresses. How it would be possible to a associate Elastic IP to Beanstalk environment with Network Load Balancer for inbound traffic? (This is not to be confused with static "source" IP address in Beanstalk)

I reviewed related CloudFormation resources to see if or how I can make use of them but I am not sure if this can be applicable for Elastic Beanstalk environments.

1 個回答
4

Unfortunately, AWS Elastic Beanstalk doesn't natively support associating an Elastic IP (EIP) with an NLB (Network Load Balancer). EIPs can only be directly associated with EC2 instances or Application Load Balancers (ALB).

However, there's a workaround using a NAT Gateway and VPC Endpoint. if you want i can create a to do list

profile picture
專家
已回答 1 年前
  • Thank you very much for you answer. I could not think of a way to utilize this workaround. How it would be possible to use NAT Gateway and VPC Endpoint in this case? Please note that what I need to associate Elastic IP for "inbound traffic".

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南