Connect Hetzner Object Storage
Hetzner Object Storage is S3-compatible storage in Germany and Finland. Its S3 keys work for every bucket in the same Hetzner project, so the safe setup is a project that holds only the bucket you connect.
Before you start
- A Hetzner account with access to the Hetzner Console.
Step by step
- In the Hetzner Console, create a new project just for this storage, for example
corehost-storage. - In that project, open Object Storage and choose Create Bucket. Pick a location (Falkenstein or Nuremberg in Germany, or Helsinki in Finland), a name that is unique across Hetzner, and private visibility.
- Go to Security, then S3 Credentials, and choose Generate credentials. Add a description such as
CoreHost. - Copy the access key and the secret key now. Hetzner says the secret key cannot be viewed again once the window is closed.
- In the CoreHost control panel, go to Your storage and add a connection. Choose Hetzner Object Storage, fill in the fields as shown below and save.
- We save the connection and test it straight away. The result is one sentence, for example "Connected. 4 folders found. We can write here." If something is wrong, it says what, such as a key that was refused or a bucket that was not found.
- Open the app that should use the storage, go to its Storage section and attach the connection. Pick the folder in your storage, the path in the app (
/mnt/storageunless the app needs another) and Read only if the app only needs to read. The folder appears in the running app within about 15 seconds, without a restart.
What to fill in
In Your storage, add a connection, choose Hetzner Object Storage and fill in these fields.
- Name
- Any name you like, for example
Hetzner bucket - Endpoint
fsn1.your-objectstorage.com,nbg1.your-objectstorage.comorhel1.your-objectstorage.com, matching the bucket location- Region
fsn1,nbg1orhel1, the same as the endpoint- Bucket
- The bucket name
- Access key ID
- The access key
- Secret access key (kept encrypted, never shown again)
- The secret key
- Folder (optional)
- Leave it empty to use the whole bucket. You pick the folder for each app when you attach it.
- Cache size (optional)
- 2, 5, 10 or 20 GiB. The default suits most apps. Pick a larger size for a media library that plays the same files again.
- Read only (optional)
- Tick it if the key or account can only read, so the test does not try to write
After you save, we never show a secret again: the panel shows only its last four characters. To change one, enter the new value. A secret you leave empty when you edit the connection keeps the stored one.
Good to know
- Hetzner says each key pair is valid for every bucket in the same project. That is why this guide uses a project of its own. If you would rather keep the bucket in an existing project, Hetzner documents bucket policies that limit a key to one bucket.
- The locations are in Europe, so they are closest to apps that run in Poland.
What your provider charges
Hetzner charges a base price per account that includes a monthly allowance of storage and egress traffic, and bills extra storage and traffic as you use it. Hetzner says ingress traffic and S3 operations are free.
Backups
Connected storage is not part of CoreHost backups, which cover the app's own data only. Back up what is in your storage with your provider. Detaching a folder or removing a connection never deletes anything in your storage. How connected storage works.
Using the folder in your app
The folder appears at /mnt/storage unless you chose another path. Point the app at it, or at a folder inside it, for example a music or audiobook library. The overview has tips for media apps and explains the cache and what happens if your storage cannot be reached.
Keep readingOther storage guides
Sources
- Hetzner Docs, Object Storage overview: locations, endpoints, pricing model, keys valid for every bucket in a project
- Hetzner Docs, Creating a bucket: Create Bucket, location, name and visibility
- Hetzner Docs, Generating S3 keys: Security, S3 Credentials, Generate credentials
- Hetzner Docs, S3 credentials FAQ: limiting a key to one bucket with a bucket policy
We checked these steps against the provider's own documentation on 2 December 2026. Consoles change, so if something here is out of date, email support@corehost.io and we will correct it. Hetzner is an independent company. CoreHost is not affiliated with Hetzner, and this page is not endorsed by it.
Put your library to work
Every new account starts with $5 of credit, no card needed. Deploy an app such as Navidrome or Audiobookshelf, then connect your storage from the control panel.