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
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...
- Storage images using custom domain retur...
Some of the images uploaded to my storage bucket returns this error: ``` { "message": "Project with the requested ID could not be found. Please check the value...
- Bandwidth limit for your organization ha...
I received an alert that I exceeded the Free plan bandwidth limit (showing 5.86 GB), but my dashboard tells a different story. The usage stats there are much lo...