NLB for Instances in Private Subnet

0

I am trying to place two instances in private subnets in two different AZs, and put NLB in public subnets and allow NLB to work for private instances. I notice NLB doesn't have SGs tied to them and my instances have an allow all SG on them. The health checks fail on the TGs and I cant seem to figure out why. Is there a trick to this? I also have NAT gateways in each Private subnet with EIPs attached to them.

질문됨 2년 전972회 조회
3개 답변
0

My SGs on my instances are completely wide open. Do I even need NAT Gateways?

답변함 2년 전
  • You would need NAT gateways only if you need connectivity to the internet from instances in private subnets.

0

Have you checked the NACLs also as mentioned here

Also what TCP/UDP port your application is running on? Perhaps check if that application is running, for example if the target is a Linux instance run netstat -an | grep <Port number>

profile pictureAWS
전문가
답변함 2년 전
0

Hi - I think a similar discussions and pointers here may help you. https://repost.aws/questions/QUuueXAi20QuisbkOhinnbzQ/aws-nlb-security-group

profile pictureAWS
전문가
답변함 2년 전

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

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

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

관련 콘텐츠