Hetzner storage could be a good option. is quite cheap right? Why not a google service?

writen by Tiago Ferreira
I use s3 all the time for that.
You need to generate a ‘presigned url’ (s3 terminology) that you give to the browser and then the browser uploads the file there with a PUT request.
I’m almost sure Google has a similar way of doing that.
The key thing is to not use any Lambdas/Google functions but upload it directly from the browser to the store.

writen by Kirill Rogovoy
Depends on what you mean, but generally yes.
The (unique) upload link allows the user to only upload one file to a predetermined path, and it expires in a given timeframe (e.g. 1 minute)

writen by Kirill Rogovoy
So the full path is
- browser calls your api to get the link
- browser uploads the file
- one of a. browser calls your api to signal that uploading is done (I do this) b. you setup a cloud function that’s called when there’s a new file uploaded

writen by Kirill Rogovoy
That’s a good solution. That way you could also drop in another storage provider without changing much

writen by Benedikt