Difference between new and classic storage accounts in Azure
Asked Answered
M

5

96

Azure has Storage accounts and Storage accounts (classic) in the Azure Portal.

What are the differences between them? Is there any reason to migrate from a classic storage account to a new storage account?

Maimonides answered 16/9, 2015 at 21:40 Comment(0)
Q
88

Classic storage accounts are created using existing Service Management API's (the REST API stack that's been available for the past several years). The newer storage accounts are created with the new Azure Resource Manager (ARM) API's (which are also wrapped in PowerShell and CLI now). Ultimately they provide the same resources to your apps, but they're created/managed differently, and there are a few nuanced differences (such as the ability to tag resources that are created via ARM scripts).

You can't convert a classic storage account (or any classic resource) to a newer type. You don't really need to anyway, unless you're trying to mix resources from classic and new, such as adding ARM-based virtual machines to a classic-based virtual network, or spin up an ARM-based VM from a vhd image sitting in a classic storage account (and for that example, you could always just copy the vhd to a new storage account). Note that, for general storage usage (blobs/tables/queues), you just need the URI and the primary (or secondary) key. With those, you can access your storage resources from anywhere, from any VM/website/etc, regardless if you're accessing storage from classic or new virtual machines, for example.

Check out this link for a general list of differences between classic and new resources.

Quiroz answered 16/9, 2015 at 23:6 Comment(6)
The new article is linkJolie
"You can't convert a classic storage account (or any classic resource) to a newer type" - as of today this is not true. Here is a how-to.Artemisa
@OgnyanDimitrov - not sure what your comment means, as you just quoted something from my answer.Quiroz
@DavidMakogon only that there is a way to migrate from classic storage account to arm. Nothing else. Added it for clarification if somebody stumbles upon this - not to assume that this is not possible now. I assume that 1.5 years ago it was not possible.Artemisa
@OgnyanDimitrov - my statement is still true: you cannot convert from classic to ARM. There are indeed PowerShell scripts to migrate, but this actually copies resources to new resources.Quiroz
@OgnyanDimitrov also note that someone already pointed this out (the migration path) in another answer, a few months ago. Still a good thing to point out though, esp considering (as you pointed out), there was no such migration facility when this question was originally asked.Quiroz
A
5

One advantage of the new over the classic storage accounts is Storage Service Encryption (SSE):

Q: I have an existing classic storage account. Can I enable SSE on it?

A: No, SSE is only supported on Resource Manager storage accounts.

Q: How can I encrypt data in my classic storage account?

A: You can create a new Resource Manager storage account and copy your data using AzCopy from your existing classic storage account to your newly created Resource Manager storage account.

Adrianople answered 13/9, 2016 at 15:22 Comment(1)
i'd recommend using Microsoft Azure Storage Explorer - they have a copy container option now.Rox
B
4

There is now a way to migrate Classic resources to the new ARM model. I've done a few myself and it worked as expected. Here's a guide from Microsoft:

https://learn.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-ps-migration-classic-resource-manager

Barrens answered 10/2, 2017 at 19:41 Comment(0)
P
0

In addition to @David Makogon's answer, the new Azure Storage offers reselling resources to sub-subscriptions.

This means that you are able to buy storage from Azure and sell it to your customers.

Pluralism answered 4/8, 2016 at 10:20 Comment(0)
D
0

You can now migrate Classic Storage Accounts to ARM from within Azure.

Settings --> Migrate to ARM

With Azure

With Powershell

Dudleyduds answered 21/6, 2021 at 10:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.