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".

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则