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
전문가
답변함 일 년 전
  • 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".

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠