Cyberduck and Mountain Duck
Cyberduck is a file browser for macOS and Windows that lets you upload, download and manage objects in chili. Mountain Duck, from the same vendor, mounts a bucket as a drive in Finder or Explorer. Both use the same connection profiles. The full guide is in the Cyberduck documentation.
Prerequisites
- a current version of Cyberduck or Mountain Duck
- a bucket, created in the chili Console, with the template
Manage files(Object Lock off, versioning on, accessRead, write and delete) - chili access keys (access key and secret key) of the IAM user
1. Choose a connection profile
chili recommends path-style addressing. By default, Cyberduck addresses S3 servers in virtual-host style, with the bucket name in the hostname. For path style, install the profile S3 (Deprecated path style requests):
- In Cyberduck, open
Preferences>Profiles. - Search for
path styleand enable the profileS3 (Deprecated path style requests). - The profile is then available in the connection dialog.
"Deprecated" refers to AWS, which no longer offers path style for new buckets. For chili, this profile is the right choice. The bundled profile S3 (HTTPS) or Amazon S3 with a custom server also works, as long as Cyberduck lists the buckets without errors.
2. Create the connection
Click Open Connection or create a bookmark.
Field | Value |
|---|---|
Connection type |
|
Server |
|
Port |
|
Access Key ID | your chili access key |
Secret Access Key | your chili secret key |
Path | optionally the bucket, for example |
If you created the bucket with georedundancy, enter s3-ch.chilistorage.com as the server. You do not need to enter a region.
3. Mountain Duck
In Mountain Duck, create a connection with the same values via New Bookmark. Install profiles here too under Preferences > Profiles. After connecting, the bucket appears as a drive. Files you save there are uploaded to chili in the background. For large amounts of data or scheduled backups, tools such as rclone are a better fit.
Bucket without Object Lock
Cyberduck and Mountain Duck do not set Object Lock retention. Create the bucket without Object Lock and with versioning, as the Manage files template does. With versioning, every overwritten or deleted file is kept as an older version. In Cyberduck you see these versions in the Info window (File > Info, Versions tab) and can restore an older version. So that older versions do not use storage indefinitely, set up a lifecycle rule for noncurrent versions.
Verify
Upload a test file, download it again and compare the contents. Overwrite the file once and check in the Versions tab that the old version is there. Downloads cost nothing on chili, because there are no egress fees.
Common pitfalls
- Error "Cannot read container configuration": Cyberduck is trying virtual-host addressing. Switch to the profile
S3 (Deprecated path style requests). - Bucket list stays empty or access is denied: the IAM user may not be allowed to list all buckets. Enter the bucket in the
Pathfield, for example/team-files. - Connection fails: enter the server without
https://and check port443. - Creating buckets in Cyberduck: create buckets in the chili Console. Only there can you choose Object Lock, versioning, georedundancy and the deletion key.