Menu
Amazon AppStream 2.0
Developer Guide

Monitoring Amazon AppStream 2.0 Resources

You can monitor Amazon AppStream 2.0 using the following features:

  • AppStream 2.0 console— You can quickly and easily view your fleet resource usage on the AppStream 2.0 console.

  • CloudWatch metrics— AppStream 2.0 publishes metrics to Amazon CloudWatch for detailed tracking and deep dive analysis.

These statistics are recorded for an extended period so you can access historical information and gain a better perspective on how your fleets are performing.

Viewing Fleet Usage with the Console

Fleet metrics are available in the AppStream 2.0 console.

To view fleet usage in the console

  1. Open the AppStream 2.0 console at https://console.aws.amazon.com/appstream2.

  2. In the left pane, choose Fleets and select a fleet.

  3. In the Fleet Usage section, a graph is displayed for the default period, showing RunningCapacity, InUseCapacity and CapacityUtilization. You can select other metrics to plot on the graph. To view a different period, select one of the buttons below the graph.

For a list of all AppStream 2.0 metrics reported by CloudWatch, see Monitoring Amazon AppStream 2.0 with Amazon CloudWatch.

Monitoring Amazon AppStream 2.0 with Amazon CloudWatch

You can monitor your Amazon AppStream 2.0 fleets using Amazon CloudWatch, which automatically collects and processes raw data from AppStream 2.0 into readable, near real-time metrics. For more information, see Amazon CloudWatch User Guide.

AppStream 2.0 Metrics and Dimensions

Amazon AppStream 2.0 sends the following metrics and dimension information to Amazon CloudWatch. For more information about the statistics gathered from CloudWatch metrics, see Amazon CloudWatch Statistics in the Amazon CloudWatch User Guide.

Amazon AppStream 2.0 Metrics

AppStream 2.0 sends metrics to CloudWatch one time every minute. The AWS/AppStream namespace includes the following metrics.

Metric Description
RunningCapacity

Total number of instances currently running. Represents the number of concurrent streaming sessions that can be supported by the fleet in its current state.

Units: Count

Valid statistics: Average, Minimum, Maximum

InUseCapacity

Number of instances currently being used for streaming sessions. One InUseCapacity count represents one streaming session.

Units: Count

Valid statistics: Average, Minimum, Maximum

PendingCapacity

Number of instances being provisioned by AppStream 2.0. Represents the additional number of streaming sessions the fleet can support after provisioning is complete. When provisioning starts, it usually takes 10-20 minutes for an instance to become available for streaming.

Units: Count

Valid statistics: Average, Minimum, Maximum

AvailableCapacity

Number of idle instances currently available for user sessions.

Copy
AvailableCapacity = RunningCapacity - InUseCapacity

Units: Count

Valid statistics: Average, Minimum, Maximum

DesiredCapacity

Total number of instances that are either running or pending. This represents the total number of concurrent streaming sessions your fleet can support in a steady state.

Copy
DesiredCapacity = RunningCapacity + PendingCapacity

Units: Count

Valid statistics: Average, Minimum, Maximum

CapacityUtilization

The percentage of instances in a fleet that are being used, using the following formula.

Copy
InUseCapacity CapacityUtilization = -------------------- * 100 RunningCapacity

Monitoring this metric helps with decisions about increasing or decreasing the value of a fleet's desired capacity.

Units: Percent

Valid statistics: Average, Minimum, Maximum

InsufficientCapacityError

Number of session requests rejected due to lack of capacity. One InsufficientCapacityError count represents one session rejection due to insufficient capacity.

You can set alarms to use this metric to be notified of users waiting for streaming sessions.

Units: Count

Valid statistics: Average, Minimum, Maximum, Sum

Dimensions for Amazon AppStream 2.0 Metrics

Amazon AppStream 2.0 provides metrics for the following dimension.

Dimension

Description

Fleet

The name of the AppStream 2.0 fleet. All available statistics are filtered by Fleet.

Creating CloudWatch Alarms

After you have enabled CloudWatch metrics for your fleets, and the metrics are visible in the CloudWatch console, you can set alarms on the metrics. For more information, see Creating Amazon CloudWatch Alarms in the Amazon CloudWatch User Guide.

Custom CloudWatch Metrics

You can set up your own AppStream 2.0 CloudWatch metrics using custom metrics. For more information, see Custom CloudWatch metrics in the Amazon CloudWatch User Guide.

CloudWatch Pricing

You can view metrics in the AppStream 2.0 and CloudWatch consoles free of charge. Additional charges may apply when setting up alarms and dashboards, and using the CloudWatch API. For more information, see Amazon CloudWatch Pricing.