Azure Container Registry SKUAzure Container Registry SKUs

Azure Container Registry (ACR) 具有多個服務層級 (稱為SKU)。Azure Container Registry (ACR) is available in multiple service tiers, known as SKUs. 這些 SKU 會提供可預測的定價,以及數個可符合您在 Azure 之私用 Docker 登錄容量和使用模式的選項。These SKUs provide predictable pricing and several options for aligning to the capacity and usage patterns of your private Docker registry in Azure.

SKUSKU 受控Managed 描述Description
基本Basic Yes 適用於正在學習 Azure Container Registry 之開發人員的成本最佳化進入點。A cost-optimized entry point for developers learning about Azure Container Registry. 基本登錄具有與 Standard 和 Premium 相同的程式設計功能 (例如 Azure Active Directory驗證整合映射刪除, and webhooks)。Basic registries have the same programmatic capabilities as Standard and Premium (such as Azure Active Directory authentication integration, image deletion, and webhooks). 不過,內含儲存體和映像輸送量最適合較低的使用方式情節。However, the included storage and image throughput are most appropriate for lower usage scenarios.
標準Standard Yes 「標準」登錄提供與「基本」相同的功能,並且提高內含儲存體和映像輸送量。Standard registries offer the same capabilities as Basic, with increased included storage and image throughput. 「標準」登錄應該能滿足大部分實際執行案例的需求。Standard registries should satisfy the needs of most production scenarios.
高級Premium Yes 「進階」登錄提供最多的內含儲存體和並行作業,可啟用大量情節。Premium registries provide the highest amount of included storage and concurrent operations, enabling high-volume scenarios. 除了更高的映射輸送量以外, Premium 還新增了異地複寫功能, 包括跨多個區域管理單一登入、映射標記簽署的內容信任, 以及防火牆和虛擬網路 (預覽)限制登錄的存取權。In addition to higher image throughput, Premium adds features including geo-replication for managing a single registry across multiple regions, content trust for image tag signing, and firewalls and virtual networks (preview) to restrict access to the registry.
傳統 (在2019年4月之後無法使用)Classic (not available after April 2019) No 此 SKU 已啟用 Azure 中 Azure Container Registry 服務的初始版本。This SKU enabled the initial release of the Azure Container Registry service in Azure. Azure 在訂用帳戶中建立的儲存體帳戶支援「傳統」登錄,這會限制 ACR 提供更高層級功能的能力,例如提高輸送量和異地複寫。Classic registries are backed by a storage account that Azure creates in your subscription, which limits the ability for ACR to provide higher-level capabilities such as increased throughput and geo-replication.

重要

傳統登錄 SKU 即將淘汰, 將在2019 年4月後無法使用。The Classic registry SKU is being deprecated, and will be unavailable after April 2019. 我們建議針對所有新的登錄使用 Basic、Standard 或 Premium。We recommend using Basic, Standard, or Premium for all new registries. 所有現有的傳統登錄都應該在2019年4月之前升級。All existing Classic registries should be upgraded prior to April 2019. 如需升級資訊, 請參閱upgrade a 傳統 registryFor upgrade information, see Upgrade a Classic registry.

Basic、Standard 和 Premium Sku (統稱為受控登錄) 全都提供相同的程式設計功能。The Basic, Standard, and Premium SKUs (collectively called managed registries) all provide the same programmatic capabilities. 它們也全都受益于 Azure 完全受控的映射儲存體They also all benefit from image storage managed entirely by Azure. 選擇較高層級的 SKU 可提供更多的效能和延展性。Choosing a higher-level SKU provides more performance and scale. 由於有多個服務層級,您可以一開始先使用「基本」,再隨著登錄使用量的增加而轉換為「標準」和「進階」。With multiple service tiers, you can get started with Basic, then convert to Standard and Premium as your registry usage increases.

SKU 功能對照表SKU feature matrix

下表詳述「基本」、「標準」和「進階」服務層級的功能和限制。The following table details the features and limits of the Basic, Standard, and Premium service tiers.

資源Resource 基本Basic 標準Standard 進階Premium
儲存體1Storage1 10 GiB10 GiB 100 GiB100 GiB 500 GiB500 GiB
最大的映像層大小Maximum image layer size 200 GiB200 GiB 200 GiB200 GiB 200 GiB200 GiB
每分鐘的 ReadOps2, 3ReadOps per minute2, 3 1,0001,000 3,0003,000 10,00010,000
每分鐘的 WriteOps2, 4WriteOps per minute2, 4 100100 500500 2,0002,000
下載頻寬 Mbps2Download bandwidth MBps2 3030 6060 100100
上傳頻寬 Mbps2Upload bandwidth MBps2 1010 2020 5050
WebhookWebhooks 22 1010 100100
異地複寫Geo-replication N/AN/A N/AN/A 支援Supported
內容信任Content trust N/AN/A N/AN/A 支援Supported

1是指當指定的儲存體限制包含每個層級的儲存體。1The specified storage limits are the amount of included storage for each tier. 對於超過這些限制的影像儲存,您需要依每 GiB 的每日費率另外支付費用。You're charged an additional daily rate per GiB for image storage above these limits. 費率的詳細資訊,請參閱 < Azure Container Registry 定價For rate information, see Azure Container Registry pricing.

2ReadOpsWriteOps,和頻寬是最小的估計值。2ReadOps, WriteOps, and Bandwidth are minimum estimates. Azure Container Registry 致力於改善效能,需要使用。Azure Container Registry strives to improve performance as usage requires.

3A docker 提取會轉譯為多個映像,加上資訊清單擷取的圖層數目為基礎的讀取作業。3A docker pull translates to multiple read operations based on the number of layers in the image, plus the manifest retrieval.

4A docker 推播會轉譯為多個寫入作業,根據必須推送的圖層數目。4A docker push translates to multiple write operations, based on the number of layers that must be pushed. docker push 包含 ReadOps,以擷取現有映像的資訊清單。A docker push includes ReadOps to retrieve a manifest for an existing image.

變更 SKUChanging SKUs

您可以使用 Azure CLI 或在 Azure 入口網站中變更登錄的 SKU。You can change a registry's SKU with the Azure CLI or in the Azure portal. 您可以自由地改用其他受控 SKU,只要您所要改用的目標 SKU 具有所需的最大儲存容量即可。You can move freely between managed SKUs as long as the SKU you're switching to has the required maximum storage capacity. 當您從傳統切換到其中一個受控 Sku 時, 您無法回到傳統--它是單向轉換。When you switch to one of the managed SKUs from Classic, you cannot move back to Classic--it is a one-way conversion.

Azure CLIAzure CLI

若要在 Azure CLI 中的 Sku 之間移動, 請使用az acr update命令。To move between SKUs in the Azure CLI, use the az acr update command. 例如,若要改用進階:For example, to switch to Premium:

az acr update --name myregistry --sku Premium

Azure 入口網站Azure portal

在 Azure 入口網站的容器登錄 [概觀] 中,選取 [更新] ,然後從 SKU 下拉式清單中選取新的 SKUIn the container registry Overview in the Azure portal, select Update, then select a new SKU from the SKU drop-down.

在 Azure 入口網站中更新容器登錄 SKU

如果您有傳統登錄,就無法在 Azure 入口網站中選取受控 SKU。If you have a Classic registry, you can't select a managed SKU within the Azure portal. 相反地, 您必須先升級至受控登錄。Instead, you must first upgrade to a managed registry.

價格Pricing

如需每個 Azure Container Registry SKU 的定價資訊,請參閱 Container Registry 定價For pricing information on each of the Azure Container Registry SKUs, see Container Registry pricing.

如需資料傳輸定價的詳細資訊,請參閱頻寬定價詳細資料For details about pricing for data transfers, see Bandwidth Pricing Details.

後續步驟Next steps

Azure Container Registry 藍圖Azure Container Registry Roadmap

請瀏覽 GitHub 上的 ACR Roadmap ACR 藍圖),以尋找服務中即將推出功能的相關資訊。Visit the ACR Roadmap on GitHub to find information about upcoming features in the service.

Azure Container Registry UserVoiceAzure Container Registry UserVoice

送出並票選 ACR UserVoice 中的新功能建議。Submit and vote on new feature suggestions in ACR UserVoice.