Connecting to instance in private subnet through Network Load Balancer

0

I have a NLB in public subnet with a static ip address and an EC2 instance in private subnet. Connection to EC2 is not working for TCP protocol on port 6000. I have a NAT gateway in public subnet and route table of private subnet is pointing to 0.0.0.0/0 and NAT gateway. EC2 security group, inbound connection is open for 0.0.0.0/0 on port 6000. NACL for both subnets allows inbound and outbound connections. Route table of public subnet has an IGW. What might be missing in the configuration to make it work?

Sachin
feita há um ano512 visualizações
2 Respostas
0

Does the route table for the private subnet have a default rule of <VPC-CIDR>->Local? If not, you should add that back.

profile pictureAWS
ESPECIALISTA
kentrad
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas