Encrypted before upload
Files are encrypted on your machine. Sia Storage and the storage providers only ever see encrypted data.
s3d
s3d is a self-hosted gateway that speaks the S3 API. Anything that talks to S3 can store files on Sia without changes, and every file is encrypted before it leaves your machine.
$ curl -fsSL https://sia.storage/s3d/install.sh | shWorks with
Files are encrypted on your machine. Sia Storage and the storage providers only ever see encrypted data.
Uploads and downloads go directly between s3d and 30 storage providers on the Sia network, not through our servers.
s3d buffers objects on disk and packs small ones into shared slabs before upload, so a folder of tiny files doesn't waste space.
Multipart uploads take parts of up to 5 GiB, with up to 10,000 parts per upload.
macOS, Linux, Windows, or Docker. Open source under the MIT license.
Four commands from install to a running S3 endpoint on Debian or Ubuntu.
On Debian and Ubuntu, the script adds the Sia apt repository and installs s3d as a system service. On macOS or Windows, see the other ways to install below.
$ curl -fsSL https://sia.storage/s3d/install.sh | shLink s3d to your Sia Storage account. Leave the recovery phrase blank to generate a new one, then approve the connection in your browser.
$ sudo s3d loginCreate an S3 user for your apps and an access key pair for it. The secret key is only shown once.
$ sudo s3d users create alice && sudo s3d keys create aliceThis starts s3d now and on every boot. The S3 API listens on http://localhost:8000. Use it as the endpoint in any S3 client, with the keys from the last step.
$ sudo systemctl enable --now s3dThen follow the quickstart from step 2 without sudo, and start the gateway by running s3d.
On macOS and Linux. Homebrew builds s3d from source, so the first install can take a few minutes.
$ brew install siafoundation/sia/s3dOn Debian and Ubuntu. On Ubuntu, replace debian with ubuntu in both addresses.
$ sudo install -d -m 0755 /etc/apt/keyrings$ curl -fsSL https://linux.sia.tech/debian/gpg | sudo tee /etc/apt/keyrings/siafoundation.asc > /dev/null$ echo "deb [signed-by=/etc/apt/keyrings/siafoundation.asc] https://linux.sia.tech/debian $(. /etc/os-release && echo "$VERSION_CODENAME") main" | sudo tee /etc/apt/sources.list.d/siafoundation.list$ sudo apt-get update && sudo apt-get install sia-s3dEach zip holds the s3d binary from the latest release. Unzip it, put it on your PATH, then follow the quickstart from step 2 without sudo, and start the gateway by running s3d.
Every Sia Storage account starts with 50GB free.