Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Object Storage
    • Overview
    • Bucket
    • Object
    • Bucket versioning
    • Object lock
    • Partial object updates
    • Encryption
    • Object lifecycles
    • CORS
    • Hosting static websites
    • Pre-signed URLs
    • Multipart upload
    • Access control list (ACL)
    • Bucket policy
    • Uploading files via an HTML form
    • Storage class
    • Object metadata export
    • Bucket actions logging mechanism
    • Backups
    • TLS protocol
    • Labels
    • S3 Select query language
    • Quotas and limits
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Bucket logs
  • Release notes
  • FAQ
  1. Concepts
  2. Object lifecycles

Bucket object lifecycles

Written by
Yandex Cloud
Updated at July 31, 2026
View in Markdown

With object lifecycles, you can configure automatic actions on individual objects or groups of objects in a bucket at specified points in time.

Note

In buckets with logging enabled, actions performed on objects as part of the object lifecycle are not logged.

Types of actions include:

  • Change the storage class of objects or their non-current versions to a colder one. You can configure the change to the ICE class using the Yandex Cloud CLI, AWS CLI, Terraform, and the API.

    Warning

    Changing the storage class for already uploaded objects is charged as a TRANSITION operation. For more information, refer to Data operations in the Object Storage pricing policy.

  • Delete objects or their non-current versions.

  • Delete incomplete multipart uploads.

  • Delete non-current delete markers (only using the Yandex Cloud CLI, Yandex Cloud REST, and Yandex Cloud gRPC).

Tip

If you do not want to configure lifecycle rules manually, use INTELLIGENT_TIERING storage that automatically optimizes costs by moving objects across access tiers based on access frequency.

Filters for grouping objects include:

  • Object key prefix.
  • Minimum or maximum object size.
  • Object label; unavailable in the management console.
  • AND logical operator that allows you to group objects using a combination of multiple filters.

You can only specify one filter per lifecycle rule. To specify more than one filter type for a lifecycle at a time, use the logical AND. For more information, see Lifecycle configuration.

If you use the S3 API, specify the lifecycle configuration in XML format. Various tools with the S3 API support may require other configuration formats. The AWS CLI, for example, uses the JSON format.

You can only configure object lifecycles for each individual bucket, not for a bucket group, folder, or cloud.

Object lifecycles are updated daily at 00:00 UTC. This operation takes a few hours to complete.

Useful linksUseful links

  • Managing bucket object lifecycles

The non-current object version that has been deleted gets marked by a non-current delete marker (NoncurrentDeleteMarker). This happens when a new object version is loaded on top of a deleted one. In which case the object becomes available again, and the marker which used to mark the deleted version moves to the version history.

Was the article helpful?

Previous
Encryption
Next
CORS
© 2026 Direct Cursus Technology L.L.C.