Reputation: 1263
I have API gateway configured in aws. But I want to route the requests from
api.xyz.com/test/create -> test.xyz.com and authentication need to happen in the API gateway if it's successful then route the request to test.xyz.com .
I have eks configured in the cluster with elb ingress controller, when the requests are routed to test.xyz.com DNS resolution needs to happen within the VPC.
How I can achieve this
Upvotes: 0
Views: 249
Reputation: 338
You have to create VPC link and NLB target if you want to use api gateway to call private resources.
For more information see: https://aws.amazon.com/blogs/compute/understanding-vpc-links-in-amazon-api-gateway-private-integrations/
Upvotes: 1