You can configure a load balancer after you have installed the Controller, and it is running in EC2. The load balancer distributes traffic across multiple ports on the Controller.
If using HTTPS, an SSL certificate should be available. For testing, you can generate a self-signed certificate using Open SSL (described here). You can then import that certificate using AWS Certificate Manager (ACM).
You can create a load balancer to align with your organization's standards.
Create a Load Balancer
To create a load balancer:
Navigate to the Load Balancers page on the EC2 Dashboard in the AWS console.
Select Create Load Balancer at the top left of the page.
Select Application Load Balancer as the load balancer type to terminate SSL at the ELB.
Enter a name for the new load balancer, and select HTTPS (Secure HTTP) as the load balancer protocol to accept HTTPS traffic only.
Select the availability zones to enable for the new load balancer. It should include the availability zone in which the Controller Appserver EC2 instance resides.
Select the certificate that was imported to the ACM.
Specify the security group.
For the initial configuration, set the load balancer to route all traffic to port 8090 using HTTP, and define the standard health check for the Controller.
Add the Controller EC2 instance as a registered target.
Launch the new load balancer. It may take a few minutes before the load balance occurs.
Verify that you can access the Controller UI through the load balancer.
If your SSL cert is self-signed, a browser warning displays. You can ignore this warning if you are testing the UI. However for Agent traffic, you need a valid certificate that is trusted by the Agent.
Specify the External Load Balancer URL
Use the Enterprise Console UI to update the Controller configuration and specify the external load balancer URL.
Open a browser and navigate to the UI:
http://<hostname>:<port>
9191 is the default port.
Navigate to AppServer Configurations by selecting the platform: Configurations >Controller Settings >Appserver Configurations.
Enter the external load balancer URL in the appropriate field and select Save.
After applying the optimizations, you should create an AMI.