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:

Pool Name

URL Pattern

Port Number

Description

metrics-thread-pool

/controller/instance/*/metrics
/controller/instance/*/metrics*

8091

Agent metric data upload

config-thread-pool

/controller/instance/*/applicationConfiguration*

8092

Agent configuration requests

agent-thread-pool

/controller/instance/*

8093

Other Agent requests

status-thread-pool

/controller/rest/serverstatus

8094

Server status ping by load balancer

http-thread-pool

Default / User Traffic

8090

Default thread pool for all other traffic

restui-default-thread-pool

/controller/restui/*

8095

Default thread pool for all restui traffic

restui-analytics-thread-pool

/controller/restui/analytics/*

8096

Thread pool traffic for analytics traffic

Create Target Groups

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: 

Create target group

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

  1. To associate each target group with the EC2 instance, enter these settings:
    Register target group

    The full list of target groups should display: 

    List of target groups

  2. 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):
    Add listener rules

The order of the rules is important because some paths may match multiple rules.