Skip to content
AsterDriveDeveloper

Storage Backends

BackendConnector IDDeployment scopeBest forTutorial
Localasterdrive.storage.localDeployment-managedSingle machine, NAS, small teams, minimal dependenciesLocal
S3asterdrive.storage.s3Shared across Primary instancesS3-compatible object storage, external buckets, and large filesS3
Alibaba Cloud OSSasterdrive.storage.alibaba_ossShared across Primary instancesAlibaba Cloud OSS with native V4 signing, split endpoints, or CNAMEAlibaba Cloud OSS
SFTPasterdrive.storage.sftpShared across Primary instancesSSH/SFTP file servers and server-side streamingSFTP
Azure Blobasterdrive.storage.azure_blobShared across Primary instancesAzure Storage accounts and Blob containersAzure Blob
Huawei Cloud OBSasterdrive.storage.huawei_obsShared across Primary instancesHuawei Cloud OBS with native OBS signing and regional or custom-domain endpointsHuawei Cloud OBS
Tencent COSasterdrive.storage.tencent_cosShared across Primary instancesTencent COS and per-policy COS CI processingTencent COS
Remoteasterdrive.storage.remoteShared across Primary instancesObjects stored by another AsterDrive follower nodeRemote
OneDriveasterdrive.storage.onedriveShared across Primary instancesMicrosoft 365, OneDrive, SharePoint, and group drivesOneDrive
Qiniu Kodoasterdrive.storage.qiniuShared across Primary instancesQiniu Cloud Kodo S3 spaces with official endpoint diagnosticsQiniu Kodo

For multi-Primary (cluster profile) deployments, the default policy must be reachable by every Primary. local may be the default when the operator shares both the policy path and upload_temp_dir; see Storage Policies and Policy Groups.

For each backend’s direct-upload capability, capacity observation, native processing, and credential mode — plus how to choose between relay_stream and presigned — see the Storage Capability Matrix.

Prepare the backend service

Create the storage policy

Test the connection

Create or adjust policy group rules

Bind users or teams

Validate upload / download / share with a real account

Prepare the backend service

Create the storage policy

Test the connection

Create or adjust policy group rules

Bind users or teams

Validate upload / download / share with a real account

For a new backend, create a separate new policy; do not edit the old policy that is in use.

Recommended approach:

  1. Create the backend policy
  2. Create a test policy group
  3. Bind a test user or test team
  4. Run upload, download, share, delete, and restore end to end
  5. Only then migrate real users or teams to the new policy group