Search code examples
amazon-web-serviceskubernetesdevopsamazon-eks

How to create Kubernetes Ingress for AWS


I am trying to deploy microservices architecture on kubernetes cluster, do any one knows how to create ingress for AWS.


Solution

  • I recommend you use the ALB Ingress Controller https://github.com/kubernetes-sigs/aws-alb-ingress-controller, as it is recommended by AWS and creates Application Load Balancers for each Ingress.

    Alternatively, know that you can use any kind of Ingress, such as Nginx, in AWS. You will create the Nginx Service of type LoadBalancer, so that all requests to that address are redirected to Nginx. Nginx itself will take care to redirect the requests to the correct service inside Kubernetes.