Object storage
S3-compatible storage for files, backups and static assets, kept in the zone's own data center in three copies.
How it works
- A bucket holds objects (files). You create buckets in the panel (Cloud → Object storage), with the API or with MCP; you put and read objects with any S3 tool (
aws,rclone,restic, SDKs). - An access key is what your programs use to talk S3: an id (
GK…) and a secret. Each key sees only the buckets it has been given, withread(list and download),write(upload and delete) orread_write. A key of one project can never see the buckets of another. - Every object is stored three times, on three different machines of the zone. The data stays in that zone (Zurich for
gk01). - Object storage is available where the zone offers it: if Object storage does not appear on the Cloud page, the zone you are looking at does not have it today.
Connecting
The panel shows, above the buckets, the endpoint and the region of the zone, for example:
| Endpoint | https://s3.gk01.ch |
| Region | gk01 |
| Addressing | path-style (https://s3.gk01.ch/<bucket>/<object>) |
Use the values your panel shows: they are also in storage in the answer of Cloud/getBucketList. Always set the region: requests signed for another region are refused. Path-style addressing is required (virtual-host style, <bucket>.s3.gk01.ch, is not offered).
AWS CLI
aws configure --profile gigakube # access key id, secret, region gk01
aws configure set profile.gigakube.s3.addressing_style path
aws --profile gigakube --endpoint-url https://s3.gk01.ch s3 ls
aws --profile gigakube --endpoint-url https://s3.gk01.ch s3 cp backup.tar.gz s3://my-backups/
aws --profile gigakube --endpoint-url https://s3.gk01.ch s3 sync ./site s3://my-site/
rclone
# ~/.config/rclone/rclone.conf
[gigakube]
type = s3
provider = Other
access_key_id = GK…
secret_access_key = …
endpoint = https://s3.gk01.ch
region = gk01
force_path_style = true
rclone lsd gigakube:
rclone copy ./photos gigakube:my-photos
Buckets
- Names are 3 to 63 lowercase letters, digits and dashes, starting and ending with a letter or a digit; no dots. A bucket name is unique in the whole zone, across all customers: a name somebody else already uses is refused (The bucket name … is taken).
- A project has at most 100 buckets.
- The list shows each bucket's size and number of objects (updated within a minute or so of an upload), and the keys that can use it.
- Deleting a bucket: an empty bucket is deleted at once. A bucket with objects is refused, unless you ask for force (Delete with all its objects in the panel,
force: truein the API): then all its objects are deleted first, and the bucket after them. This cannot be undone, and only the admin and owner roles can do it. The access keys stay; they just lose their access to that bucket.
Public website
A bucket can be published as a static website: every object becomes readable by anyone, at https://<bucket>.web.gk01.ch/, with index.html as the index page and error.html (if there is one) for missing pages. It is off by default; switch it on at creation or later (Public website in the panel, Cloud/setBucketWebsite). Websites are available where the zone offers them: if the switch is missing, the zone does not.
Access keys
- Created by the admin and owner roles (they are credentials, like a cluster kubeconfig). Viewers and operators see the list, never a secret.
- The secret is shown once, when the key is created: copy it then. It cannot be read again; if it is lost, delete the key and create a new one.
- Give a key access to buckets when you create it, or later per bucket (
none,read,write,read_write). Changing a key's access takes effect at once. - Deleting a key stops every program that uses it, at once. The buckets and their objects stay.
- A project has at most 50 keys. Keys do not expire, and a key cannot create buckets by itself through S3: buckets are created in the panel, with the API or with MCP, so that they are counted and charged to the right project.
- The panel's assistant does not create access keys: the secret would end up in the conversation. An API key that requires approval cannot create them either (the secret would be stored with the change request): create them from the panel, or with a key that does not need approval. Plans (
dry_run) work for everyone.
Prices
Object storage is charged by the GiB stored, per hour (object_gib, measured every minute: objects plus unfinished multipart uploads), from the zone's price list; see Billing → Your prices. Requests are free. Traffic out of buckets is not measured today, so it is not charged; when it is, it will be counted like the servers' outbound traffic, and this page will say so beforehand.
API and MCP
| What | API method | MCP tool | Role |
|---|---|---|---|
| List buckets, with size, keys and the connection details | Cloud/getBucketList |
cloud_get_bucket_list |
viewer |
| Create a bucket | Cloud/createBucket |
cloud_create_bucket |
operator |
| Switch the public website on or off | Cloud/setBucketWebsite |
cloud_set_bucket_website |
operator |
Delete a bucket (force with its objects) |
Cloud/deleteBucket |
cloud_delete_bucket |
operator; admin with force |
| List access keys (no secrets) | Cloud/getAccessKeyList |
cloud_get_access_key_list |
viewer |
| Create an access key (secret shown once) | Cloud/createAccessKey |
cloud_create_access_key |
admin |
| Set a key's access to a bucket | Cloud/setAccessKeyBucket |
cloud_set_access_key_bucket |
admin |
| Delete an access key | Cloud/deleteAccessKey |
cloud_delete_access_key |
admin |
Every method that changes something takes dry_run: true and answers with the plan instead (Plans and change requests). Example with an API key:
curl -s https://gigakube.ch/api/rpc \
-H "Authorization: Bearer $GIGAKUBE_API_KEY" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"Cloud/createBucket","params":{"call_data":{"name":"my-backups"}}}'
curl -s https://gigakube.ch/api/rpc \
-H "Authorization: Bearer $GIGAKUBE_API_KEY" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"Cloud/createAccessKey","params":{"call_data":{"name":"backup","buckets":[{"bucket":"my-backups","access":"read_write"}]}}}'
Not available today
- Object versioning, object lock, CORS and lifecycle rules (expiry) cannot be set.
- One region per zone: a bucket lives in the zone where it is created and is not copied to other zones.