AWS ELB

Type of Data

Load Balancer Metrics

Description

ELB (Elastic Load Balancing) is the AWS implementation for integrated load balancing. ELB includes Application Load Balancing, Network Load Balancing and Classic Load Balancing options. The Fusion ELB connector pulls HealthyHostCount, UnHealthyHostCount and Load Balancer Capacity Units (LCUs) metrics from AWS ELB via Fusion. It provides customers with an integrated load-balancing experience and visibility into Fusion metrics that are available in their Openmix applications. The time-based reporting of the ELB metrics is ingested by Fusion so that customers can see the current and recent performance of the load balancers. The ELB metrics are recorded in AWS and then made available to Fusion via the AWS SDK API.

Data Feed Format

The ELB Fusion data feed produces a JSON object that contains AWS ELB Load Balancer metrics. The Fusion ELB data structure that is sent to Openmix looks like this:


      [
  {
    "aws_elb_type": "AWS/ApplicationELB",
    "elb_name": "app/fusion-test-alb/b12345d123ab45c1",
    "metric": [
      {
        "metric": "HealthyHostCount",
        "status": "Complete",
        "timestamp": "2019-08-16T20:30:00",
        "value": 2
      },
      {
        "metric": "UnHealthyHostCount",
        "status": "Complete",
        "timestamp": "2019-08-16T20:30:00",
        "value": 0
      },
      {
        "metric": "ConsumedLCUs",
        "status": "Complete",
        "timestamp": "2019-08-16T20:15:00",
        "value": 0
      }
    ]

<!--NeedCopy-->

When the Fusion ELB data feed runs, it queries the AWS ELB load balancer and obtains the most recent metrics for the last 5 minutes. Like all Fusion data feeds, the ELB metrics are made available to Openmix via an ITM “Platform” configuration. If more than one ELB is desired, each ELB must be assigned to a separate ITM platform.

Server Configuration

In order for Fusion to gain access to the AWS ELB monitoring metrics for any given VM, the user credentials used to create the Fusion ELB data feed must these minimum requirements:

  • AmazonEC2ReadOnlyAccess
  • AmazonELBReadOnlyAccess

These are the credentials the AWS user requires to query the ELB server monitoring metrics. The AWS user roles can be found under:

  • AWS Management Console
  • Security and Identity
  • Identity & Access Management
  • Users

Select the user that will be used for AWS access. See the user policies or groups assigned for the user. If there is no policy listed for the user, it will be listed in the group.

Implementation Notes

There are only few things that can go wrong with the Fusion ELB installation. For example,

  • Invalid AWS access key and secret result in an invalid credentials message.
  • The AWS user account does not have the proper ELB policies as mentioned above (under Server Configuration, Minimum Requirements).
  • The AWS instance does not have monitoring enabled and therefore results in “null” for the monitoring metrics collected by Fusion in the log history.

Set up in Fusion

You can access Fusion Data Feeds from the left navigation pane, under Openmix. For initial steps please refer to the Fusion Integration Documentation.

When you get to the service-specific configuration dialog box, enter the following:

  • Name: The name given to the data feed. This defaults to “Service - Platform Name” if not specified.
  • Run Every: The frequency with which the data feed is updated from the service.
  • Platform: The Platform that is associated with the data feed.
  • Access Key: the AWS access key for the user account that will be used in the Fusion AWS SDK authorization and subsequent AWS ELB API queries.
  • Secret Key: The user account secret key.
  • Region: The AWS region that contains your Load Balancer
  • ELB Type: Select Classic, Network or Application for the load balancer type.
  • ELB Name: Select load balancer for the AWS region that you would like to send available LB metrics (HealthyHostCount, UnHealthyHostCount and LoadBalanceCapacity units) to Openmix. All the available load balancers for the selected AWS region are listed.
  • Target Group: Target group(s) are a subset of target or downstream hosts defined for the load balancer. You can specify “None” (do not consider target groups for the ELB metrics) or “All” (consider all the target groups defined for the load balancer when getting the available metrics).

Once the Fusion ELB installation is complete, it is listed on the Fusion data feeds home page with a green status and monitoring metrics in the log history.

To edit a Fusion data feed click the data feed in the list and then click the Edit button. Once you have changed the configuration, click Save. This brings you back to the data feed list with your changes saved and applied to the data feed.

AWS ELB