Ведро S3,
сделано правильно.
S3-compatible API, on-the-fly image transformations, signed URLs by default, 12-region CDN. Antivirus scanning and resumable uploads included.
const { data, error } = await aura.storage.from('avatars').upload(`${user.id}/${file.name}`, file, {cacheControl: 'max-age=31536000, immutable',contentType: file.type,upsert: true,})// Automatic resumable upload if file > 6MB · 6MB chunks, auto-retry
Все, что требуется современному облачному хранилищу
S3-compatible API
AWS S3 SDK, mc (MinIO), and rclone work out of the box. Your Terraform and Ansible scripts do too.
On-the-fly transforms
Resize, format (WebP/AVIF/JPEG), quality, crop, rotate, blur. 12-region edge cache with invalidation under 200ms.
Signed URLs by default
HMAC-SHA256, anti-replay nonce, explicit TTL, forced attachment download. Zero accidental public exposure.
Resumable uploads
6MB chunks with automatic resume, resilience to network drops, granular client-side progress tracking.
Automatic malware scan
ClamAV + proprietary threat signatures. Infected files are quarantined with immediate webhook alerting.
12-region CDN
Edge cache across Europe, Americas, APAC. TLS 1.3, HTTP/3, and programmatic cache purge by tag.
От источника до рендеринга по одному URL
Преобразования — это простые параметры URL-запроса, а не внешний конвейер API. Результат: неизменяемый пограничный кэш для каждого уникального преобразования, совместимый с любой платформой.
/object/public/avatars/cover.jpg/object/public/avatars/cover.jpg?Width=240&format=avif&quality=80Сначала периферия CDN, источник как запасной вариант
Аурабаза · Супабаза · GCS
Часто задаваемые вопросы
What is the difference compared to AWS S3 + CloudFront?+
How do access policies work?+
user_id = auth.uid() оценивается по пути к файлу. В соответствии со схемой вашей базы данных, проверяемый с помощью pg_prove.How much do image transformations cost?+
Can we stream large files (video, ML model weights)?+
What about GDPR and EU data residency?+
How do I export all my data?+
Сегмент экспорта хранилища aura:* --format s3-совместимый. Создает последовательный tar.zst архив, включая метаданные и разрешения. Совместим с любым сервером S3.Одно ведро. Двенадцать регионов. Один единственный URL-адрес.
Нулевая конфигурация CDN. Лямбды преобразования нулевого изображения. Нулевая неожиданная плата за выезд.