Learn
Object storage, explained
Short, practical answers to the questions that come up when you share files from S3, R2 or B2: public access, custom domains, expiring files and private links.
-
How to make a Cloudflare R2 bucket public
Make files in a Cloudflare R2 bucket publicly readable with a custom domain or the r2.dev Public Development URL, and fix Access Denied errors on R2 links.
-
How to make an Amazon S3 bucket public
Allow public reads on an Amazon S3 bucket: turn off the right Block Public Access settings and add a GetObject bucket policy, or serve it privately through CloudFront.
-
How to use your own domain for bucket file links
Serve files from Amazon S3, Cloudflare R2, Backblaze B2 or DigitalOcean Spaces on your own domain, like files.example.com, with HTTPS. Setup for each provider.
-
How to auto-delete files after a few days in S3, R2 and B2
Delete files automatically after a number of days in Amazon S3, Cloudflare R2 or Backblaze B2 with lifecycle rules. Dashboard steps, CLI commands and a prefix pattern.
-
How to upload Typora images to S3 or Cloudflare R2
Upload images you paste into Typora to your own Amazon S3, Cloudflare R2 or Backblaze B2 bucket automatically, with the aktar command as Typora's custom uploader.
-
How to share private S3 and R2 files with presigned URLs
Share a file from a private S3 or R2 bucket with a presigned URL that expires after up to 7 days. How presigned URLs work, CLI examples and their limits.