An Azure service that stores unstructured data in the cloud as blobs.
Hi @Meshkat Mohammadi - welcome to the Microsoft Azure QnA.
Q1: Yes, the cost is zero. From Lifecycle management overview: “Lifecycle management policies are free of charge. Customers are billed for standard operation costs for the Set Blob Tier API calls. Delete operations are free.” That statement is not scoped by tier, so Cool and Cold are included.
Q2: No evaluation or scan charge is documented. The billing section lists exactly one chargeable operation, Set Blob Tier, and your policy does not use tiering. The only exception it names is external: “other Azure services and utilities such as Microsoft Defender for Storage might charge for operations that are managed through a lifecycle policy.” It is worth checking whether Defender for Storage is enabled on this account before you start.
Q3: The early deletion penalty is the one cost to check. From Access tiers for blob data: “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.” Cool is 30 days, Cold is 90, and the charge is prorated.
The important part is that this clock measures time in the tier, while daysAfterModificationGreaterThan measures time since last write. They are different clocks. In your timeline both clear: the rule that moved blobs to Cold stopped 6 months ago, so those are well past 90 days, and anything 240 days past modification has been in Cool far longer than 30.
Two smaller points:
- Capacity charges continue until each blob is actually deleted.
- A run across 1.05 billion blobs will not be quick. A new policy can take “up to 24 hours for changes to go into effect and for the first execution to start”, and lifecycle requests “accrue to the same limit on requests per second” as your workload, with priority given to the workload.
Last access time tracking would add a per object “other operations” charge, but your condition is based on modification time, so it does not apply here.
Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution.