AWS Storage Gateway User Guide
Measuring Performance Between Your Gateway and AWS
To measure the latency per operation of a gateway
1. Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/.
2. Choose Metrics, then choose the All metrics tab and then choose Storage Gateway.
3. Choose the Gateway metrics dimension, and find the volume that you want to work with.
4. Choose the ReadTime and WriteTime metrics.
5. For Time Range, choose a value.
6. Choose the Average statistic.
7. For Period, choose a value of 5 minutes to match the default reporting time.
8. In the resulting time-ordered set of points (one for ReadTime and one for WriteTime), add data
points at the same time sample to get to the total latency in milliseconds.
To measure the data latency from a gateway to AWS
1. Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/.
2. Choose Metrics, then choose the All metrics tab and then choose Storage Gateway.
3. Choose the Gateway metrics dimension, and find the volume that you want to work with.
4. Choose the CloudDownloadLatency metric.
5. For Time Range, choose a value.
6. Choose the Average statistic.
7. For Period, choose a value of 5 minutes to match the default reporting time.
The resulting time-ordered set of data points contains the latency in milliseconds.
To set an upper threshold alarm for a gateway's throughput to AWS
1. Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/.
2. Choose Alarms.
3. Choose Create Alarm to start the Create Alarm Wizard.
4. Choose the Storage Gateway dimension, and find the gateway that you want to work with.
5. Choose the CloudBytesUploaded metric.
6. To define the alarm, define the alarm state when the CloudBytesUploaded metric is greater than
or equal to a specified value for a specified time. For example, you can define an alarm state when
the CloudBytesUploaded metric is greater than 10 MB for 60 minutes.
7. Configure the actions to take for the alarm state. For example, you can have an email notification
sent to you.
8. Choose Create Alarm.
To set an upper threshold alarm for reading data from AWS
1. Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/.
2. Choose Create Alarm to start the Create Alarm Wizard.
3. Choose the StorageGateway: Gateway Metrics dimension, and find the gateway that you want to
work with.
4. Choose the CloudDownloadLatency metric.
5. Define the alarm by defining the alarm state when the CloudDownloadLatency metric is greater
than or equal to a specified value for a specified time. For example, you can define an alarm state
when the CloudDownloadLatency is greater than 60,000 milliseconds for greater than 2 hours.
API Version 2013-06-30
209