AWS Direct Connect Test

AWS Direct Connect provides a dedicated network connection between an organization's on-premises network and AWS, providing a more consistent network path than internet-based connectivity. It works by establishing a physical connection between the customer's router and an AWS Direct Connect router, over which connectivity to AWS is provided. Since this connection provides reliable connectivity to AWS resources, maintaining its availability and performance is important for uninterrupted access to applications and services hosted in AWS. However, if the Direct Connect connection goes down or experiences high traffic and transmission errors, connectivity to AWS resources can be disrupted or network performance can deteriorate. Such issues can lead to application slowdowns, packet loss, or service interruptions for users. Monitoring the connection health and traffic conditions can help administrators identify such issues early and take corrective action.

The AWS Direct Connect test monitors every Direct Connect connections and reports the connection state, inbound and outbound data rates, inbound and outbound packet rates, CRC errors, transmit and receive light levels, encryption state, virtual interfaces, and bandwidth utilization. This enables administrators to detect connection problems early, troubleshoot their cause, and maintain reliable connectivity between the organization's network and AWS.

Target of the test: Amazon Cloud

Agent deploying the test : A remote agent

Outputs of the test : One set of results for each Direct Connect Connection ID in the monitored AWS Cloud.

Configurable parameters for the test
Parameter Description

Test Period

How often should the test be executed.

Host

The host for which the test is to be configured.

Access Type

eG Enterprise monitors the AWS cloud using AWS API. By default, the eG agent accesses the AWS API using a valid AWS account ID, which is assigned a special role that is specifically created for monitoring purposes. Accordingly, the Access Type parameter is set to Role by default. Furthermore, to enable the eG agent to use this default access approach, you will have to configure the eG tests with a valid AWS Account ID to Monitor and the special AWS Role Name you created for monitoring purposes.

Alternately, some AWS cloud environment administrators may not want to share their AWS Account ID. In this case, the eG agent can access the AWS API using a Managed Identity (trusted node) based approach. In this approach, you install the eG agent on a trusted node - i.e., an EC2 instance on the target AWS Cloud, assign IAM Roles to that EC2 instance for secure access, manage the AWS Cloud using the agent installed on that EC2 instance and collect the required metrics. To use this approach, you can change the Access Type to Managed Identity.

Some AWS cloud environments however, may not support the role-based approach or managed identity based approach. Instead, they may allow cloud API requests only if such requests are signed by a valid Access Key and Secret Key. When monitoring such a cloud environment therefore, you should change the Access Type to Secret. Then, you should configure the eG tests with a valid AWS Access Key and AWS Secret Key.

Note that the Secret option may not be ideal when monitoring high-security cloud environments. This is because, such environments may issue a security mandate, which would require administrators to change the Access Key and Secret Key, often. Because of the dynamicity of the key-based approach, Amazon recommends the Role-based approach for accessing the AWS API.

AWS Account ID to Monitor

This parameter appears only when the Access Type parameter is set to Role. Specify the AWS Account ID that the eG agent should use for connecting and making requests to the AWS API. To determine your AWS Account ID, follow the steps below:

  • Login to the AWS management console. with your credentials.

  • Click on your IAM user/role on the top right corner of the AWS Console. You will see a drop-down menu containing the Account ID (see Figure 1).

    Identifying AWS Account ID

    Figure 1 : Identifying the AWS Account ID

AWS Role Name

This parameter appears when the Access Type parameter is set to Role. Specify the name of the role that you have specifically created on the AWS cloud for monitoring purposes. The eG agent uses this role and the configured Account ID to connect to the AWS Cloud and pull the required metrics. To know how to create such a role, refer to Creating a New Role.

Proxy Host and Proxy Port

In some environments, all communication with the AWS cloud and its regions could be routed through a proxy server. In such environments, you should make sure that the eG agent connects to the cloud via the proxy server and collects metrics. To enable metrics collection via a proxy, specify the IP address of the proxy server and the port at which the server listens against the Proxy Host and Proxy Port parameters. By default, these parameters are set to none , indicating that the eG agent is not configured to communicate via a proxy, by default.

Proxy User Name, Proxy Password, and Confirm Password

If the proxy server requires authentication, then, specify a valid proxy user name and password in the proxy user name and proxy password parameters, respectively. Then, confirm the password by retyping it in the CONFIRM PASSWORD text box. By default, these parameters are set to none, indicating that the proxy sever does not require authentication by default.

Proxy Domain and Proxy Workstation

If a Windows NTLM proxy is to be configured for use, then additionally, you will have to configure the Windows domain name and the Windows workstation name required for the same against the proxy domain and proxy workstation parameters. If the environment does not support a Windows NTLM proxy, set these parameters to none.

Exclude Region

Here, you can provide a comma-separated list of region names or patterns of region names that you do not want to monitor. For instance, to exclude regions with names that contain 'east' and 'west' from monitoring, your specification should be: *east*,*west*

Default Connection Region

By default, this test connects to the endpoint URL of the us-east-1 region to collect the required metrics. If the default us-east-1 region is not enabled in the target environment, then, for this test to collect the required metrics, specify the region that is enabled in the target environment.

Exclude Instance

Here, you can provide a comma-separated list of AWS instance names or patterns of AWS instance names that you do not want to monitor. For instance, to exclude Instances with names that contain 'central' and 'middle' from monitoring, your specification should be: *central*,*middle*

DD Frequency

Refers to the frequency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time this test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD frequency.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test

Measurement

Description

Measurement Unit

Interpretation

Connection state

Indicates the current state of this Direct Connect connection.

 

The value that this measure can report and its corresponding numeric value are listed in the table below:

Measure Value Numeric Value
Up 1
Down 0

Note:

By default, this measure reports one of the Measure Values in the table above to indicate current state of this connection. In the graph of this measure however, the same is indicated using the numeric equivalents only.

Use the Detailed Diagnosis of this measure to know more details about the Direct Connect connection.

Outbound data rate

Indicates the rate at which data is transmitted through this Direct Connect connection.

Kbps

A sustained or unexpected increase in this value may indicate high traffic and potential congestion. Investigate the traffic sources and consider optimizing traffic or increasing connection capacity if required.

Inbound data rate

Indicates the rate at which data is received through this Direct Connect connection.

Kbps

A sustained or unexpected increase in this value may lead to bandwidth saturation and degraded network performance. Investigate traffic patterns and increase capacity or control traffic if necessary.

Outbound packet rate

Indicates the rate at which packets are transmitted through this Direct Connect connection.

Packets/sec

An abnormal increase or sudden change can indicate a traffic surge and may contribute to congestion or packet loss. Investigate the traffic generating the packets and check bandwidth utilization.

Inbound packet rate

Indicates the rate at which packets are received through this Direct Connect connection.

Packets/sec

An abnormal increase or sudden change can indicate a traffic surge and may contribute to congestion or packet loss. Investigate the traffic sources and check whether additional bandwidth is required.

CRC error count

Indicates the number of CRC errors detected on this Direct Connect connection.

Number

Non-zero or increasing CRC errors indicate transmission errors, which can cause packet loss and retransmissions. Check the physical connectivity, cabling, optical components, and customer-side/AWS-side interfaces. AWS notes that CRC errors are included in the connection error count and that the root cause can be on either side.

Light level Tx

Indicates the transmit optical signal level of this Direct Connect connection.

Number

An abnormally low or changing transmit light level can indicate a fiber or optical-component problem, potentially causing transmission degradation or loss of connectivity. Check the fiber path and optical components and engage the connectivity provider/AWS if necessary.

Light level Rx

Indicates the receive optical signal level of this Direct Connect connection.

Number

An abnormally low or changing receive light level can indicate degradation in the fiber path or optical components, potentially resulting in transmission errors or connection failure. Check the fiber path and optical components and engage the connectivity provider/AWS if required.

Encryption state

Indicates the encryption state of this Direct Connect connection.

 

The value that this measure can report and its corresponding numeric value are listed in the table below:

Measure Value Numeric Value
Up 1
Down 0

Note:

By default, this measure reports one of the Measure Values in the table above to indicate the encryption state. In the graph of this measure however, the same is indicated using the numeric equivalents only.

Virtual interface

Indicates the number of virtual interfaces associated with this Direct Connect connection.

Number

A lower-than-expected or zero value for this measure may indicate that a VIF is missing or has been removed, potentially affecting connectivity to the AWS resources or services that depend on it.

Use the Detailed Diagnosis of this measure to know more details about the Virtual Interfaces associated with the Direct Connect connection.

Bandwidth utilization

Indicates the percentage of available bandwidth utilized by this Direct Connect connection.

Percent

High or near-capacity utilization can cause congestion and affect workloads sharing the connection. Investigate traffic growth, optimize traffic, or increase the connection capacity if necessary.

Total connections

Indicates the total number of Direct Connect connections.

Number

This measure is applicable only for the 'Summary' descriptor.

An unexpected decrease in this measure may indicate that a connection has been removed or is no longer available.

Total connections up

Indicates the total number of Direct Connect connections that are currently up.

Number

This measure is applicable only for the 'Summary' descriptor.

A lower value indicates that one or more connections are unavailable, which can reduce connectivity and redundancy. Investigate the affected connections and restore them.

Total connections down

Indicates the total number of Direct Connect connections that are currently down.

Number

This measure is applicable only for the 'Summary' descriptor.

A value greater than 0 indicates that one or more Direct Connect connections are unavailable and may affect connectivity to AWS resources. Identify the affected connections and investigate their connection state and physical/network configuration.

Total outbound data rate

Indicates the total outbound data rate across all Direct Connect connections.

Kbps

This measure is applicable only for the 'Summary' descriptor.

A sustained or unexpected increase may indicate high traffic or approaching aggregate bandwidth capacity. Investigate traffic patterns and consider capacity expansion if necessary.

Total Inbound data rate

Indicates the total inbound data rate across all Direct Connect connections.

Kbps

This measure is applicable only for the 'Summary' descriptor.

A sustained or unexpected increase may indicate high traffic or approaching aggregate bandwidth capacity. Investigate traffic patterns and consider capacity expansion if necessary.

Connection up ratio

Indicates the percentage of Direct Connect connections that are currently up.

Percent

This measure is applicable only for the 'Summary' descriptor.

The desired value for this measure is 100%. A lower ratio indicates that one or more Direct Connect connections are down, reducing the availability and redundancy of connectivity to AWS.