AWS Storage Gateway User Guide
Using Your Volume
• To optimize your gateway, see
Optimizing Gateway Performance (p. 287)
• To learn about Storage Gateway metrics and how you can monitor how your gateway performs, see
Monitoring Your Gateway and Resources (p. 185)
).
• To learn more about configuring your gateway's iSCSI targets to store data, see
Volumes to a Windows Client (p. 365)
To learn about sizing your volume gateway's storage for real-world workloads and cleaning up resources
you don't need, see the following sections.
Sizing Your Volume Gateway's Storage for Real-World Workloads
By this point, you have a simple, working gateway. However, the assumptions used to create this gateway
are not appropriate for real-world workloads. If you want to use this gateway for real-world workloads,
you need to do two things:
1. Size your upload buffer appropriately.
2. Set up monitoring for your upload buffer, if you haven't done so already.
Following, you can find how to do both of these tasks. If you activated a gateway for cached volumes,
you also need to size your cache storage for real-world workloads.
To size your upload buffer and cache storage for a gateway-cached setup
•
Determining the Size of Upload Buffer to Allocate (p. 221)
upload buffer. We strongly recommend that you allocate at least 150 GiB for the upload buffer. If
the upload buffer formula yields a value less than 150 GiB, use 150 GiB as your allocated upload
buffer.
The upload buffer formula takes into account the difference between throughput from your
application to your gateway and throughput from your gateway to AWS, multiplied by how long you
expect to write data. For example, assume that your applications write text data to your gateway at
a rate of 40 MB per second for 12 hours a day and your network throughput is 12 MB per second.
Assuming a compression factor of 2:1 for the text data, the formula specifies that you need to
allocate approximately 675 GiB of upload buffer space.
To size your upload buffer for a stored setup
•
Determining the Size of Upload Buffer to Allocate (p. 221)
. We
strongly recommend that you allocate at least 150 GiB for your upload buffer. If the upload buffer
formula yields a value less than 150 GiB, use 150 GiB as your allocated upload buffer.
The upload buffer formula takes into account the difference between throughput from your
application to your gateway and throughput from your gateway to AWS, multiplied by how long you
expect to write data. For example, assume that your applications write text data to your gateway at
a rate of 40 MB per second for 12 hours a day and your network throughput is 12 MB per second.
Assuming a compression factor of 2:1 for the text data, the formula specifies that you need to
allocate approximately 675 GiB of upload buffer space.
To monitor your upload buffer
1. Open the AWS Storage Gateway console at
https://console.amazonaws.cn/storagegateway/home
.
2. Choose the
Gateway
tab, choose the
Details
tab, and then find the
Upload Buffer Used
field to view
your gateway's current upload buffer.
3. Set one or more alarms to notify you about upload buffer use.
API Version 2013-06-30
70