I have a VPC with public (With NAT gateway ) and private subnet. As part of designing microservices on aws platform, my goal is 1. Ec2 in private subnet 2. load balancer pointing to ec2 in private subnet 3. Api gateway pointing to load balancer,
my problem is I can only use application load balancer when the instance is in public subnet but the load balancer is accessible publicly. however, I want my services to be accessed only using api gateway,
I have read using NLB + VPCLink, however, the ec2 instances should still be on public subnet. no luck trying on private subnet.