Configuring the Application Load Balancer (ALB)
A load balancer serves as the single point of contact for clients. The load balancer distributes incoming application traffic across multiple targets, such as EC2 instances, in multiple availability zones. Balancing the load increases the availability of your application. AWS supports several types of load balancers: application, network, and (obsoleted) classic. In this section, you will configure an application load balancer (ALB).
The ALB needs to be configured with locations to balance requests; this is realized by target groups. During the installation process you will create target groups for various ports: 3000 (CDF installation), 5443 (CDF management portal), and 443 (ArcSight Suite configuration).
Retrieving the CDF Ingress Service Node Port
To retrieve the CDF ingress service node port for 3000:
- Run the following command on the bastion:
kubectl get svc -n core | grep frontend-ingress-controller-svc
Example output:
frontend-ingress-controller-svc LoadBalancer 172.20.150.202 <none> 3000:30058/TCP 18h
- Record the highlighted port number in your AWS worksheet as
Node port for 3000.
In the example shown, the port number is 30058.
Next Step: Creating the Target Group for Port 3000