AWS Load-Balancing with Auto-Scale

Follow

Contents

Overview

Network Load-Balancer Configuration

 - Configuring the Remote Collector to the Load-Balancer

 - Configuring Load-Balancing in the Agent

 - OverOps and AWS Reference Architecture

 

Overview

This document describes how to configure OverOps with Elastic Load Balancing in AWS (ELB) to run for multiple OverOps Collectors.

AWS Elastic Load Balancing supports three types of load balancers: Application Load Balancers, Network Load Balancers, and Classic Load Balancers. This configuration requires a Network Load Balancer (TCP).

Network Load-Balancer Configuration

To configure a Network Load-Balancer, see the following tutorial from Amazon.

https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-network-load-balancer.html

This procedure consists of four basic steps:

  1. Configuring a load-balancer and a listener
  2. Configuring a target group
  3. Registering targets with the target group
  4. Creating the load-balancer.

Perform these steps to direct traffic to a Network Load-Balancer (TCP) target group. The target group consists of a defined number of Linux environments with the installed OverOps Remote Collector.  

Configuring the Remote Collector to the Load-Balancer

The Remote Collectors defined within the target group of the Load-Balancer must share a common OverOps installation key.

To connect the Remote Collector to the Load-Balancer:

  1. From the Remote Collector collector.properties file, set the port on which the collector listens to the Load-Balancer. In this case, it is the port the Load-Balancer uses when routing traffic to targets in the target group. It is recommended to use 6060 when defining within AWS.listenOnPort=<PORT_TO_LISTEN_ON>
  2. Restart the Collector.

Configuring Load-Balancing in the Agent

In the following step, point the Agent to the AWS Network Load-Balancer.

To configure the load-balancing in the Agent:

  1. From the Agent agent.properties file, set masterHost and masterPort.

    masterHost=<Load-Balancer DNS>
    masterPort= <AWS Load-Balancer Port>

  2. AWS features auto-scaling options that provide high-availability by scaling up more OverOps Remote Collectors when demand is high, and optimize costs by scaling down the Collectors, when demand is lower. This is done automatically and in real-time.
  3. Run the Agent with the JVM argument.
    -agentlib:TakipiAgent
  4. AWS Auto-ScalingStop the active Collector and verify that the Agent connects to the next Collector automatically.

OverOps and AWS Reference Architecture

The reference architecture below illustrates the use of Amazon’s EC2 Auto-Scaling feature that adds new instances of the OverOps Remote Collector from an Amazon Machine Image (AMI), and terminates them as necessary. This type of architecture is mostly applicable to organizations that deploy OverOps in SaaS or Hybrid models. The following architecture illustrates a SaaS deployment. The specific architecture may vary based on load-balancing and scaling requirements.

For information about auto-scaling options with AWS, see https://aws.amazon.com/autoscaling/faqs/.

The figure below describes the OverOps SaaS deployment with AWS load-balancing and auto-scaling in detail:

AWS_Load_Balance_with_AutoScaling__1_.jpg

Figure 1: OverOps SaaS Deployment with AWS Load-Balancing and Auto-Scaling

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.