Linux/Mac
S3 API Setup
Our storage uses the S3 API (like Amazon S3). You create "buckets" to store your files, which can be accessed via URL.
Install s3cmd based on your operating system.
Configure
S3cmdi. Open a terminal and run:
s3cmd --configureii. Enter the required settings when prompted. If you're not sure, press Enter to accept the default (shown in brackets
[]).
Here's what each setting means:
Access Key / Secret Key: Found on your deployment’s Details page. These act like your username/password for S3.Default Region [US]: The region where your storage is hosted.S3 Endpoint [s3.amazonaws.com]: Use the Hostname from the Details page.DNS-style bucket+hostname...: Same as the Hostname above.Encryption password: Optional. If set, your files will be encrypted before upload and decrypted on download using this password.Path to GPG program: Optional. For encrypting files locally before upload. Leave blank unless you’ve installed and use GPG for file encryption.Use HTTPS protocol [Yes]: Leave asYesfor secure transfers.HTTP Proxy server name: Optional. Only needed if you're on a restricted network (like a company or school) that requires a proxy to access the internet. Leave blank otherwise.Test access with supplied credentials? [Y/n]: Test the configuration withY.Save settings? [y/N]: Save the configuration withy.
Example output:
Using Your Storage (via S3cmd)
S3cmd)List all buckets
Create a new bucket
Note: You can verify the bucket creation by running
s3cmd lsagain, or in the UI:
Upload an object
Example:
Note: To upload a folder, use the
--recursiveflag
Example:
This will upload all the contents of the folder, not the folder itself. Also note there may be a delay before the UI shows uploaded files.
List all objects in a bucket
Example:
You can also see your bucket in the UI by clicking View on your deployment, then the Buckets tab, the clicking the bucket row (see the above screenshot example)
Download an object
Example:
Delete an object
Example:
Delete a bucket
Example:
Last updated
