Storage buckets
S3-compatible buckets for the media and files of your apps and websites, with access keys, public or private, counted in your disk space.
The Storage buckets screen gives your apps and websites S3-compatible storage on your hosting server. Make a
bucket, make an access key, and point any S3 tool or library (the AWS SDKs, rclone, WordPress offload plugins,
Laravel's s3 disk and so on) at it. Files in buckets count in your account's disk space.
Where: Control Panel › Files › Storage buckets
Note: the menu shows Storage buckets only when your hosting plan includes them. The plan sets how many buckets you can make and, if your host chose to, how much they may hold together.
Make a bucket
- Type a Bucket name: 3–63 lowercase letters, numbers and hyphens, starting and ending with a letter or number
(for example
shop-media). Names are unique on the server: if a name is taken, choose another. - Tick Public: anyone may read its files if visitors should load the files straight from the bucket (images on a website, downloads). Leave it off for private files that only your app reads.
- Click Make bucket.
| Who can read | What it means |
|---|---|
| Your keys (private) | Only your access keys reach the bucket. |
| Anyone (public) | Anyone with a file's address can read that file. Nobody but your keys can list the bucket, upload or delete. |
Click Make public or Make private on a bucket's row to change it at any time.
Make an access key
- Under Access keys, type what the key is for (optional, for example
website). - Click Make access key.
- Copy the Access key and the Secret key from the card at the top.
Important: the secret key is shown only once and is not stored by the panel. If you lose it, make a new key and revoke the old one.
Every key reaches all of your buckets, and nothing else: another account's key cannot reach your buckets, and your keys cannot reach theirs. Make one key per app or website, so you can revoke one without changing the others. Click Revoke on a key's row to stop it working at once.
Connect your app
| Setting | Value |
|---|---|
| Endpoint | The address shown on the screen, for example https://s3.example.com |
| Region | us-east-1 |
| Addresses | Path-style: https://s3.example.com/<bucket>/<file> |
| Access key / Secret key | A key pair from Access keys |
Use path-style addresses. In the AWS SDKs set forcePathStyle: true (JavaScript) or
addressing_style: "path" (Python); in rclone choose the provider Other and set force_path_style = true.
A file in a public bucket can be linked to directly, for example
https://s3.example.com/shop-media/images/logo.png.
Space and limits
The screen shows how many buckets you have of your plan's number, what they hold, and how many access keys you have.
- Files in buckets count in your account's disk space, like your website files and email. When your disk space is full, uploads to buckets stop too. Disk usage lists each bucket.
- If your plan also limits what buckets may hold together, the screen shows it under Stored. When the buckets hold more, they become read-only for your keys: reading and deleting work, uploading does not, until you delete files. This is checked every night.
- An account that is suspended cannot reach its buckets, and public files are not served, until it is active again.
Delete a bucket
Click Delete on the bucket's row and confirm. The bucket and every file in it are deleted at once; this can't be undone. Its name can then be used again.
Note: your account's backups and snapshots include your buckets' files. Restore a bucket from the restore picker's Storage buckets list, or with Everything; files added since are kept.