Best practices for using S3 in Virtuozzo Hybrid Infrastructure
This section offers recommendations on how to best use the S3 feature with Virtuozzo Hybrid Infrastructure.
S3 bucket and key naming policies
It is recommended to use bucket names that comply with DNS naming conventions:
-
Must be from 3 to 63 characters long
-
Must start and end with a lowercase letter or number
-
Can contain lowercase letters, numbers, periods (.), hyphens (-), and underscores (_)
-
Can be a series of valid name parts separated by periods
An object key can be a string of any UTF-8 encoded characters, up to 1024 bytes long.
Use multipart uploads for large objects
Object storage supports uploading objects as large as 5 GB per single PUT request (5 TB via multipart upload). Upload performance can be improved by splitting large objects into pieces and uploading them concurrently (thus dividing the load between multiple OS services) with the multipart upload API.
It is recommended to use multipart uploads for objects larger than 5 MB.