ALB, EC2 Instance must be in the same subnet?

0

My Public ELB is connected to Public Subnet A, Public Subnet B. And there is an EC2 instance in Private Subnet C in the same AZ. In the above environment, the EC2 Instance in Private Subnet C is registered in the Target Group of this Public ELB and used well. Here I want to add instances from Private Subnet D (same AZ) to Target Group of this Public ELB. Request Timeout occurs, can you tell me why and how to solve it?

1개 답변
0

There should be no problem having an EC2 instance as a target in a different subnet to the ALB as per the diagrams on this page as long as they're all in the same VPC.

Check to make sure that any NACLs allow access between the subnets. Also check the security groups on the instances to make sure that they allow access on the appropriate ports.

profile pictureAWS
전문가
답변함 일 년 전

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

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

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

관련 콘텐츠