Load object
There are two ways to load objects into the baket:
- easy download is available through the control panel and API. It can be used for files up to 100 MB in size. We do not recommend using Cyrillic characters in object names;
- segmented loading is only possible via Swift API и S3 API. It is recommended to use it for files larger than 100 MB. We do not recommend using Cyrillic characters in object names.
You can load any number of objects into a bucket, as long as no bucket limits are set.
Easy loading
- In the control panel, on the top menu, click Products and select S3.
- Go to the Buckets section.
- Open the baket page → Objects tab.
- Click Upload Files
- Select the objects to load.
Segmented loading
Segmented download is the downloading of objects in parts (segments), which is recommended for files larger than 100 MB.
Segmented upload is only possible via Swift API (SLO/DLO technology) and S3 API (Multipart Upload technology).The process of segmented upload depends on the API and utility used.Some API utilities (Rclone, Cyberduck) support segmented upload and automatically enable it for objects larger than a certain size.In other cases, it must be initialized manually.
With segmented loading, you can:
- load large objects with smaller segments;
- increase the speed of object loading with the help of parallel queries;
- in case of connection failures, do not reload the object, but repeat loading of only the required segments.
When a segmented object is loaded into the main bucket (<bucket_name>
), a servicebucket
is created in which the object segments will be placed:
- when loading objects via S3 API, the
bucket
is created automatically and is called<bucket_name>_s3multipartuploads
; - When loading objects via the Swift API, the bucket is created using an API or SDK utility and is called
<bucket_name>_segments
or<bucket_name>.file-segments
.
In the main bucket (<bucket_name>
) instead of an object a manifest — a file with description of segments and path to them — is downloaded. When the manifest file is downloaded, the segments are automatically substituted into the object.
By default, service bins are not displayed in the control panel in the S3 bins list — you can enable the display of service bins in the settings.
When loading objects through the API, consider the limitations of S3.Also consider the removal of segmented objects.
Reloading an object
If the name of the object being loaded is the same as the name of the object in the bucket, the behavior depends on whether versioning is enabled in the bucket:
-
if versioning is enabled:
- the new object will become the current version of the object and will be assigned a version ID;
- the previous version of the object will not be overwritten by the new one, but will be moved to the list of versions of the object with the same name;
-
if versioning is paused or disabled, the new object will overwrite the previous one.
Download speed
The speed of loading objects into buckets is affected:
- channel capacity;
- connection mode;
- download manager programs used;
- the distance between the storage servers and you;
- host load.
Tariffication
Any download method is charged for the amount of storage, the number of requests to the API and outgoing traffic.
- at simple loading the storage volume of the whole object is charged;
- in case of segmented loading, the object is stored in segments, so only segments are actually charged. The manifest file takes a minimal amount of space (a few KB), so the cost of storing an object with segments is almost the same as the cost of storing an entire object.