Skip to content
Back

I am using s3 for app storage but is it possible to keep the build function stuff to local storage?

  • 0
  • Self Hosted
  • Functions
  • Sites
  • Storage
Thrawn
28 Apr, 2026, 08:35

_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage for it

TL;DR
Developers want to store app builds locally while keeping user uploads in the cloud using s3 for app storage. They are concerned about deploying functions multiple times taking up space on the cloud. They are inquiring about setting OPR_EXECUTOR_STORAGE_DEVICE=local to achieve this. There is a recommendation against using OPR_* env variables and the _APP_STORAGE_DEVICE=s3 setting puts everything in s3, when they need to keep function builds and site locally.
Thrawn
28 Apr, 2026, 08:36

If I set this OPR_EXECUTOR_STORAGE_DEVICE=local does it work?

Chirag Aggarwal
28 Apr, 2026, 08:44

we recommend not using OPR_* env now and kind of deprecated them from executor depending on which version of executor is being used

Chirag Aggarwal
28 Apr, 2026, 08:44

any reason why you want builds to be local only?

Thrawn
28 Apr, 2026, 08:47

If i deploy functions multiple times wont it add up space on the cloud?

Thrawn
28 Apr, 2026, 08:48

I intended cloud to be only for the user uploads

Thrawn
28 Apr, 2026, 08:48

to appwrite storage buckets

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more