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.

demandé il y a 2 ans972 vues
3 réponses
0

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

répondu il y a 2 ans
  • 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
EXPERT
répondu il y a 2 ans
0

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

profile pictureAWS
EXPERT
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions