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
posta un anno fa512 visualizzazioni
2 Risposte
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
ESPERTO
kentrad
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande