Hi, how exactly the Amazon S3 adapter works? Are the files whicxh I send by Appwrite are first sent to the Appwrite storage and then sent to Amazon storage? Or go straight to Amazon?
When you send files to Appwrite, they are first sent to the Appwrite storage, and then Appwrite transfers the files to your configured Amazon S3 storage. So the files go through Appwrite before being stored in Amazon S3.
Ok. So when I want to store my files totaly on separate storage like Amazon S3, the idea with adapter is not good idea? Am i good understand?
Why not? There shouldn’t be a problem
Ok. So how can I configure it to send file to Amazon but not store them in Appwrite. When I want to delete file from Amazon it has to be also in Appwrite?
To configure it to send file to Amazon directly, you need to update the following files as shown below:
_APP_STORAGE_DEVICE=s3
_APP_STORAGE_S3_KEY=your_s3_key
_APP_STORAGE_S3_SECRET=your_s3_secret
_APP_STORAGE_S3_BUCKET=your_s3_bucket
_APP_STORAGE_S3_REGION=your_s3_region
Also, for deleting, it won't be automatically deleted from Appwrite.
Recommended threads
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Storage Chunk upload bug
Hi, I'm experiencing an issue with Appwrite Storage chunked uploads. Small files upload successfully, but larger video files that require chunking fail. For ...