S3 object storage at hosts
Almost every cloud host offers S3 object storage: files go into a bucket over HTTP, and you pay for the gigabytes stored, requests and traffic. It does not replace the server's disk, but it is convenient for backups, website media and archives. Here is how to choose a storage service, compare it with a storage VPS and avoid losing data.
The short answer. S3 is the interface of the Amazon S3 storage service, which many hosts replicate. Use it for backups, website images and video, logs and archives: capacity is unlimited, and the storage keeps copies of the data itself. A database and files that a program modifies in place need the server's disk. Before choosing, compare three lines of the price list — storage, requests and outgoing traffic — and the list of supported features.
How S3 works
Data is kept in buckets (containers), and each file is an object with a unique key, for example backups/2026-11-16.tar.zst. There are no folders as such: a "folder" is just the part of the key before a slash. Everything works over HTTP through a REST API. According to Amazon's documentation, buckets are private by default, and after a successful write the next read immediately returns the new data.
An object cannot be changed partially — only written again. A single PUT request uploads up to 5 GB; a larger file is uploaded in parts (multipart). Amazon S3 allows up to 10,000 parts of 5 MiB to 5 GiB, and recommends this kind of upload from 100 MB. Other providers may have different limits — check their documentation.
"S3-compatible" does not mean identical
Hosts replicate the core API operations: create a bucket, write, read and delete an object, issue a link. The rest is supported selectively. For example, Hetzner states in its list of operations that it supports Object Lock and object versioning, but not static website hosting from a bucket or replication. Yandex Object Storage is compatible with the S3 API and works with AWS CLI, s3cmd and rclone. Before choosing a storage service, check the features your software needs: versioning, delete locking, lifecycle rules for removing old objects, public links.
What the bill is made of
- Storage — gigabytes per month; cold storage classes are cheaper, but may have a minimum storage period and a fee for reads.
- Outgoing traffic — downloading data from the storage to the internet. For a website that serves video, traffic can cost more than storage. There are exceptions: Cloudflare R2, under its terms, does not charge for outgoing traffic.
- Requests — writes and object listings usually cost more than reads; at R2 these are class A and class B operations. Millions of small files raise the bill for requests more than for capacity.
The accsly.io catalog has no object storage prices, so compare them using each provider's price list and calculate on your own volumes: how many gigabytes, downloads and requests per month.
S3 or a storage VPS
The alternative is a VPS with a large disk. The catalog on 16 November 2026 lists 216 VPS plans with an HDD of 1 TB or more at 65 hosts. The median price per terabyte per month is €8.03 for plans priced in euros and $10 for plans priced in dollars. Examples as recorded in the catalog: ihostart "VPS STORAGE KVM 1" — €10.69 for 5 TB, bulkvm "Storage Standard" — $10 for 5 TB, dashserv "Stor4" — €12 for 4 TB.
At large volumes a VPS is often cheaper, and traffic is usually already included in the plan. But the disk of such a server is a single machine: protection against failure (RAID, a copy elsewhere) and system updates are your job. In S3, copies within the storage are the provider's concern, and you pay only for the space used. You can also run your own S3-compatible storage on a storage VPS — for example, Garage or SeaweedFS. Selections: Storage VPS and VPS for backups.
How to connect the storage
S3 tools need four parameters: the provider's storage address (endpoint), the region, the bucket name and a key pair — an ID and a secret. For example, the Yandex Object Storage address is storage.yandexcloud.net. In AWS CLI a third-party storage is specified with the --endpoint-url parameter, in rclone with the s3 type plus the provider and endpoint. There are two ways to address a bucket: the bucket in the host name (bucket.endpoint) or in the path (endpoint/bucket); if a program cannot connect, check which style the provider requires. Keep the keys in a file with 600 permissions or in environment variables, not in the website code in Git.
Backups in S3
Backups to S3 are made, for example, with restic and rclone; in their settings you specify the storage address (endpoint), region, bucket and access keys. To stop ransomware or a mistake from deleting the backups too, enable object versioning and, if the storage supports it, Object Lock: it prevents an object from being deleted or overwritten for a set period. Give the key the server writes with access to its own bucket only and no right to delete versions. The overall strategy is described in VPS backups: strategies and tools, and the difference from disk images in Snapshots vs backups: what's the difference.
Website files and Nextcloud
Website images and video can be kept in S3 and served through a CDN, taking load off the server's disk and bandwidth. Nextcloud can use S3 as primary storage, but this should be enabled on a new installation: on an existing one, the existing files become inaccessible. Do not mount a bucket as a disk (s3fs, rclone mount) for a database: an object is rewritten in full, and there is no file locking. How disks differ from object storage is covered in File storage on a VPS: disks and object storage.
Where to keep the data
A bucket is created in a specific region, and the data stays there. If the files contain personal data of Russian citizens, the storage must be in Russia — see 152-FZ and hosting: where to store the data, and hosts with data centres in Russia are compared in the rating of VPS hosts with servers in Russia; for customers from the EU, see GDPR and choosing a host. For speed, choose a region close to the server: requests to storage in the same data centre are faster, and some providers do not charge for traffic within their network.