Azure 儲存體帳戶概觀Azure storage account overview

Azure 儲存體帳戶包含您所有的 Azure 儲存體資料物件:Blob、檔案、佇列、資料表和磁碟。An Azure storage account contains all of your Azure Storage data objects: blobs, files, queues, tables, and disks. 儲存體帳戶會為您的 Azure 儲存體資料提供唯一的命名空間, 可透過 HTTP 或 HTTPS 從世界各地存取。The storage account provides a unique namespace for your Azure Storage data that is accessible from anywhere in the world over HTTP or HTTPS. 您的 Azure 儲存體帳戶中的資料既持久又高可用性、安全且可大幅擴充。Data in your Azure storage account is durable and highly available, secure, and massively scalable.

若要了解如何建立 Azure 儲存體帳戶,請參閱建立儲存體帳戶To learn how to create an Azure storage account, see Create a storage account.

儲存體帳戶類型Types of storage accounts

Azure 儲存體提供數種類型的儲存體帳戶。Azure Storage offers several types of storage accounts. 每個類型都支援不同的功能,而且都有自己的計價模式。Each type supports different features and has its own pricing model. 您在建立儲存體帳戶之前請先考量這些差異,以判斷您的應用程式最適用的帳戶類型。Consider these differences before you create a storage account to determine the type of account that is best for your applications. 儲存體帳戶的類型如下:The types of storage accounts are:

  • 一般用途 v2 帳戶:適用於 Blob、文件,佇列和資料表的基本儲存體帳戶類型。General-purpose v2 accounts: Basic storage account type for blobs, files, queues, and tables. 在大部分情況下,建議您使用 Azure 儲存體。Recommended for most scenarios using Azure Storage.
  • 一般用途 v1 帳戶:適用於 Blob、文件,佇列和資料表的傳統帳戶類型。General-purpose v1 accounts: Legacy account type for blobs, files, queues, and tables. 如果可能的話,請改為使用一般用途 v2 帳戶。Use general-purpose v2 accounts instead when possible.
  • 區塊 blob 儲存體帳戶:具有 premium 效能特性的僅限 Blob 儲存體帳戶。Block blob storage accounts: Blob-only storage accounts with premium performance characteristics. 建議適用于具有高交易率的案例、使用較小的物件, 或需要一致的儲存延遲。Recommended for scenarios with high transactions rates, using smaller objects, or requiring consistently low storage latency.
  • FileStorage 儲存體帳戶:僅限檔案的儲存體帳戶, 具有 premium 效能特性。FileStorage storage accounts: Files-only storage accounts with premium performance characteristics. 建議用於企業或高效能規模的應用程式。Recommended for enterprise or high performance scale applications.
  • Blob 儲存體帳戶:僅限 Blob 的儲存體帳戶。Blob storage accounts: Blob-only storage accounts. 如果可能的話,請改為使用一般用途 v2 帳戶。Use general-purpose v2 accounts instead when possible.

下表描述儲存體帳戶類型及其功能:The following table describes the types of storage accounts and their capabilities:

儲存體帳戶類型Storage account type 支援的服務Supported services 支援的效能層級Supported performance tiers 支援的存取層Supported access tiers 複寫選項Replication options 部署模型Deployment model
一般用途 V2General-purpose V2 Blob、檔案、佇列、資料表及磁碟Blob, File, Queue, Table, and Disk 標準、進階Standard, Premium
經常性存取、非經常性存取、封存Hot, Cool, Archive
LRS、GRS、RA-GRS、ZRS、ZGRS (預覽)、RA-ZGRS (預覽)LRS, GRS, RA-GRS, ZRS, ZGRS (preview), RA-ZGRS (preview)
Resource ManagerResource Manager 已加密Encrypted
一般用途 V1General-purpose V1 Blob、檔案、佇列、資料表及磁碟Blob, File, Queue, Table, and Disk 標準、進階Standard, Premium
N/AN/A LRS、GRS、RA-GRSLRS, GRS, RA-GRS Resource Manager、傳統Resource Manager, Classic 已加密Encrypted
區塊 blob 儲存體Block blob storage Blob (僅限區塊 Blob 和附加 Blob)Blob (block blobs and append blobs only) 進階Premium N/AN/A LRSLRS Resource ManagerResource Manager 已加密Encrypted
FileStorageFileStorage 僅限檔案Files only 進階Premium N/AN/A LRSLRS Resource ManagerResource Manager 已加密Encrypted
Blob 儲存體Blob storage Blob (僅限區塊 Blob 和附加 Blob)Blob (block blobs and append blobs only) 標準Standard 經常性存取、非經常性存取、封存Hot, Cool, Archive
LRS、GRS、RA-GRSLRS, GRS, RA-GRS Resource ManagerResource Manager 已加密Encrypted
1建議使用 Azure Resource Manager 部署模型。1Using the Azure Resource Manager deployment model is recommended. 使用傳統部署模型的儲存體帳戶仍可建立於某些位置,而且會繼續支援現有的傳統帳戶。Storage accounts using the classic deployment model can still be created in some locations, and existing classic accounts continue to be supported. 如需詳細資訊,請參閱 Azure Resource Manager 與傳統部署:了解資源的部署模型和狀態For more information, see Azure Resource Manager vs. classic deployment: Understand deployment models and the state of your resources.
2所有儲存體帳戶會使用待用資料的 Azure 儲存體服務加密 (SSE) 進行加密。2All storage accounts are encrypted using Storage Service Encryption (SSE) for data at rest. 如需詳細資訊,請參閱待用資料的 Azure 儲存體服務加密For more information, see Azure Storage Service Encryption for Data at Rest.
3封存儲存層適用於於個別 Blob 的等級,不適用於儲存體帳戶層級。3The Archive tier is available at level of an individual blob only, not at the storage account level. 只可以封存區塊 Blob 和附加 Blob。Only block blobs and append blobs can be archived. 如需詳細資訊,請參閱 Azure Blob 儲存體:經常性存取、非經常性存取和封存儲存層For more information, see Azure Blob storage: Hot, Cool, and Archive storage tiers.
4區域冗余儲存體 (ZRS) 和地理區域冗余儲存體 (切換) (預覽) 僅適用于標準一般用途 v2 儲存體帳戶。4Zone-redundant storage (ZRS) and geo-zone-redundant storage (GZRS) (preview) are available only for standard general-purpose v2 storage accounts. 如需 ZRS 的相關詳細資訊,請參閱區域備援儲存體 (ZRS):高可用性 Azure 儲存體應用程式For more information about ZRS, see Zone-redundant storage (ZRS): Highly available Azure Storage applications. 如需切換的詳細資訊, 請參閱高可用性和最大持久性 (預覽) 的異地區域冗余儲存體For more information about GZRS, see Geo-zone-redundant storage for highly availability and maximum durability (preview). 如需其他複寫選項的詳細資訊,請參閱 Azure 儲存體複寫For more information about other replication options, see Azure Storage replication.
5一般用途 v2 和一般用途 v1 帳戶的 Premium 效能僅適用于磁片和分頁 blob。5Premium performance for general-purpose v2 and general-purpose v1 accounts is available for disk and page blob only.

一般用途 v2 帳戶General-purpose v2 accounts

一般用途 v2 儲存體帳戶能支援最新的 Azure 儲存體功能,而且包含一般用途 v1 與 Blob 儲存體帳戶的所有功能。General-purpose v2 storage accounts support the latest Azure Storage features and incorporate all of the functionality of general-purpose v1 and Blob storage accounts. 一般用途 v2 帳戶能針對 Azure 儲存體提供最低的每 GB 容量價格,以及極具業界競爭力的交易價格。General-purpose v2 accounts deliver the lowest per-gigabyte capacity prices for Azure Storage, as well as industry-competitive transaction prices. 一般用途 v2 儲存體帳戶支援這些 Azure 儲存體服務:General-purpose v2 storage accounts support these Azure Storage services:

  • Blob (所有類型:區塊、附加、分頁)Blobs (all types: Block, Append, Page)
  • 檔案Files
  • 磁碟Disks
  • 佇列Queues
  • 資料表Tables


Microsoft 建議,在大部分情況下使用一般用途 v2 儲存體帳戶。Microsoft recommends using a general-purpose v2 storage account for most scenarios. 您不需停機,也不必複製資料,即可輕鬆地將一般用途 v1 或 Blob 儲存體帳戶升級至一般用途 v2 帳戶。You can easily upgrade a general-purpose v1 or Blob storage account to a general-purpose v2 account with no downtime and without the need to copy data.

如需有關如何升級至一般用途 v2 帳戶的詳細資訊,請參閱升級至一般用途 v2 儲存體帳戶For more information on upgrading to a general-purpose v2 account, see Upgrade to a general-purpose v2 storage account.

一般用途 v2 儲存體帳戶提供多個存取層,以便根據您的使用量模式來儲存資料。General-purpose v2 storage accounts offer multiple access tiers for storing data based on your usage patterns. 如需詳細資訊,請參閱區塊 blob 資料的存取層For more information, see Access tiers for block blob data.

一般用途 v1 帳戶General-purpose v1 accounts

一般用途 v1 帳戶可讓使用者存取所有 Azure 儲存體服務,但可能不包含最新功能,每 GB 的定價也並非最低。General-purpose v1 accounts provide access to all Azure Storage services, but may not have the latest features or the lowest per gigabyte pricing. 一般用途 v1 儲存體帳戶支援這些 Azure 儲存體服務:General-purpose v1 storage accounts support these Azure Storage services:

  • Blobs (所有類型)Blobs (all types)
  • 檔案Files
  • 磁碟Disks
  • 佇列Queues
  • 資料表Tables

雖然建議在大部分情況下使用一般用途 v2 帳戶,但一般用途 v1 帳戶最適合下列案例:While general-purpose v2 accounts are recommended in most cases, general-purpose v1 accounts are best suited to these scenarios:

  • 您的應用程式需要 Azure 傳統部署模型。Your applications require the Azure classic deployment model. 一般用途 v2 帳戶和 Blob 儲存體帳戶僅支援 Azure Resource Manager 部署模型。General-purpose v2 accounts and Blob storage accounts support only the Azure Resource Manager deployment model.

  • 您的應用程式屬於交易密集或使用大量異地複寫頻寬,但不需要大容量。Your applications are transaction-intensive or use significant geo-replication bandwidth, but do not require large capacity. 在此情況下,一般用途 v1 可能是最經濟實惠的選擇。In this case, general-purpose v1 may be the most economical choice.

  • 您使用早於 2014-02-14 的 儲存體服務 REST API 版本,或版本低於 4.x 的用戶端程式庫,所以無法升級您的應用程式。You use a version of the Storage Services REST API that is earlier than 2014-02-14 or a client library with a version lower than 4.x, and cannot upgrade your application.

區塊 blob 儲存體帳戶Block blob storage accounts

區塊 blob 儲存體帳戶是特殊的儲存體帳戶, 可將非結構化物件資料儲存為區塊 blob。A block blob storage account is a specialized storage account for storing unstructured object data as block blobs. 此儲存體帳戶類型支援區塊 blob 和附加 blob, 但不支援分頁 blob、資料表或佇列。This storage account type supports block blobs and append blobs, but not page blobs, tables or queues.

相較于一般用途 v2 和 blob 儲存體帳戶, 區塊 blob 儲存體帳戶提供低和一致的延遲, 以及更高的交易速率。Compared with general-purpose v2 and blob storage accounts, block blob storage accounts provide low and consistent latency, and higher transaction rates.

區塊 blob 儲存體帳戶目前不支援對經常性、非經常性或封存存取層進行分層。Block blob storage accounts do not currently support tiering to hot, cool, or archive access tiers.

FileStorage 儲存體帳戶FileStorage storage accounts

FileStorage 儲存體帳戶是特殊的儲存體帳戶, 用來儲存和建立 premium 檔案共用。A FileStorage storage account is a specialized storage account used to store and create premium file shares. FileStorage 儲存體帳戶提供獨特的效能專用特性, 例如 IOPS 高載。FileStorage storage accounts offer unique performance dedicated characteristics such as IOPS bursting. 如需這些特性的詳細資訊, 請參閱檔規劃指南的檔案共用效能層一節。For more information on these characteristics, see the File share performance tiers section of the Files planning guide.

儲存體帳戶命名Naming storage accounts

為您的儲存體帳戶命名時,請記住這些規則:When naming your storage account, keep these rules in mind:

  • 儲存體帳戶名稱必須介於 3 到 24 個字元的長度,而且只能包含數字和小寫字母。Storage account names must be between 3 and 24 characters in length and may contain numbers and lowercase letters only.
  • 儲存體帳戶名稱必須在 Azure 中是獨一無二的。Your storage account name must be unique within Azure. 任兩個儲存體帳戶名稱不得相同。No two storage accounts can have the same name.

效能層級Performance tiers

可以針對下列任一效能層級設定一般用途儲存體帳戶:General-purpose storage accounts may be configured for either of the following performance tiers:

  • 標準效能層可供儲存 Blob、檔案、資料表、佇列和 Azure 虛擬機器磁碟。A standard performance tier for storing blobs, files, tables, queues, and Azure virtual machine disks.
  • 進階效能層僅供儲存非受控虛擬機器磁碟。A premium performance tier for storing unmanaged virtual machine disks only.

區塊 blob 儲存體帳戶會提供高階效能層來儲存區塊 blob 和附加 blob。Block blob storage accounts provide a premium performance tier for storing block blobs and append blobs.

FileStorage 儲存體帳戶可提供 Azure 檔案共用的 premium 效能層級。FileStorage storage accounts provide a premium performance tier for Azure file shares.

區塊 blob 資料的存取層Access tiers for block blob data

Azure 儲存體提供不同的選項,以便根據使用量模式來存取區塊 blob 資料。Azure Storage provides different options for accessing block blob data based on usage patterns. Azure 儲存體中的每個存取層都已針對特定的資料使用量模式最佳化。Each access tier in Azure Storage is optimized for a particular pattern of data usage. 針對您的需求選取適當的存取層,您即可以最具成本效益的方式儲存區塊 blob 資料。By selecting the right access tier for your needs, you can store your block blob data in the most cost-effective manner.

可用的存取層如下:The available access tiers are:

  • 經常性存取層,最適合用於儲存體帳戶中經常存取的物件。The Hot access tier, which is optimized for frequent access of objects in the storage account. 存取經常性存取層中的資料最符合成本效益, 而儲存成本較高。Accessing data in the hot tier is most cost-effective, while storage costs are higher. 預設會在經常性存取層中建立新的儲存體帳戶。New storage accounts are created in the hot tier by default.
  • 非經常性存取層,最適合用於儲存不常存取且至少儲存 30 天的大量資料。The Cool access tier, which is optimized for storing large amounts of data that is infrequently accessed and stored for at least 30 days. 在非經常性存取層中儲存資料更符合成本效益, 但是存取該資料可能比存取經常性存取層中的資料更昂貴。Storing data in the cool tier is more cost-effective, but accessing that data may be more expensive than accessing data in the hot tier.
  • 封存層,只適用於個別的區塊 Blob。The Archive tier, which is available only for individual block blobs. 封存層已針對可容忍數小時的抓取延遲, 並將保留在封存層中至少180天的資料進行優化。The archive tier is optimized for data that can tolerate several hours of retrieval latency and will remain in the Archive tier for at least 180 days. 封存層是最具成本效益的資料儲存選項,但是存取該資料可能比存取經常性或非經常性存取層中的資料更為昂貴。The archive tier is the most cost-effective option for storing data, but accessing that data is more expensive than accessing data in the hot or cool tiers.

如果您的資料使用模式有變動,您可以隨時在這些存取層之間切換。If there is a change in the usage pattern of your data, you can switch between these access tiers at any time. 如需存取層的詳細資訊, 請參閱Azure Blob 儲存體: 經常性存取、非經常性存取和封存存取層For more information about access tiers, see Azure Blob storage: hot, cool, and archive access tiers.


變更現有儲存體帳戶或 Blob 的存取層可能會導致額外的費用。Changing the access tier for an existing storage account or blob may result in additional charges. 如需詳細資訊,請參閱儲存體帳戶計費小節。For more information, see the Storage account billing section.


儲存體帳戶的複寫選項包含:Replication options for a storage account include:

  • 本機-多餘儲存體 (LRS):簡單、低成本的複寫策略。Locally-redundant storage (LRS): A simple, low-cost replication strategy. 資料會在主要區域內以同步方式複寫三次。Data is replicated synchronously three times within the primary region.
  • 區域備援儲存體 (ZRS):需要高可用性的案例複寫。Zone-redundant storage (ZRS): Replication for scenarios requiring high availability. 資料會在主要區域中的三個 Azure 可用性區域之間同步複寫。Data is replicated synchronously across three Azure availability zones in the primary region.
  • 異地備援儲存體 (GRS):跨區域複寫, 以防止區域性中斷。Geo-redundant storage (GRS): Cross-regional replication to protect against regional outages. 資料會在主要區域中同步複寫三次, 然後以非同步方式複寫到次要區域。Data is replicated synchronously three times in the primary region, then replicated asynchronously to the secondary region. 如需次要區域中資料的讀取權限, 請啟用讀取權限異地多餘儲存體 (RA-GRS)。For read access to data in the secondary region, enable read-access geo-redundant storage (RA-GRS).
  • 異地區域-多餘儲存體 (切換) (預覽):針對需要高可用性和最大持久性的案例進行複寫。Geo-zone-redundant storage (GZRS) (preview): Replication for scenarios requiring both high availability and maximum durability. 資料會在主要區域中的三個 Azure 可用性區域之間同步複寫, 然後以非同步方式複寫到次要區域。Data is replicated synchronously across three Azure availability zones in the primary region, then replicated asynchronously to the secondary region. 如需次要區域中資料的讀取權限, 請啟用讀取權限異地區域-多餘儲存體 (RA-切換)。For read access to data in the secondary region, enable read-access geo-zone-redundant storage (RA-GZRS).

如需儲存體複寫的詳細資訊,請參閱 Azure 儲存體複寫For more information about storage replication, see Azure Storage replication.


您儲存體帳戶中的所有資料都會在服務端加密。All data in your storage account is encrypted on the service side. 如需加密的詳細資訊,請參閱待用資料的 Azure 儲存體服務加密For more information about encryption, see Azure Storage Service Encryption for data at rest.

儲存體帳戶端點Storage account endpoints

儲存體帳戶會在 Azure 中為您的資料提供唯一命名空間。A storage account provides a unique namespace in Azure for your data. 每個儲存在 Azure 儲存體中的物件都有一個位址,其中包含您的唯一帳戶名稱。Every object that you store in Azure Storage has an address that includes your unique account name. 帳戶名稱與 Azure 儲存體服務端點的組合會形成儲存體帳戶的端點。The combination of the account name and the Azure Storage service endpoint forms the endpoints for your storage account.

例如,如果您的一般用途儲存體帳戶名為 mystorageaccount,則該帳戶的預設端點如下:For example, if your general-purpose storage account is named mystorageaccount, then the default endpoints for that account are:

  • Blob 儲存體: storage:
  • 資料表儲存體: storage:
  • 佇列儲存體: storage:
  • Azure 檔案服務: Files:


區塊 blob 和 blob 儲存體帳戶只會公開 blob 服務端點。Block blob and blob storage accounts expose only the blob service endpoint.

用以存取儲存體帳戶中某物件的 URL,可藉由在端點後附加該物件在儲存體帳戶中的位置來建構。The URL for accessing an object in a storage account is constructed by appending the object's location in the storage account to the endpoint. 例如,blob 位址可能會有如下格式︰ example, a blob address might have this format:

您也可以將儲存體帳戶設定為使用 Blob 的自訂網域。You can also configure your storage account to use a custom domain for blobs. 如需詳細資訊,請參閱為 Azure 儲存體帳戶設定自訂網域名稱For more information, see Configure a custom domain name for your Azure Storage account.

控制帳戶資料的存取Control access to account data

根據預設,您帳戶中的資料只有帳戶擁有者 (也就是您) 可以使用。By default, the data in your account is available only to you, the account owner. 您可以控制誰可以存取您的資料,以及他們具有哪些權限。You have control over who may access your data and what permissions they have.

對您的儲存體帳戶提出的每個要求都必須經過授權。Every request made against your storage account must be authorized. 在服務層級,要求必須包含有效的「授權」標頭,其中包含服務執行前驗證要求所需的資訊。At the level of the service, the request must include a valid Authorization header, which includes all of the information necessary for the service to validate the request before executing it.

您可以使用下列任何一種方法,授與您儲存體帳戶中資料的存取權:You can grant access to the data in your storage account using any of the following approaches:

  • Azure Active Directory: 使用 Azure Active Directory (Azure AD) 認證來驗證使用者、群組或其他身分識別, 以便存取 blob 和佇列資料。Azure Active Directory: Use Azure Active Directory (Azure AD) credentials to authenticate a user, group, or other identity for access to blob and queue data. 如果身分識別驗證成功,Azure AD 會傳回一個權杖,以使用於對 Azure Blob 儲存體或佇列儲存體的要求授權。If authentication of an identity is successful, then Azure AD returns a token to use in authorizing the request to Azure Blob storage or Queue storage. 如需詳細資訊,請參閱使用 Azure Active Directory 來驗證 Azure 儲存體的存取權For more information, see Authenticate access to Azure Storage using Azure Active Directory.
  • 共用金鑰授權: 使用儲存體帳戶存取金鑰來建構一個連接字串,以便您的應用程式在執行階段用來存取 Azure 儲存體。Shared Key authorization: Use your storage account access key to construct a connection string that your application uses at runtime to access Azure Storage. 連接字串中的值用來建構會傳遞至 Azure 儲存體的「授權」標頭。The values in the connection string are used to construct the Authorization header that is passed to Azure Storage. 如需詳細資訊,請參閱設定 Azure 儲存體連接字串For more information, see Configure Azure Storage connection strings.
  • 共用存取簽章: 如果您不是使用 Azure AD 授權, 請使用共用存取簽章來委派儲存體帳戶中資源的存取權。Shared access signature: Use a shared access signature to delegate access to resources in your storage account, if you are not using Azure AD authorization. 共用存取簽章是一個權杖,可封裝在 URL 上對 Azure 儲存體的要求授權所需的資訊。A shared access signature is a token that encapsulates all of the information needed to authorize a request to Azure Storage on the URL. 您可以將儲存體資源、授與的權限,以及權限有效的間隔指定為共用存取簽章的一部分。You can specify the storage resource, the permissions granted, and the interval over which the permissions are valid as part of the shared access signature. 如需詳細資訊,請參閱使用共用存取簽章 (SAS)For more information, see Using shared access signatures (SAS).


使用 Azure AD 認證來驗證使用者或應用程式,可提供比其他授權方法更高的安全性,也更容易使用。Authenticating users or applications using Azure AD credentials provides superior security and ease of use over other means of authorization. 雖然您可以繼續使用共用金鑰授權於應用程式,但使用 Azure AD 就不需要將帳戶存取金鑰和程式碼一起儲存。While you can continue to use Shared Key authorization with your applications, using Azure AD circumvents the need to store your account access key with your code. 您也可以繼續使用共用存取簽章 (SAS) 將細部存取權授與儲存體帳戶中的資源,但 Azure AD 提供類似功能,卻不必管理 SAS 權杖或擔心需要撤銷遭盜用的 SAS。You can also continue to use shared access signatures (SAS) to grant fine-grained access to resources in your storage account, but Azure AD offers similar capabilities without the need to manage SAS tokens or worry about revoking a compromised SAS.

Microsoft 建議您在可能的情況下, 為您的 Azure 儲存體 blob 和佇列應用程式使用 Azure AD 授權。Microsoft recommends using Azure AD authorization for your Azure Storage blob and queue applications when possible.

將資料複製到儲存體帳戶中Copying data into a storage account

Microsoft 會提供一些公用程式和程式庫,以便將從內部部署儲存裝置或第三方雲端儲存體提供者匯入您的資料。Microsoft provides utilities and libraries for importing your data from on-premises storage devices or third-party cloud storage providers. 您使用的解決方案取決於您要傳送的資料數量。Which solution you use depends on the quantity of data you are transferring.

當您從一般用途 v1 或 Blob 儲存體帳戶升級至一般用途 v2 儲存體帳戶時,您的資料會自動遷移。When you upgrade to a general-purpose v2 account from a general-purpose v1 or Blob storage account, your data is automatically migrated. Microsoft 建議使用此路徑來升級您的帳戶。Microsoft recommends this pathway for upgrading your account. 不過,如果您決定將資料從一般用途 v1 帳戶移至 Blob 儲存體帳戶,您必須使用下列工具和程式庫來手動遷移您的資料。However, if you decide to move data from a general-purpose v1 account to a Blob storage account, then you'll need to migrate your data manually, using the tools and libraries described below.


AzCopy 為 Windows 命令列公用程式,可以極高效能將資料複製到 Azure 儲存體,以及從 Azure 儲存體複製資料。AzCopy is a Windows command-line utility designed for high-performance copying of data to and from Azure Storage. 您可以使用 AzCopy 將資料從現有一般用途的儲存體帳戶複製到 Blob 儲存體帳戶中,或從內部部署儲存體裝置上傳資料。You can use AzCopy to copy data into a Blob storage account from an existing general-purpose storage account, or to upload data from on-premises storage devices. 如需詳細資訊,請參閱使用 AzCopy 命令列公用程式傳輸資料For more information, see Transfer data with the AzCopy Command-Line Utility.

資料移動程式庫Data movement library

適用於 .NET 的 Azure 儲存體資料移動程式庫是以支援 AzCopy 的核心資料移動架構為基礎。The Azure Storage data movement library for .NET is based on the core data movement framework that powers AzCopy. 此程式庫是針對類似於 AzCopy 的高效能、可靠且簡單的資料傳輸作業而設計的。The library is designed for high-performance, reliable, and easy data transfer operations similar to AzCopy. 這可讓您充分受惠於 AzCopy 在您的應用程式中以原生方式提供的功能,而無需處理 AzCopy 外部執行個體的執行和監視。You can use it to take advantage of the features provided by AzCopy in your application natively without having to deal with running and monitoring external instances of AzCopy. 如需詳細資訊,請參閱 適用於 .Net 的 Azure 儲存體資料移動程式庫For more information, see Azure Storage Data Movement Library for .Net

REST API 或用戶端程式庫REST API or client library

您可以建立自訂應用程式,以使用其中一個 Azure 用戶端程式庫或 Azure 儲存體服務 REST API,將您的資料移轉至 Blob 儲存體帳戶。You can create a custom application to migrate your data into a Blob storage account using one of the Azure client libraries or the Azure storage services REST API. Azure 儲存體針對以下多種語言和平台提供豐富的用戶端程式庫:例如 .NET、Java、C++、Node.JS、PHP、Ruby 和 Python。Azure Storage provides rich client libraries for multiple languages and platforms like .NET, Java, C++, Node.JS, PHP, Ruby, and Python. 這些用戶端程式庫提供多種進階功能,例如大重試邏輯、記錄與並行上傳等等。The client libraries offer advanced capabilities such as retry logic, logging, and parallel uploads. 您也可以直接透過 REST API 開發,它可以透過提出 HTTP/HTTPS 要求的任何語言進行呼叫。You can also develop directly against the REST API, which can be called by any language that makes HTTP/HTTPS requests.

如需 Azure 儲存體 REST API 的詳細資訊,請參閱 Azure 儲存體服務 REST API 參考For more information about the Azure Storage REST API, see Azure Storage Services REST API Reference.


使用用戶端加密來加密的 Blob 會儲存 Blob 加密相關中繼資料。Blobs encrypted using client-side encryption store encryption-related metadata with the blob. 如果您複製使用用戶端加密來加密的 blob,請確定複製作業會保留 blob 中繼資料,特別是加密相關中繼資料。If you copy a blob that is encrypted with client-side encryption, ensure that the copy operation preserves the blob metadata, and especially the encryption-related metadata. 如果您複製不含加密中繼資料的 Blob,便無法再次擷取 Blob 內容。If you copy a blob without the encryption metadata, the blob content cannot be retrieved again. 若想進一步了解與加密有關的中繼資料,請參閱 Azure 儲存體用戶端加密For more information regarding encryption-related metadata, see Azure Storage Client-Side Encryption.

Azure 匯入/匯出服務Azure Import/Export service

如果您有大量資料要匯入至儲存體帳戶,請考慮 Azure 匯入/匯出服務。If you have a large amount of data to import to your storage account, consider the Azure Import/Export service. 匯入/匯出服務可用來將硬碟運送到 Azure 資料中心,安全地將大量資料匯入 Azure Blob 儲存體和 Azure 檔案服務中。The Import/Export service is used to securely import large amounts of data to Azure Blob storage and Azure Files by shipping disk drives to an Azure datacenter.

匯入/匯出服務也能用來將資料從 Azure Blob 儲存體傳輸到磁碟機,然後運送到您的內部部署網站。The Import/Export service can also be used to transfer data from Azure Blob storage to disk drives and ship to your on-premises sites. 來自一或多個磁碟機的資料可匯入 Azure Blob 儲存體或 Azure 檔案服務中。Data from one or more disk drives can be imported either to Azure Blob storage or Azure Files. 如需詳細資訊,請參閱什麼是 Azure 匯入/匯出服務?For more information, see What is Azure Import/Export service?.

儲存體帳戶計費Storage account billing

我們會根據您的儲存體帳戶使用量對「Azure 儲存體」計費。You are billed for Azure Storage based on your storage account usage. 儲存體帳戶中的所有物件會做為群組共同計費。All objects in a storage account are billed together as a group.

計算儲存體成本時會根據下列因素:區域/位置、帳戶類型、存取層、儲存體容量、複寫配置、儲存體交易及資料輸出。Storage costs are calculated according to the following factors: region/location, account type, access tier, storage capacity, replication scheme, storage transactions, and data egress.

  • 「區域」 係指您帳戶所在的地理區域。Region refers to the geographical region in which your account is based.
  • 「帳戶類型」 係指您目前使用的儲存體帳戶類型。Account type refers to the type of storage account you are using.
  • 「存取層」 係指您已為一般用途 v2 或 Blob 儲存體帳戶指定的資料使用模式。Access tier refers to the data usage pattern you have specified for your general-purpose v2 or Blob storage account.
  • 儲存體「容量」 係指您用於儲存資料的儲存體帳戶配額。Storage Capacity refers to how much of your storage account allotment you are using to store data.
  • 「複寫」 會決定一次維護多少個資料複本,以及在哪些位置維護。Replication determines how many copies of your data are maintained at one time, and in what locations.
  • 「交易」 係指對「Azure 儲存體」進行的所有讀取和寫入作業。Transactions refer to all read and write operations to Azure Storage.
  • 「資料輸出」 係指從 Azure 區域傳出的任何資料。Data egress refers to any data transferred out of an Azure region. 當您儲存體帳戶中的資料受不同區域中執行的應用程式存取時,您需負擔資料輸出的費用。When the data in your storage account is accessed by an application that is not running in the same region, you are charged for data egress. 如需了解如何使用資源群組來將您的資料和服務聚集在相同區域以限制輸出費用,請參閱什麼是 Azure 資源群組?For information about using resource groups to group your data and services in the same region to limit egress charges, see What is an Azure resource group?.

Azure 儲存體價格 頁面提供了以帳戶類型、儲存體容量、複寫和交易為基礎的詳細價格資訊。The Azure Storage Pricing page provides detailed pricing information based on account type, storage capacity, replication, and transactions. 資料傳輸定價詳細資料 則提供了出口流量的詳細定價資訊。The Data Transfers Pricing Details provides detailed pricing information for data egress. 您可以使用 Azure 儲存體定價計算機 ,以協助消除成本。You can use the Azure Storage Pricing Calculator to help estimate your costs.

後續步驟Next steps