S3 or google cloud storage ?
Hey, i am creating an ecommerce using nextjs, and i wanted to ask which one of the two services, s3 and google cloud storage should i use to store images of the website?
5 Replies
I would actually recommend DigitalOcean Spaces
or Theo's UploadThing
If you are planning to scale Google and AWS will take a lot of money on bandwidth
Cloudflare R2 might be worth looking into. There's a generous free tier, and after that the pricing is much cheaper than S3 for most use cases.
We're small scale right now and only use it for images & PDFs, but it's worked well so far.
https://developers.cloudflare.com/r2/pricing/
Pricing · Cloudflare R2 docs
R2 charges based on the total volume of data stored, along with two classes of operations on that data:
Google cloud sucks
S3 if you can get it to work or R2
More info on S3
R2 is compatible with the AWS SDK S3