Azure 中新存储帐户和经典存储帐户之间的区别 [英] Difference between new and classic storage accounts in Azure

查看:27
本文介绍了Azure 中新存储帐户和经典存储帐户之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Azure 在 Azure 门户中有存储帐户存储帐户(经典).

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?

推荐答案

经典存储帐户是使用现有的服务管理 API(过去几年一直可用的 REST API 堆栈)创建的.较新的存储帐户是使用新的 Azure 资源管理器 (ARM) API(现在也包含在 PowerShell 和 CLI 中)创建的.最终,它们为您的应用提供相同的资源,但它们的创建/管理方式不同,并且存在一些细微差别(例如标记通过 ARM 脚本创建的资源的能力).

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).

您无法将经典存储帐户(或任何经典资源)转换为更新类型.无论如何,您实际上不需要这样做,除非您尝试混合使用经典资源和新资源,例如将基于 ARM 的虚拟机添加到基于经典的虚拟网络,或者从 vhd 映像启动基于 ARM 的 VM坐在经典存储帐户中(对于该示例,您始终可以将 vhd 复制到新的存储帐户).请注意,对于一般存储使用(blob/tables/queues),您只需要 URI 和主(或辅助)键.有了这些,您可以从任何地方、从任何虚拟机/网站/等访问您的存储资源,例如,无论您是从经典虚拟机还是新虚拟机访问存储.

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.

这篇关于Azure 中新存储帐户和经典存储帐户之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆