How To Create a Storage Account
To store files and data in the Blob, Table, and Queue services in Windows Azure, you must create a storage account in the geographic region where you want to store the data. A storage account can contain up to 200 TB of data if it was created on or after June 8th, 2012. Storage accounts created before June 8th, 2012, can store 100 TB of blob, table, and queue data. You can create up to twenty storage accounts for each Windows Azure subscription. See Windows Azure Storage Scalability and Performance Targets for more information.
This topic describes how to create a storage account in the Windows Azure Management Portal.
For a Windows Azure virtual machine, a storage account is created automatically in the deployment location if you do not already have a storage account in that location. The storage account name will be based on the virtual machine name.
Table of Contents
How to: Create a storage account
Sign in to the Management Portal.
Click Create New, click Storage, and then click Quick Create.
In URL, enter a subdomain name to use in the storage account URL. To access an object in storage, you will append the object's location to the endpoint. For example, the URL for accessing a blob might be http://myaccount.blob.core.windows.net/mycontainer/myblob.
In Region/Affinity Group, select a region or affinity group for the storage. Select an affinity group instead of a region if you want your storage services to be in the same data center with other Windows Azure services that you are using. This can improve performance, and no charges are incurred for egress.
> To create an affinity group, open the Networks area of the Management Portal, click Affinity Groups, and then click either Create a new affinity group or Create. You can use affinity groups that you create in the previous Management Portal. To open the other portal, click Preview on the title bar, and then click Take me to the previous portal. (To return to this portal, click View the Preview Portal at the bottom of the portal.) You can also create and manage affinity groups using the Windows Azure Service Management API. See Operations on Affinity Groups for more information.
If you have more than one Windows Azure subscription, then the Subscription field is displayed. In Subscription, enter the Windows Azure subscription that you want to use the storage account with. You can create up to five storage accounts for a subscription.
In Replication, select the level of replication that you desire for your storage account.
By default, replication is set to Geo-Redundant. With geo-redundant replication, your storage account and all data in it fails over to a secondary location in the event of a major disaster in the primary location. Windows Azure assigns a secondary location in the same region, which cannot be changed. After a failover, the secondary location becomes the primary location for the storage account, and your data is replicated to a new secondary location.
If you don't want to use geo-redundant replication, or if your organization's policies won't allow its use, set Replication to Locally Redundant. This will result in locally redundant storage, which is offered at a discount. Be aware that if you turn off geo-redundant replication, and you later decide to turn it on again, you will incur a one-time charge to replicate your existing data to the secondary location.
A third replication option, Read Access Geo-Redundant, is currently in preview. This option enables read-only access to the replicated data in the secondary location. Read-access geo-redundant replication allows you to access your data from either the primary or the secondary location, in the event that one location becomes unavailable.
> In order to use read-access geo-redundant replication while it is in preview, you must manually request that the feature be enabled for your subscription. Visit the Windows Azure Preview Features page to request read-access geo-redundant replication for your subscription. For more details about read-access geo-redundant replication, see the Windows Azure Storage Team Blog. If read-access geo-redundant replication is not enabled as a preview feature on your subscription, the option to select it for your storage account will be disabled.
For pricing information for storage account replication, see Storage Pricing Details.
Click Create Storage Account.
It may take a few minutes to create your storage account. To check the status, you can monitor the notifications at the bottom of the portal. After the storage account has been created, your new storage account has Online status and is ready for use.
To learn more about Windows Azure storage services, see Understanding Cloud Storage and Blobs, Queues, and Tables.
Visit the Windows Azure Storage Team Blog.
Configure your apps to use Windows Azure Blob, Table, and Queue services. The Windows Azure Developer Center provides How To Guides for using the Blob, Table, and Queue storage services with your .NET, Node.js, Java, and PHP applications. For instructions specific to a programming language, see the How To Guides for that language.