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
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...
- Create file is listing files instead of ...
This is a bit strange but, I cannot create files from within a funcion. I have tested with latest SDKs versions of node and python, both instead of creating the...
- Trouble Creating Database and Collection...
I’ve set up my project credentials (endpoint, project ID) and generated an API key. I’m currently focusing on creating only the database and collections (tables...