Question: which ports to be opened on AWS load balancer and EC2 instance to access the cloud app running using k3s?
I have been able to setup and get he app running on AWS machines using K3S. The ports required by the k3s and k8s are already open. The app should be accessed thru port 80 (web app and the api) which uses ingress.
should the port 80 be opened on LB and on all the nodes? My understanding is that Load Balancer should only have port 80 opened but the nodes should not require port 80 to be opened for public. the Load balancer can communicate with nodes on internal LAN or private IP on which ports are already open. the point is port 80 should not be opened on nodes and k3s and k8s ports should not be open on load balancer.
can anyone help me understand this or correct me if I'm wrong?