Cloud Drive S3: Amazon S3, Cloudflare R2, Wasabi, MinIO Storage for Odoo Attachments
by Viyug Infotech https://viyuginfotech.com$ 184.08

Odoo attachments in your own S3 bucket.
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.
Any S3 API MD5 + multipart Presigned links
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Object storage is the cheapest place for documents
S3-compatible storage costs a fraction of database disk, scales without limits and is easy to back up. What was missing is a clean way to file Odoo documents there.
Before
- Filestore on expensive disk
- Files dumped in one flat bucket
- Big uploads restart from zero
- Every download passes through Odoo
After
- 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
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.
What you get
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.
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| AWS S3, Google Cloud, R2, Wasabi, B2, MinIO | Yes | Often AWS only |
| Works without boto3 | Yes | No |
| MD5 / read-back verification | Yes | No |
| Resumable multipart upload | Yes | No |
| Presigned direct downloads | Yes | Sometimes |
| Folder rules, two-way sync, explorer (engine) | Yes | Rarely |
Setup in 5 steps
Install Cloud Drive S3 (Cloud Drive is installed with it).
Create a bucket and an access key in your provider.
Cloud Drive > Configuration > Connect a drive > S3-compatible.
Pick the records whose files go to the bucket.
Send the existing files and watch the health dashboard.
User guide
A step-by-step PDF guide with real screenshots: one guide for the whole Cloud Drive family, with every menu, the setup and each screen in the order you use them.
What is inside
- The apps, what each needs, the menus
- Connect a drive and move the files
- Working with files from Odoo and the drive
- Share links and partner uploads
- Product images from a drive folder
- Cloud Drive questions
- Amazon S3 and S3-compatible storage
- SFTP server or NAS
- Google Drive
- Dropbox
- WebDAV and Nextcloud
- OneDrive and SharePoint
- Odoo Documents sync
- Database backups
Open it in your browser:
viyuginfotech.com/guide/viyug_cloud_drive_s3
Scan to open the guide
PDF with screenshots, opens on your phone
Workflow walkthrough
Step by step through a real run. Real screens, fictional company, customers and documents.
Connect 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.

Tested 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.

In 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.

One 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.

Every 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.

Direct 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.

What you need
This app is built on Cloud Drive, another Viyug Infotech app. Odoo installs it together with this app, so you also get everything below.
Cloud Drive
Technical name viyug_cloud_drive
Moves Odoo attachments to your own drive with folder rules, two-way sync and share links.
- Folder rules per model, for example Customers/partner/year/Invoices
- Verified offload: a file leaves Odoo storage only after the drive copy is checked
- Attachments stay on the record: preview, download and email work as before
- Two-way sync of record folders into the chatter, with conflict copies
- Migration of existing files with dry run, pause, resume and retries
- File explorer and share links with expiry, password and download log



Questions
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.
Extensions
One engine, one add-on per storage. Each add-on includes Cloud Drive.
Cloud Drive
The engine: folder rules, verified offload, two-way sync, explorer, share links, queue, health. Includes local / NAS folders.
View appCloud Drive S3
AWS S3, Google Cloud Storage, Cloudflare R2, Wasabi, MinIO and any S3 API bucket.
You are hereCloud Drive OneDrive & SharePoint
OneDrive and SharePoint libraries, site picker, delta feed, Microsoft sharing links.
View appCloud Drive Documents
Two-way sync of Odoo Enterprise Documents folders with any of these drives.
View appNeed a hand?
Questions about folder rules, your storage or moving an existing filestore? Write to us and Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
- S3-compatible drives: AWS, R2, Wasabi, B2, MinIO
- Own SigV4 signing, boto3 when present
- MD5 single uploads, resumable multipart
- Presigned direct downloads
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 4537 |
| Technical Name |
viyug_cloud_drive_s3 |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module