<p>When creating ALB rules in AWS console is there a ingress controller running in the background?</p>
<p>I'm a bit confused when learning about ALB ingress controller. I thought it'd be a just a API calls to ALB services in AWS. But the instructor seems to install a <a href="https://github.com/kubernetes-sigs/aws-load-balancer-controller" rel="nofollow noreferrer">aws ingress controller</a>. Then write rules to redirect path to node port services.</p>
<p>What's the difference compared to creating in AWS console and doing it via kubernets cluster.</p>
<p>This is the controller that's being installed.</p>
<p><a href="https://github.com/kubernetes-sigs/aws-load-balancer-controller" rel="nofollow noreferrer">https://github.com/kubernetes-sigs/aws-load-balancer-controller</a></p>

user630702
<p>In general, in Kubernetes, a <em>controller</em> is a running program that observes some Kubernetes objects and manages other objects based on that.  For example, there is a controller that observes Deployments and creates ReplicaSets from them, and a controller that observes ReplicaSets and creates matching Pods.  In this case, the ALB ingress controller observes Ingress objects and creates the corresponding AWS ALB rules.</p>
<p>Nothing stops you from doing the same setup by hand, or using a tool like Terraform that's a little more specialized for managing cloud resources.  Using Ingress objects is a little more portable across environments (you can use a similar Ingress setup for a local minikube installation, for example).  This approach would also let you use a single tool like Helm to create a Deployment, Service, and Ingress, and have the ALB automatically updated; if you delete the Helm chart, it will delete the Kubernetes objects, and the ALB will again update itself.</p>
<p>It's also possible that a development team would have permissions in Kubernetes to create Ingress objects, but wouldn't (directly) have permissions in AWS to create load balancers, and this setup might make sense depending on your local security and governance requirements.</p>
