AWS Direct Connect - Virtual Interfaces Test

AWS Direct Connect Virtual Interfaces (VIFs) are logical interfaces created over a Direct Connect connection to provide access to AWS resources through private, public, or transit connectivity. They use BGP to exchange routing information between the customer's network and AWS, making the BGP session important for maintaining connectivity through the VIF. If a VIF or its BGP session goes down, routes may no longer be exchanged as expected, potentially disrupting access to VPCs, AWS public services, or Transit Gateways. Such connectivity issues can make applications and services hosted in AWS inaccessible or cause interruptions in communication between on-premises and AWS environments. Monitoring the VIF and BGP status, along with traffic and availability, helps administrators identify connectivity problems and changes in VIF performance.

The AWS Direct Connect - Virtual Interface test monitors every Virtual Interfaces associated with Direct Connect connections and reports their BGP state, inbound and outbound data rates, inbound and outbound packet rates, BGP up/down status, and availability. It also provides an overall view of the total VIFs, BGP up and BGP down VIFs, and the number of Transit, Private, and Public VIFs, helping administrators assess the health and distribution of VIFs. Detailed Diagnosis, when enabled for the test, provides additional information to help administrators investigate and troubleshoot VIF and BGP-related connectivity issues.

Target of the test: Amazon Cloud

Agent deploying the test : A remote agent

Outputs of the test :One set of results for each Virtual Interface associated with each Direct Connect connection in the monitored AWS Cloud.

First-level descriptor: Direct Connect Connection

Second-level descriptor: Virtual Interface

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

BGP state

Indicates the current BGP state of this Virtual Interface.

 

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 the BGP session. In the graph of this measure however, the same is indicated using the numeric equivalents only.

Use the Detailed Diagnosis of this measure to obtain additional details about the monitored Virtual Interface.

Outbound data rate

Indicates the rate at which data is transmitted through this Virtual Interface.

Kbps

A sustained increase may indicate heavy traffic or approaching bandwidth limits. Investigate the traffic pattern and available capacity if performance is affected.

Inbound data rate

Indicates the rate at which data is received through this Virtual Interface.

Kbps

A sustained increase may indicate heavy traffic or approaching bandwidth limits. Investigate the traffic pattern and available capacity if performance is affected.

Outbound packet rate

Indicates the rate at which packets are transmitted through this Virtual Interface.

Packets/sec

An abnormal in this value increase may indicate a sudden increase in traffic and can contribute to congestion or packet loss. Investigate the source of the increased traffic.

Inbound packet rate

Indicates the rate at which packets are received through this Virtual Interface.

Packets/sec

An abnormal increase in this value may indicate a sudden increase in traffic and can contribute to congestion or packet loss. Investigate the source of the increased traffic.

BGP up count

Indicates the number of times the BGP session for this Virtual Interface was up.

Number

A higher count indicates that the BGP session was up more consistently during the monitoring period. A lower count may indicate frequent BGP interruptions, which can affect route exchange and connectivity through this Virtual Interface. Investigate the BGP configuration and connectivity between the BGP peers.

BGP down count

Indicates the number of times the BGP session for this Virtual Interface was down.

Number

A value greater than 0 indicates that the BGP session went down during the monitoring period, which may have affected route exchange and connectivity through this Virtual Interface. Investigate the BGP configuration and connectivity between the BGP peers.

Availability

Indicates the percentage availability of this Virtual Interface.

Percent

Any value lower than 100% indicates that this Virtual Interface was unavailable for part of the monitoring period, which may have affected connectivity to the associated AWS resources.

Total VIFs

Indicates the total number of Virtual Interfaces associated with the monitored Direct Connect connections.

Number

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

An unexpected decrease may indicate that a VIF has been removed or is no longer associated with a Direct Connect connection.

BGP up

Indicates the number of Virtual Interfaces with BGP sessions currently up across the monitored Direct Connect connections.

Number

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

A lower value indicates that one or more Virtual Interfaces have BGP sessions down, which may affect connectivity through those interfaces. Identify the affected VIFs and investigate their BGP connectivity.

BGP down

Indicates the number of Virtual Interfaces with BGP sessions currently down across the monitored Direct Connect connections.

Number

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

A value greater than 0 indicates that one or more Virtual Interfaces have BGP sessions down, which may affect route exchange and connectivity. Identify the affected VIFs and investigate their BGP configuration and connectivity.

Transit VIFs

Indicates the total number of Transit Virtual Interfaces associated with the monitored Direct Connect connections.

Number

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

An unexpected change in this value may indicate a configuration change or missing VIF.

Private VIFs

Indicates the total number of Private Virtual Interfaces associated with the monitored Direct Connect connections.

Number

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

An unexpected change in this value may indicate a configuration change or missing VIF.

Public VIFs

Indicates the total number of Public Virtual Interfaces associated with the monitored Direct Connect connections.

Number

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

An unexpected change in this value may indicate a configuration change or missing VIF.

BGP up ratio

Indicates the percentage of Virtual Interfaces whose BGP sessions are currently up.

Percent

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

Any value lower than 100% indicates that one or more Virtual Interfaces have BGP sessions down, potentially affecting connectivity through those interfaces. Identify the affected VIFs and investigate their BGP connectivity.