Skip to content

Use AWS S3 on AVideo Platform

Daniel Neto edited this page Apr 15, 2025 · 6 revisions

🗂️ How to Configure the AWS_S3 Plugin

📦 What does this plugin do?

  • Uploads videos only to Amazon S3 or any S3-compatible storage provider.
  • Images and small files are stored locally.
  • A dummy 10-byte file is stored locally to maintain internal references in AVideo.

✅ Step-by-Step Setup

1. Create a Bucket

  • Log in to your S3 provider (e.g., AWS, Wasabi).
  • Go to S3 → Create bucket.
  • Choose a region (e.g., us-west-2).
  • Set the bucket name (e.g., avideo).

2. Create a User with Access

  • Go to IAM → Users → Add user.
  • Enable Programmatic access.
  • Attach the AmazonS3FullAccess policy (or similar for non-AWS).
  • Save your Access Key ID and Secret Access Key.

🔧 Plugin Configuration (in AVideo)

Go to Plugins → AWS_S3 → Edit parameters, and fill out the form:

Field Description
region Your bucket region (e.g., us-west-2)
bucket_name Name of the bucket (e.g., avideo)
key Access Key ID
secret Secret Access Key
endpoint Leave blank for Amazon S3. Use a full endpoint URL (e.g., s3.wasabisys.com) for third-party providers
profile Optional; leave blank unless using a named AWS CLI profile
useS3DirectLink Recommended: check this to enable direct S3 access
presignedRequestSecondsTimeout Default: 43200 (12 hours)
CDN_Link Optional: add CDN URL if you're using CloudFront or similar
makeMyFilesPublicRead Optional: check to make uploaded videos public

After filling it out, click Save changes.


🧪 Test the Connection

You’ll see these test buttons beside the plugin:

  • Upload to S3 – Uploads a test file
  • 📥 Download from S3 – Downloads a test file
  • 🧪 Upload Test – Full test (upload & download)

🔁 For Non-AWS S3 Providers

If using Wasabi, Backblaze, or others:

  • You must set the endpoint field (e.g., s3.wasabisys.com)
  • All other fields work the same

See detailed Wasabi instructions here:
👉 How do I use the AWS S3 plugin with Wasabi

Clone this wiki locally