Hey, i'm planning to change the storage from local to S3, tho i have some questions to see before starting the migration.
- Does all the
/storage/<storage_type>will be migrated to S3 ? - How does the S3 path looks like ? is it like
<bucket>/<storage_type>/<files>or something else ? (since the getDevice root isAPP_STORAGE_UPLOADS = '/storage/uploads'could it be<bucket>/storage/<storage_type>/<files>?) - Do you use ACL requests ? since i'm planning to use garageHQ, they don't have ACL/Policies endpoints (see https://garagehq.deuxfleurs.fr/documentation/reference-manual/s3-compatibility/)
- Do you use public facing object ? or for public / get objects you use a presign ? as garage don't allow public access for now, but allow presign requests
also, i don't use minio because the opensource part is now deprecated, and they want us to use AlStor instead
Also looking at the executor i guess it's the same, just the envs are :
- OPR_EXECUTOR_STORAGE_DEVICE=$_APP_STORAGE_DEVICE
- OPR_EXECUTOR_STORAGE_S3_ACCESS_KEY=$_APP_STORAGE_S3_ACCESS_KEY
- OPR_EXECUTOR_STORAGE_S3_SECRET=$_APP_STORAGE_S3_SECRET
- OPR_EXECUTOR_STORAGE_S3_REGION=$_APP_STORAGE_S3_REGION
- OPR_EXECUTOR_STORAGE_S3_BUCKET=$_APP_STORAGE_S3_BUCKET
- OPR_EXECUTOR_STORAGE_S3_ENDPOINT=$_APP_STORAGE_S3_ENDPOINT
and i also need to keep the /tmp volume for the runtimes to access the data from the executor if i'm not wrong
up
up ? it's basicly the last service to migrate on my cluster ...
- If you mean that all the previous data will be moved from local to S3 automatically, nope
- Not sure, but it should be similar to the local volume.
- Afaik not, it just has full access.
- No, everything goes and is served through the Appwrite instance
thanks for your reply, for the first one i meant, does all the folders under the /storage path (basicly all shared volumes) need to be migrated to S3 ?
If you have existing data yes. Make sure to have a backup before proceeding
Recommended threads
- sh: vite: Permission denied
When installing the vue starter template as site and then adding DaisyUI, i get the error `sh: vite: Permission denied`. I also got this issue (with a fresh tem...
- Clean install of 1.9.0 shows errors in a...
I just run a full clean install of Appwrite on my server following the Manual installation guide in the docs page. The console seems to work, visually there d...
- Setup custom domain on selfhosted behind...
Hello everyone, can anyone help me to setup a custom domain on a selfhosted appwrite instance thats running behind cloudflare tunnels? Current setup: Appwrite r...