Azure blob storage early deletion

takuya.takayama 21 評価のポイント
2024-01-24T06:52:34.7033333+00:00

I want to synchronize my files into Azure Blob Storage Cool Tier. My question is when files in my local are modified and synchronized to Azure Blob, will it incur early deletion fee cost if the files has not stay for at least 30 days? How can I check the early deletion fee in the cost analysis because I can not find items related to this fee?

  • I set the default tier for the storage account to Cool tier, so basically any new files supposedly to be in Cool Tier if there is not tier explicitly stated
  • When syncing modified files, will the original file be deleted and replaced with the modified file? Or the mechanism running under the hood is different?
  • How can I check the early deletion fees incurred on my account? I already tried some test on deleting files on cool and cold tier but could not find the specific item in the cost analysis that has relation with the early deletion fee.
0 件のコメント コメントはありません
{count} 件の投票

1 件の回答

並べ替え方法: 最も役に立つ
  1. Aki Nishikawa 635 評価のポイント Microsoft 社員
    2024-04-22T14:59:01.6133333+00:00

    Hello @takuya.takayama , sorry for delayed response.

    In case of cool, cold, and archive storage tiers, blobs must remain in Cool tier for at least 30 days, in Cold tier for at least 90 days, and in Archive tier for a minimum of 180 days. If you delete/update the blob or change the blob tier before that, you will be charged the prorated early deletion fee which is equivalent to the cost of storage for the remaining days.

    Blobs are subject to an early deletion penalty if they are deleted, overwritten or moved to a different tier before the minimum number of days required by the tier have transpired. For example, a blob in the cool tier in a general-purpose v2 account is subject to an early deletion penalty if it's deleted or moved to a different tier before 30 days has elapsed. For a blob in the cold tier, the deletion penalty applies if it's deleted or moved to a different tier before 90 days has elapsed. This charge is prorated. For example, if a blob is moved to the cool tier and then deleted after 21 days, you'll be charged an early deletion fee equivalent to 9 (30 minus 21) days of storing that blob in the cool tier. Early deletion charges also occur if the entire object is rewritten through any operation (i.e. Put Blob, Put Block List, or Copy Blob) within the specified time window. https://learn.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview#online-access-tiers

    Let me answer your queries...

    When syncing modified files, will the original file be deleted and replaced with the modified file? Or the mechanism running under the hood is different?

    The following REST API reference says that the original object is overwritten.

    When you update an existing block blob, you overwrite any existing metadata on the blob. The content of the existing blob is overwritten with the content of the new blob. https://learn.microsoft.com/en-us/rest/api/storageservices/put-blob

    How can I check the early deletion fees incurred on my account?

    Could I ask you to raise a service request to consult support team?

    0 件のコメント コメントはありません