Take the following steps to create a target group for default routing.

  1. Use the AWS console to create a load balancer target group.
  2. Specify target group details.

    SSL

    Name - <Name for your HDP cluster nodes>
    Protocol – HTTPS
    Port 8443
    Target type – Instance
    VPC <Name of your VPC>

    Non-SSL

    Name - <Name for your HDP cluster nodes>
    Protocol – HTTP
    Port 8080
    Target type – Instance
    VPC <Name of your VPC>
  3. Set up health checks.

    SSL

    Protocol: HTTPS
    Port: 8443
    Path: /api/healthcheck

    Non-SSL

    Protocol: HTTP
    Port: 8080
    Path: /api/healthcheck
  4. Save the target group.
  5. Register each Hybrid Data Pipeline instance as a target on port 8443 for SSL connections, or port 8080 for non-SSL connections.
  6. Set the stickiness attribute for the target group to 5 minutes.