Cloud Drive S3 for Odoo

Odoo attachments in your own S3 bucket.

What Cloud Drive S3 does

Connect AWS S3, Google Cloud Storage, Cloudflare R2, Wasabi, Backblaze B2, MinIO or any S3-compatible storage to Viyug Cloud Drive. Files are sent with an MD5 check, big files as resumable multipart uploads, and browsers can download moved files straight from the bucket through temporary links.

S3-compatible drive for Viyug Cloud Drive: move Odoo attachments to AWS S3, Google Cloud Storage, Cloudflare R2, Wasabi, Backblaze B2, MinIO or any S3 API bucket, folder rules, verified MD5 uploads, resumable multipart upload for big files, presigned direct downloads, two-way folder sync, no pip package needed (own AWS SigV4 signing, boto3 used when installed).

  • Any S3 API
  • MD5 + multipart
  • Presigned links

Features

  • Create a bucket and key

    In your S3 provider: a bucket and an access key with list, read, write, delete.

  • Connect in Odoo

    Endpoint, region, bucket and keys in the wizard; the test writes the root folder.

  • Files go to the bucket

    MD5-checked single uploads or multipart for big files.

  • Open as before

    Odoo or the bucket itself serves the file when a user opens it.

  • Every S3 API

    AWS (empty endpoint + region), Google Cloud Storage (HMAC key), Cloudflare R2 (region auto), Wasabi, Backblaze B2, MinIO, SeaweedFS; virtual-host or path-style URLs.

  • No extra package

    Requests are signed with AWS Signature Version 4 by the module itself. When boto3 is installed it is used automatically.

  • MD5 checked

    Files up to 8 MB are sent in one request with Content-MD5; S3 refuses a damaged upload and the ETag is compared before Odoo frees its copy.

  • Resumable multipart

    Bigger files go in 8 MB parts; the job remembers confirmed parts and continues after a failure. Read-back check at the end.

  • Presigned downloads

    Optional: users download moved files directly from the bucket with a 5-minute signed link.

  • Visible folders

    Folder markers make record folders visible in the S3 console and in tools such as Cyberduck.

Before and after

Without the app

  • Filestore on expensive disk
  • Files dumped in one flat bucket
  • Big uploads restart from zero
  • Every download passes through Odoo

With Cloud Drive S3

  • Attachments in your bucket, Odoo keeps the link
  • Prefixes per customer, year and record
  • Multipart upload resumes from the last part
  • Optional presigned links: the bucket serves the bytes

How it works, step by step

  1. 01Connect the bucket

    Connect a drive > S3-compatible: endpoint (empty for AWS), region, bucket, access key and secret, path-style for MinIO and similar. The hint lists the values for AWS, Cloudflare R2, Wasabi and MinIO.

    Cloud Drive S3: Connect the bucket
  2. 02Tested and filled

    The test reads the bucket and creates the root folder with the module's own AWS Signature V4 client (or boto3 when installed). The drive shows the files moved, megabytes freed, folders and the sync log.

    Cloud Drive S3: Tested and filled
  3. 03In the bucket: one prefix per customer

    Seen from the storage side (here the web browser of the S3 server): Riverside / Customers / Acme Corporation, Gemini Furniture ..., exactly as the folder rules define them.

    Cloud Drive S3: In the bucket: one prefix per customer
  4. 04One folder per record

    Inside the folder of a sales order: the signed quotation and delivery note uploaded by Odoo, the contract a colleague put there, and the file the customer sent through the share link.

  5. 05Every upload verified

    Drive files lists each object with how it was verified: MD5 checksum for single uploads, read back (SHA-1) for the 12 MB multipart scan. Only then was the Odoo copy freed.

  6. 06Direct downloads from the bucket

    Download mode "Direct temporary link" lets browsers fetch moved files straight from the bucket with a 5-minute presigned URL, so Odoo does not carry the bytes. Check interval, retries and deletion behaviour are set here too.

Included apps

Odoo installs these Viyug Infotech apps together with Cloud Drive S3.

Questions about Cloud Drive S3

Does it work with Google Cloud Storage?

Yes, through the S3 interoperability of Google Cloud Storage. Endpoint https://storage.googleapis.com, region as the bucket (for example me-central2), path-style URLs on, and an HMAC key (Cloud Storage > Settings > Interoperability) of a service account that can use the bucket.

Which region for Cloudflare R2?

Use region auto and the endpoint https://<account-id>.r2.cloudflarestorage.com.

Do I need boto3?

No. The module signs requests itself. If boto3 is installed it is used; the system parameter viyug_cloud_drive_s3.engine (auto / boto3 / own) can force one.

Private bucket?

Yes, keep it private. Odoo authenticates every request; presigned links expire after 5 minutes.

What rights does the key need?

ListBucket on the bucket and GetObject, PutObject, DeleteObject on its objects.

All Odoo apps

Related Odoo apps

Tell us which systems disagree. We will fix that.

Thirty minutes with an engineer, not a salesperson. You leave with a map of what you run, what to connect first and a price range, whether or not you hire us.