Tan Dat
Tan Dat

Reputation: 3117

One of Elastic Beanstalk IP Addresses is not accessible?

So I have an Elastic Beanstalk environment with Application Load Balancer and Auto Scale Group.

A VPC has 1 public subnet & 2 private subnets

The EC2 Instances is running inside the private subnets of my VPC. (Current only 1 instance is running)

The Load Balancer is running in all of the public & private subnets of my VPC.

Everything is working. But it seems like the Elastic Beanstalk domain has multiple IP Addresses (which is as I know correct). But one of them is not accessible.

I'm not sure why. But is it because the IP is the private IP of the EC2 Instance?

How can I fix this issue?

Upvotes: 1

Views: 521

Answers (1)

Marcin
Marcin

Reputation: 238747

Based on the comments.

The issue caused due to the fact that ALB was placed in two AZs: 1 public and 1 private. Subsequent, the ALB node in the private node was not publicly accessible.

The solution was to put the ALB in only public subnets.

Upvotes: 1

Related Questions