skip to Main Content

AWS EKS Auto Mode was launched at re:Invent 2024.

Among the things it automates is this:

Load balancing: EKS Auto Mode streamlines load balancing by integrating with Amazon’s Elastic Load Balancing service, automating the provisioning and configuration of load balancers for Kubernetes Services and Ingress resources. It supports advanced features for both Application and Network Load Balancers, manages their lifecycle, and scales them to match cluster demands. This integration provides a production-ready load balancing solution adhering to AWS best practices, allowing you to focus on applications rather than infrastructure management. [ref]

I see no mention of AWS Load Balancer Controller, so was curious. Is AWS EKS Auto Mode automatically installed and using AWS Load Balancer Controller, or is it using some other technology to setup the ELBs?

2

Answers


  1. Based on this documentation, I think this is a new approach.

    Login or Signup to reply.
  2. The documentation explicitly says on how EKS Auto mode creates the Load balancer. But I can feel your confusion. The best explicit meaning is given when we try to delete or cleanup the Ingress resources when EKS auto is enabled.

    As mentioned in docs: https://docs.aws.amazon.com/eks/latest/userguide/auto-configure-alb.html

    EKS Auto Mode creates and configures Application Load Balancers (ALBs). For example, EKS Auto Mode creates a load balancer when you create an Ingress Kubernetes objects and configures it to route traffic to your cluster workload.

    These are the steps in simpler terms

    • Define an IngressClassParams resource to configure AWS-specific settings, such as the SSL/TLS certificate and VPC subnets.
    • Set up an IngressClass resource, designating EKS Auto Mode as the controller.
    • Create an Ingress resource to map an HTTP path and port to a workload within the cluster.
    • EKS Auto Mode will automatically provision an Application Load Balancer, configured according to the settings in the IngressClassParams resource, to route traffic to the workload specified in the Ingress resource.

    Note: EKS Auto should be enabled on the cluster

    • If you delete the ingress EKS Auto is smart enough to delete the associate Load Balancer as well.
    kubectl delete ingress <ingress-name> 
    

    EKS Auto Mode will automatically delete the associated load balancer in your AWS account.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search