01-05-2020, 06:00 PM
(16-04-2020, 12:43 AM)Shreyah Wrote: All examples out there creates the API in the API gateway. But, how to use Kubernetes services as the rest api endpoints in the API Gateway?
Whenever you want to connect other resources like EC2s or containers as the backend for your API created via the API GW, all you need to do is add the backend target as your Load balancer. Your EC2s/containers will in all likelihood be behind the ELB. Below is the link to just one of the ways you can achieve this.
https://docs.aws.amazon.com/apigateway/l...nsole.html