Gigakubegigakube.ch →Menu ↓

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

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

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

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