AWS AppStream Status Test

Amazon AppStream 2.0 is a fully managed application and desktop streaming service that provides users with access to applications running on AWS infrastructure. A fleet is a collection of streaming instances from which applications are launched and streamed to users.

Monitoring the status of AppStream fleets helps administrators determine whether the application-streaming infrastructure is operational and available to users. A reduction in the number of running fleets or an unexpected increase in non-running fleets can indicate service availability issues, planned maintenance, configuration changes, or capacity-related problems. Tracking fleet additions and removals also provides visibility into changes in the AppStream environment.

The AWS AppStream Status Test monitors the overall status and inventory of AppStream fleets configured in the AWS environment. The test reports the total number of fleets, identifies how many fleets are currently running and not running, and tracks fleets that have been added or removed. AWS identifies the current state of an AppStream fleet as STARTING, RUNNING, STOPPING, or STOPPED. Therefore, the Running fleets measure represents fleets in the RUNNING state, while Not running fleets represents fleets that are not currently running.

Target of the test: Amazon Cloud

Agent deploying the test: A remote agent

Output of the test: One set of results for the target AWS Cloud being monitored.

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 3).

    Identifying AWS Account ID

    Figure 3 : 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.

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.
Measures reported by the test:

Measurement

Description

Measurement Unit

Interpretation

Total fleets

Indicates the total number of AppStream fleets configured in the monitored AWS environment.

Number

A high value indicates that a large number of AppStream fleets are configured and available for monitoring. A sudden increase may indicate that new application-streaming environments have been provisioned. A decrease may indicate that fleets have been removed or decommissioned.

Running fleets

Indicates the number of AppStream fleets that are currently in the RUNNING state and are available to provide application-streaming services.

Number

A high value generally indicates good fleet availability, particularly when most configured fleets are expected to be operational. A low value may indicate that fewer fleets are currently available to serve users and could point to a service availability or operational issue.

Not running fleets

Indicates the number of AppStream fleets that are not currently in the RUNNING state, such as fleets that are starting, stopping, or stopped.

Number

A high value indicates that a significant proportion of configured fleets are unavailable for active streaming. If fleets are expected to be operational, a high value may indicate an availability or configuration issue. A low value generally indicates that most fleets are operational.

Added fleets

Indicates the number of AppStream fleets newly added to the monitored environment during the monitoring period.

Number

A high value indicates that multiple fleets have been provisioned or detected during the monitoring period. This may be expected during environment expansion or application deployment. An unexpected increase may warrant investigation to verify that the new fleets were created intentionally.

Removed fleets

Indicates the number of AppStream fleets removed from the monitored environment during the monitoring period.

Number

A high value indicates that multiple fleets have been removed or are no longer detected. This may be expected during environment cleanup or decommissioning. An unexpected increase may indicate accidental deletion or an unplanned change in the AppStream environment.

Use the detailed diagnosis to view additional information about the AWS WorkSpaces fleets and understand their current configuration and status.