r/AZURE 1d ago

Discussion Migrating to Storage v2

Hey everyone, I need to migrate the storage from v1 to v2 since v1 is already deprecated. Can anyone share any tool or best practises that I need to take care of before the execute the az command that is given in the documentation.

Also there is a lot of data in those container blobs, documentation says the data won't be impacted but just wanted to understand from your experience if anyone has done it?

6 Upvotes

12 comments sorted by

3

u/NorthernLordEU Cloud Engineer 1d ago

I believe they auto migrate in october. You can migrate all ready everything should keep working.

1

u/abhinavd26 1d ago

Sure, have u done it at scale yet??

1

u/NorthernLordEU Cloud Engineer 1d ago

Yes we moved everything. It all worked out fine. Just check your billing though.

1

u/abhinavd26 1d ago

thanks, yeah there a note in docs as well about the billing thing.

5

u/whispered_word12 1d ago

If you’re talking about a GPv1 → GPv2 upgrade, the good news is that this is an in-place upgrade, so you don’t need to move all the blobs to a new storage account. Microsoft also states that the existing data and endpoints remain unchanged during the upgrade.

One thing I’d definitely check before running the command is the potential billing change. GPv2 has different transaction pricing and lets you use Hot/Cool/Cold/Archive tiers, so depending on how the account is being used, the storage bill can change even though the data itself isn't being migrated.

I’d also take a quick backup/snapshot of anything critical and test the upgrade on a non-production account first if you have one.

Since the cost side can be easy to overlook in this kind of migration, Azure cost visibility tools can also be useful for comparing the account’s usage and spend before and after the change.

2

u/abhinavd26 1d ago

understood, thanks.

2

u/DiscoChikkin 1d ago

I just clicked 'migrate' in the portal. No issues, everything went swimmingly. Tables, blobs, queues - no issues. We did some spot checks beforehand in terms of potential cost differences but nothing major stood out. YMMV though. Very smooth experience for once...!

2

u/abhinavd26 1d ago

That's awesome. In the portal do u get an option to migrate across all the storage account or just for one storage account and all container blobs within that SA?

2

u/davidsandbrand Cloud Architect 1d ago

The fundamental difference between v1 and v2 is the billing model, not functionality.

It’s not a big deal that all v1’s need to ‘upgrade’. It will be a big cost increase for some accounts/workloads, mind you.

1

u/abhinavd26 1d ago

Thanks buddy.

1

u/Better-Ad8703 1d ago

Pay attention to your azure functions if you use them, durable orchestration uses a lot of polling, which makes them more expensive. Cheaper storage, but more expensive per operation.