Azure 有哪些可用的磁盘类型?What disk types are available in Azure?

Azure 托管磁盘当前提供了三种磁盘类型,它们都已公开发布 (GA)。Azure managed disks currently offers three disk types, all of which are generally available (GA). 这三种磁盘类型的每一种都有自己的相应目标客户方案。These three disk types each have their own appropriate target customer scenarios.

磁盘比较Disk comparison

下表对托管磁盘的高级 SSD、标准 SSD 和标准硬盘驱动器 (HDD) 进行了比较,方便你确定使用哪一种。The following table provides a comparison of premium SSD, standard SSD, and standard hard disk drives (HDD) for managed disks to help you decide what to use.

高级·SSDPremium SSD 标准 SSDStandard SSD 标准 HDDStandard HDD
磁盘类型Disk type SSDSSD SSDSSD HDDHDD
方案Scenario 生产和性能敏感型工作负荷Production and performance sensitive workloads Web 服务器、不常使用的企业应用程序和开发/测试Web servers, lightly used enterprise applications and dev/test 备份、非关键、不常访问Backup, non-critical, infrequent access
磁盘大小Disk size 4,095 GiB4,095 GiB 4,095 GiB4,095 GiB 4,095 GiB4,095 GiB
最大吞吐量Max throughput 900 MiB/秒900 MiB/s 750 MiB/秒750 MiB/s 500 MiB/秒500 MiB/s
最大 IOPSMax IOPS 20,00020,000 6,0006,000 2,0002,000

高级·SSDPremium SSD

Azure 高级 SSD 为运行输入/输出 (IO) 密集型工作负荷的虚拟机 (VM) 提供高性能、低延迟的磁盘支持。Azure premium SSDs deliver high-performance and low-latency disk support for virtual machines (VMs) with input/output (IO)-intensive workloads. 若要利用高级存储磁盘的速度和性能优势,可将现有的 VM 磁盘迁移到高级 SSD。To take advantage of the speed and performance of premium storage disks, you can migrate existing VM disks to Premium SSDs. 高级 SSD 适用于任务关键型生产应用程序。Premium SSDs are suitable for mission-critical production applications.

磁盘大小Disk size

高级 SSD 大小Premium SSD sizes  P4P4 P6P6 P10P10 P15P15 P20P20 P30P30 P40P40 P50P50 P60P60 P70P70 P80P80
磁盘大小 (GiB)Disk size in GiB 3232 6464 128128 256256 512512 1,0241,024 2,0482,048 4,0954,095 8,1928,192 16,38416,384 32,76732,767
每个磁盘的 IOPSIOPS per disk 最多 120Up to 120 最多 240Up to 240 最大 500Up to 500 最多 1,100Up to 1,100 最多 2,300Up to 2,300 最多 5,000Up to 5,000 最多 7,500Up to 7,500 最多 7,500Up to 7,500 最多 16,000Up to 16,000 最多 18,000Up to 18,000 最多 20,000Up to 20,000
每个磁盘的吞吐量Throughput per disk 最多 25 MiB/秒Up to 25 MiB/sec 最多 50 MiB/秒Up to 50 MiB/sec 最多 100 MiB/秒Up to 100 MiB/sec 最多 125 MiB/秒Up to 125 MiB/sec 最多 150 MiB/秒Up to 150 MiB/sec 最多 200 MiB/秒Up to 200 MiB/sec 最多 250 MiB/秒Up to 250 MiB/sec 最多 250 MiB/秒Up to 250 MiB/sec 最多 500 MiB/秒Up to 500 MiB/sec 最多 750 MiB/秒Up to 750 MiB/sec 最多 900 MiB/秒Up to 900 MiB/sec

预配高级存储磁盘时,可以获得该磁盘的容量、IOPS 和吞吐量保证,这与标准存储不同。When you provision a premium storage disk, unlike standard storage, you are guaranteed the capacity, IOPS, and throughput of that disk. 例如,如果创建 P50 磁盘,Azure 将为此磁盘预配 4,095-GB 存储容量、7,500 IOPS 和 250-MB/秒的吞吐量。For example, if you create a P50 disk, Azure provisions 4,095-GB storage capacity, 7,500 IOPS, and 250-MB/s throughput for that disk. 应用程序可以使用全部或部分容量与性能。Your application can use all or part of the capacity and performance. 高级 SSD 盘旨在 99.9% 的时间内提供目标性能。Premium SSD disks are designed to deliver the target performance 99.9% of the time.

标准 SSDStandard SSD

Azure 标准 SSD 是经济高效的存储选项,已针对需要一致性能和较低 IOPS 级别的工作负荷进行优化。Azure standard SSDs are a cost-effective storage option optimized for workloads that need consistent performance at lower IOPS levels. 对于想要迁移到云的用户而言,标准 SSD 提供良好的入门级体验,尤其是在本地 HDD 解决方案中运行各种工作负荷遇到问题时。Standard SSD offers a good entry level experience for those who wish to move to the cloud, especially if you experience issues with the variance of workloads running on your HDD solutions on premises. 与 HDD 磁盘相比,标准 SSD 提供更好的可用性、一致性、可靠性和延迟。Standard SSDs deliver better availability, consistency, reliability, and latency compared to HDD disks. 标准 SSD 适用于 Web 服务器、低 IOPS 应用程序服务器、较少使用的企业应用程序和开发/测试工作负荷。Standard SSDs are suitable for Web servers, low IOPS application servers, lightly used enterprise applications, and Dev/Test workloads.

磁盘大小Disk size

标准 SSD 大小Standard SSD sizes E4E4 E6E6 E10E10 E15E15 E20E20 E30E30 E40E40 E50E50
磁盘大小 (GiB)Disk size in GiB 3232 6464 128128 256256 512512 1,0241,024 2,0482,048 4,0954,095
每个磁盘的 IOPSIOPS per disk 最多 120Up to 120 最多 240Up to 240 最大 500Up to 500 最大 500Up to 500 最大 500Up to 500 最大 500Up to 500 最大 500Up to 500 最大 500Up to 500
每个磁盘的吞吐量Throughput per disk 最多 25 MiB/秒Up to 25 MiB/sec 最多 50 MiB/秒Up to 50 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec

标准 SSD 旨在为大多数 IO 操作提供 10 毫秒以下的延迟,并在 99% 的时间内提供不超过上表中所述限制的 IOPS 和吞吐量。Standard SSDs are designed to provide single-digit millisecond latencies for most IO operations, and to deliver the IOPS and throughput up to the limits described in the preceding table 99% of the time. 实际 IOPS 和吞吐量有时根据流量模式而异。Actual IOPS and throughput may vary sometimes depending on the traffic patterns. 相比 HDD 磁盘,标准 SSD 提供更加一致的性能,并且延迟更低。Standard SSDs will provide more consistent performance than the HDD disks with the lower latency.

标准 HDDStandard HDD

Azure 标准 HDD 为运行不区分延迟的工作负荷提供可靠、低成本的磁盘支持。Azure standard HDDs deliver reliable, low-cost disk support for VMs running latency-insensitive workloads. 它还支持 Blob、表、队列和文件。It also supports blobs, tables, queues, and files. 使用标准存储,将数据存储在硬盘驱动器 (HDD)。With standard storage, the data is stored on hard disk drives (HDDs). 使用 VM 时,可将标准 SSD 和 HDD 磁盘用于开发/测试方案和不太重要的工作负荷。When working with VMs, you can use standard SSD and HDD disks for dev/test scenarios and less critical workloads. 所有 Azure 区域均提供标准存储。Standard storage is available in all Azure regions.

磁盘大小Disk size

标准磁盘类型Standard Disk Type S4S4 S6S6 S10S10 S15S15 S20S20 S30S30 S40S40 S50S50
磁盘大小 (GiB)Disk size in GiB 3232 6464 128128 256256 512512 1,0241,024 2,0482,048 4,0954,095
每个磁盘的 IOPSIOPS per disk 最大 500Up to 500 最大 500Up to 500 最大 500Up to 500 最大 500Up to 500 最大 500Up to 500 最大 500Up to 500 最大 500Up to 500 最大 500Up to 500
每个磁盘的吞吐量Throughput per disk 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec 最多 60 MiB/秒Up to 60 MiB/sec

计费Billing

使用托管磁盘时,将考虑以下计费事项:When using managed disks, the following billing considerations apply:

  • 磁盘类型Disk type
  • 托管磁盘大小managed disk Size
  • 快照Snapshots
  • 出站数据传输Outbound data transfers
  • 事务数Number of transactions

托管磁盘大小:托管磁盘按预配大小计费。Managed disk size: managed disks are billed on the provisioned size. Azure 将预配大小映射(向上舍入)到所提供的最接近的磁盘大小。Azure maps the provisioned size (rounded up) to the nearest offered disk size. 有关所提供的磁盘大小的详细信息,请参阅前面的表。For details of the disk sizes offered, see the previous tables. 每个磁盘将映射到一种受支持的预配磁盘大小套餐并相应地计费。Each disk maps to a supported provisioned disk size offering and is billed accordingly. 例如,如果预配了 200 GiB 的标准 SSD,它会映射到 E15 的磁盘大小 (256 GiB)。For example, if you provisioned a 200 GiB Standard SSD, it maps to the disk size offer of E15 (256 GiB). 任何预配的磁盘根据每月的高级存储优惠价格按小时计费。Billing for any provisioned disk is prorated hourly by using the monthly price for the Premium Storage offer. 例如,如果在预配 E10 磁盘的 20 小时后删除它,则会以 20 小时计算 E10 产品/服务的费用。For example, if you provisioned an E10 disk and deleted it after 20 hours, you're billed for the E10 offering prorated to 20 hours. 这与写入磁盘的实际数据量无关。This is regardless of the amount of actual data written to the disk.

快照:基于已使用大小对快照计费。Snapshots: Snapshots are billed based on the size used. 例如,如果创建预配容量为 64 GiB 且实际使用数据大小为 10 GiB 的托管磁盘的快照,则仅针对已用数据大小 10 GiB 对该快照计费。For example, if you create a snapshot of a managed disk with provisioned capacity of 64 GiB and actual used data size of 10 GiB, the snapshot is billed only for the used data size of 10 GiB.

有关快照的详细信息,请参阅托管磁盘概述中有关快照的部分。For more information on snapshots, see the section on snapshots in the managed disk overview.

出站数据传输出站数据传输(传出 Azure 数据中心的数据)会产生带宽使用费。Outbound data transfers: Outbound data transfers (data going out of Azure data centers) incur billing for bandwidth usage.

事务:会根据你对标准托管磁盘执行的事务数向你收费。Transactions: You're billed for the number of transactions that you perform on a standard managed disk. 对于标准 SSD,将使用 I/O 单元大小 256 KiB 来计算事务数。For standard SSDs, the I/O unit size of 256 KiB is used for accounting the number of transactions. 更大的 I/O 大小被视为多个 256 KiB 大小的 I/O。Larger I/O sizes are counted as multiple I/Os of size 256 KiB. 对于标准 HDD,每个 IO 操作会被视为单个事务,无论 I/O 大小如何。For Standard HDDs, each IO operation is considered as a single transaction, regardless of the I/O size.

有关托管磁盘定价的详细信息(包括事务成本),请参阅托管磁盘定价For detailed information on pricing for Managed Disks, including transaction costs, see Managed Disks Pricing.