'How to create an API Gateway for AWS Eks services in private subnets?
I have an AWS EKS cluster running in a custom VPC with 2 public and 2 private subnets. The node groups (for my backend) run in the 2 private subnets so they can't be accessed directly.
I would like to create an API Gateway which exposes the microservices in the node group so my front-end and third party software can communicate with them. I eventually also like to add authorization to the API Gateway for secutiry. The problem is that I cannot find a good documentation how to do this (Expose the microservices through an API Gateway). Does anyone now khow to do this or where I can find information on how to do this?
Solution 1:[1]
You need to use API Gateway private integrations to expose services running in EKS using NLB. Please check the below article for overall solution .
https://aws.amazon.com/blogs/containers/integrate-amazon-api-gateway-with-amazon-eks/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Manmohan Mittal |