Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I tell how full an Azure Storage account is?

Is there any way of determining the used and/or remaining capacity of an Azure Storage account? I know that the current size limit is 100TB per storage account and I'm looking for either number of bytes used/remaining or, failing that, percentage used/remaining. However I can't see any way of monitoring this even in the Azure portal, let alone doing it programmatically via the API.

like image 605
Steven Rands Avatar asked Feb 24 '15 14:02

Steven Rands


People also ask

How do I check my data usage on my Azure storage account?

To view table data. In Cloud Explorer, open the Azure node, and then open the Storage node. Open the storage account node that you are interested in, and then open the Tables node to see a list of tables for the storage account. Open the shortcut menu for a table, and then select View Table.

What is the capacity of Azure storage account?

There is no limit on file shares you can create within a premium account. In a Premium FileStorage account, storage size is limited to 100 TB. You can perform up to 100,000 I/O operations per second.


2 Answers

You have to enable Storage Analytics. Then read about Storage Account Monitoring. Finally a look at the Analytics Metrics table(s). Note that it takes minimum 15 minutes until metrics are updated.

And btw, Azure Storage account limit is 500 TB as per Azure Subscription and Service Limits.

UPDATE

After reconsidering, the only way you can get the full storage capacity report is via the Account Billing page. Simply click on your name on top right (management portal v.Current, a.k.a. https://manage.windowsazure.com/) then chose "View My Bill" option.

This page is updated on a daily basis.

There is no API or other programmatic way to get these statistics.

like image 182
astaykov Avatar answered Sep 16 '22 16:09

astaykov


Now it's possible to get it in Azure Monitor. In Azure Portal navigate to All services -> Monitor, click Expore Metrics and select your storage account. There are different useful metrics and Capacity metric is among them.

like image 24
Yuriy Gavrishov Avatar answered Sep 20 '22 16:09

Yuriy Gavrishov