Help Amazon Web Services Lightsail Instance and agent integration

Lightsail and Server agent integration for Lightsail Instance

Introduction

We provide you with enhanced Lightsail monitoring that combines infrastructure measures from Lightsail with agent driven application and system metrics to solve the complexities of your dynamic Lightsail environment in a much more efficient manner. Some notable enhancements:

  • While defining an action in configuration rules, along with the lightsail actions, view all the server actions when the lightsail instance is integrated with the standalone server agent.
    • Utilize the actions applicable for lightsail and the server agent. When both are integrated, the AWS tags (System tags) applicable at the lightsail monitor will be mapped with the server monitor. When they are disintegrated, the tags will be unmapped from the server monitor only.
  • See all your Lightsail related performance metrics, both Lightsail and agent driven system and application metrics in the same unified dashboard.
    • Charting and graphs for CPU, memory, system load, idle/busy time and disk utilization can be seen with the Lightsail data charts
    • Two different threshold profiles, one pertaining to agent metrics and other pertaining to Lightsail metrics, can be associated to the Integrated Lightsail Instance monitor.
  • Combining the Lightsail metadata from the native Lightsail integration with the system level performance counters will help you solve the inherent efficiencies associated with both Lightsail and standalone server agents.
    • The ability to differentiate between intentional instance termination and instance crash

Unified monitoring for Lightsail Instances

Enable Lightsail and server agent integration

Connect your AWS account

To enable this integration, you need to first connect your AWS account with Site24x7. This can be done either by creating Site24x7 as an IAM user or by creating cross-account IAM role between your AWS account and Site24x7's AWS account. Site24x7 leverages the Lightsail API and discovers all your available Lightsail Instances running in each availability zone and creates Lightsail monitor for each running Lightsail Instance.

Server agent deployment

Next you will have to install the agent on the instance. Once the agent gets deployed, all the agent generated system and application metrics will be seen in the integrated Lightsail Instance monitor UI. Currently the integration is supported for Windows and Linux based Lightsail Instances. To know more about the agent version compatibilities and installation steps, read our agent installation document given below.

Installation

To view the data , navigate to the integrated Lightsail Instance monitor UI (AWS >"Monitored AWS account" > Lightsail instnace > Select the Lightsail Instance) 

Licensing

As far as licensing is concerned, the integrated Lightsail Instance monitor (an Lightsail monitor with the server agent deployed) will be considered as two basic monitors. For example, if you are using 12 basic monitors out of the 30 active monitors available, 11 will be Lightsail Instances and one will be an integrated monitor. You can view this by hovering on the tool tip of Basic Monitors in the AWS > Monitor Status page.

Enhance your Lightsail monitoring by deploying an agent on the instance

If your are currently monitoring Lightsail Instances via our Lightsail API integration, then you can extend your monitoring capabilities by deploying our server agent on the instance. Once the agent gets deployed, the integration will automatically start to add system level attributes like memory, disk usage, application metrics (via plugins) and other agent generated metrics to the existing Lightsail data. So you get to view all your agent driven metrics along with the Lightsail data from the integrated Lightsail Instance monitor UI.

Installation

The installation process for integrating an agent with a Lightsail Instance is similar to that of integrating an agent with EC2 Instance.

To view the data after Installation, navigate to the integrated Lightsail Instance monitor UI (AWS >"Monitored AWS account" > Lightsail Instance > Select the Lightsail Instance).

(Important!) Automatic integration

Going Forward, this integration will be handled automatically in the Site24x7 console. For example, imagine a scenario where you are monitoring a group of 5 Lightsail Instances via our Lightsail integration. To gain more insight into the performance, you decide to deploy the agent on the instance. Once done, all the agent generated data and dashboard  tabs like CPU, memory, plugins, disk utilization, resource checks etc,. will be ported to the integrated Lightsail Instance monitor UI. (The normal behaviour of server monitor creation will not occur)

This is applicable vice versa as well , where you are currently monitoring Lightsail Instances standalone with our server agents and decide to connect your AWS account with site24x7. Once done, all the monitoring data from the existing server monitor(metrics, configuration profiles and thresholds) will be ported to the newly created integrated Lightsail Instance monitor and once that is done, the server monitor will cease to exist.

To view the data , navigate to the integrated Lightsail Instance monitor UI (AWS >"Monitored AWS account" > Lightsail instnace > Select the Lightsail Instance).

Consider a case where there is a Lightsail Instance, and you have to install a server agent on it. When you specify the monitor group name by using the GN/gn parameter, the Lightsail Instance will be added under the same monitor group.

During integration, monitor groups and any maintenance for Lightsail monitors are mapped to server monitors. But, during the maintenance state of a Lightsail monitor, no server integration is allowed.

Connect your existing server monitor with the Lightsail Instance in Lightsail monitor

Current users who are monitoring Lightsail Instances using both our Lightsail API integration and server agents can integrate the two monitors into a single unified Lightsail Instance monitor.

UI pages for the integrated Lightsail Instance monitor

Depending on the type of instance, the integrated Lightsail Instance monitor will have additional dashboard tabs, charts and graphs, pertaining to attributes like memory, disk utilization etc.

You can collect your logs for monitoring with the Site24x7 AppLogs.

Agent Threshold Profile configuration

To set a threshold profile for an agent to be integrated, you can follow either method 1 or 2 below. Method 3 explains how to configure a threshold profile for an agent that is already integrated.

1. Add a Configuration Rule

Follow the initial steps for adding a Configuration Rule listed here. Select the monitor type as Lightsail instance. When you define an action from the drop-down menu, select Agent Threshold Profile, and choose the desired threshold profile to be configured for a server.

Add a configuration rule for a Lightsail monitor

2. Auto-Assign Threshold Profile in Advanced Configuration

In the Advanced Configuration section of an Amazon Web Services (AWS) monitor, navigate to Auto-Assign Threshold Profile. Select Lightsail Instance as your desired service. Choose the desired threshold profile from the drop-down menu beside Agent Threshold Profile.

Automatically assign threshold profiles for Lightsail monitors.

3. Editing a monitor

To configure a threshold profile for a server monitor that is already integrated, you can edit the monitor, and follow the steps below:

  1. In the Site24x7 console, navigate to the Edit Monitor Details page of the integrated Lightsail instance monitor.
  2. Under the Configuration Profiles option, navigate to Agent Threshold Profile, where you can choose the desired threshold profile for a server from the drop-down menu.
Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help Amazon Web Services Lightsail Instance and agent integration