Storage class
Object Storage allows you to store objects in storages of various classes depending on how long you want to store your objects and how often you access them. You can choose among the following options:
|
Storage class |
Access to data |
Cost |
|
|
Requests |
Data storage |
||
|
Standard |
Frequent |
|
|
|
Cold |
Rare, approximately once a month |
|
|
|
Ice |
Very rare, approximately once a year or less often |
|
|
|
Intelligent |
Hard to predict or changing |
Optimized automatically |
|
1 For STANDARD, the free tier is available.
2 Provided data is stored for no less than 12 months.
3 The cost depends on the object’s current access tier.
Colder classes are designed for the long-term storage of rarely accessed objects. With a colder storage class, it is cheaper to store data, while it becomes more expensive to read and write. Intelligent-tiering storage automatically optimizes costs by moving objects across access tiers based on access frequency.
For more information, see these examples of cost comparison in the Pricing policy section.
You can select a storage class individually for every object when uploading them.
Features of storage classes
All storage classes have the same SLA
Standard, cold, ice storage
STANDARD and COLD storage share identical technical specifications and data redundancy policies: x3 replication with one copy in each availability zone.
The performance of ICE storage may slightly differ from that of the STANDARD and COLD classes when working with object data. In other respects, you can use ICE storage in the same way as any other storage class. This is the advantage of ICE in Object Storage over other solutions, since you can access data directly for read and write operations. In other solutions purpose-built for data archiving, accessing data may take from dozens of minutes to several days. For example, AWS GlacierICE storage class enables you to operate a less complex infrastructure and reduce your costs.
Note
The minimum billable storage duration of an object in ice storage is 12 months. If you delete an object that had been in storage for less than 12 months, the balance of the storage charge will be debited after the deletion.
Intelligent-tiering storage
The INTELLIGENT_TIERING storage automatically optimizes costs by moving objects across access tiers based on access frequency. This allows you to save on storage if your data access frequency constantly varies or is hard to predict.
Unlike the lifecycles, this storage does not require manual configuration of rules and filters: you can set a default storage class for the entire bucket to automatically optimize storage properties for each object inside it. At the same time, intelligent-tiering storage not only tiers down objects, but also tiers them back up when access frequency increases.
The intelligent-tiering storage comprises FREQUENT, INFREQUENT, and ARCHIVE access tiers. The objects are moved across them based on these rules:
- New objects are uploaded to the
FREQUENTtier. FREQUENT-tier objects accessed less than 100 times per day for 30 days get automatically moved toINFREQUENT.INFREQUENT-tier objects accessed less than 100 times per day for 90 days gets automatically moved toARCHIVE.- If an object is accessed 100 times per day or more, it gets automatically restored to
FREQUENT.
Accessing an object means operations involving copying or downloading, i.e., CopyObject, GetObject, RestoreObject, and UploadPartCopy. The interface you use to perform the operation is irrelevant. For example, downloading an object via the management console and copying it using the Yandex Cloud CLI will both count as access.
The operations of uploading new object versions or partial update, i.e., PutObject and PatchObject, will have the same result as uploading a new object to the FREQUENT tier. Other operations do not affect moving the object across access tiers.
The cost of storage and operations with an object depends on what tier the object is currently on. You can learn the object's current tier by downloading its metadata.
There are separate charges for the total number of objects in the intelligent-tiering storage and the use of lifecycles to move objects to the intelligent-tiering storage. For more information, see Pricing policy.
Default storage for a bucket
If you do not specify the storage class when uploading your object, the object will be saved to the bucket’s default storage.
You can set the default storage class when creating a bucket in the management console. Afterwards, you also can change this setting for each bucket in the management console. You cannot set or change the default storage any other way. If you create a bucket not from the management console, the default standard storage is set for this bucket. You cannot set the default storage for all buckets in a folder or cloud at once.
Setting the default storage may be useful when the tool you use does not allow you to set the object storage class.
Changing an object storage class
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.
To change the storage class, you can:
-
Upload the object to Object Storage again and select the required storage class.
-
Move or copy an object specifying a new storage class.
Note
If you move an object or re-upload it with the same key, the original object will be deleted. After you delete an object that had been stored in
ICEfor less than 12 months, the balance of the storage charge will be debited after the deletion. If you copy an object without deletion, these charges will not apply. -
Configure lifecycle rules to tier down the storage class. For more information about the lifecycle rules format, see Bucket object lifecycle configuration.
Storage class IDs
If you work with Object Storage via an Amazon S3-compatible API or the tools described in Supported tools, use the following IDs for storage classes:
- Standard storage:
STANDARD. - Cold storage:
COLD,STANDARD_IA, orNEARLINE(use the last two only for uploading objects to a bucket). - Ice storage:
ICEorGLACIER(use the latter only for uploading objects to a bucket). - Intelligent-tiering storage:
INTELLIGENT_TIERING.