Depending on the type of request, you can define additional rules to route traffic to various ports on the Controller.
You must configure listener rules for large AWS deployments. However, these rules are optional for small and medium AWS deployments. For more information, see Controller Sizing.
This table defines rules that users typically include for their load balancer:
You must create a target group for each of the rules listed in the table, with the exception of the default http-thread-pool rule (for which you can use the default target group).
For example, you create a target group for the metrics-thread-pool with these settings:
You can use the health check path for all of the target groups, however you may want to decrease the frequency because performing the same check on all ports every 30 seconds is not required.
Register Targets
To associate each target group with the EC2 instance, enter these settings:
The full list of target groups should display:
After the target groups have been defined, you can add new listener rules to map the traffic to the appropriate target group (based on the path requested):
The order of the rules is important because some paths may match multiple rules.