Vercel Storage as CDN
I was looking into using the new vercel Storage stuff as an alternative to s3 for serving 100-200 static images for a Web app. I thought blob might be right but egress seems super tight? Any experiences or suggestions? Or should I just serve images elsewhere?
8 Replies
1. Vercel blob is super expensive but has the best Dx.
2. Uploadthing would supposedly be less expensive and has the second best Dx.
3. S3 is even cheaper but has meh Dx.
4. R2 is the cheapest but has poor Dx.
I personally would go with 2 or 3.
I would argue that S3 and R2 are on the same level of DX
R2 implements the S3 API, therefore you can use existing clients with it + it's UI is actually usable (AWS sigh)
So I literally have only one folder of static assets that I can manually upload to whatever service once. DX is like no prio at all since I'm not about uploading stuff in production. Upload stuff and get links is probably fine.
So probably going S3 but will checkout R2 first
Can't you just out them to your public / assets folder
If he is using vercel that's against their policies I think
Mmmmkay, to store static images for website? Aka logo etc
That's permitted , but to use the public folder as content library to serve assets is not. I may be wrong !
So I don't see anything explicitly forbidding serving assets from public folder, but I can imagine it might run into bandwidth issue with 100GB transfer if it gets out of hand or your site gets to popullar
but might honestly be the best thing to do at the start anyway