Uploadthing and S3

Hi, I would like to ask one question and one problem that I probably don't understand much. I'm making a website and I'm deciding between S3 and uploadthing, if I understood correctly so through uploadthing for 10$ I can have 100GB storage and I don't pay for any requests (GET, POST...). Unlike S3 where I pay both for storage and for the number of requests made. I'm making a website that will be visited by about 8k people a month and I need somewhere on the third party to upload about 70 images and some PDFs so they can edit it themselves through the admin panel.
Could I ask your advice or what you would do? Or how it is and if I understand it well?
3 Replies
Matvey
Matvey5mo ago
Uploadthing is based on S3, so S3 will be cheaper. Uploadthing uses presigned urls so your users upload files directly to S3, instead of doing it though your backend. Configuring S3 and making sure there are no security vularabilities can take a lot of time. With uploadthing, you can just copy configuration and components from their docs and you have uploads done in no time, and their SDK is much nicer to work with, but you pay a little premium for this. In situation like yours where you don't have a lot of files, but have a lot of reads and writes, uploadthing might be cheaper, but Theo said if there will be a lot of users like this they will have to change the pricing, because they can't run uploadthing at a loss.
D4rzk
D4rzkOP5mo ago
So if you were me, what would you do? Would you use S3 or uploadthing? I still don't quite understand how the price of the S3 is calculated... Could you confirm then that it is like this: https://chatgpt.com/share/965a07a1-05ba-4c68-b2a1-8b5e3b22ca66 ? I'm sorry, but I really don't get it and I must have something wrong because $50 (max) to $10?
JulieCezar
JulieCezar5mo ago
AWS starts off as cheap because of their generous free tier. However, when you start having more data/more traffic it spikes exponentially. This is mostly due to bandwidth. UploadThing makes you not think about bandwidth. You pay 10$, you get 200GB or w/e it is, and that's it. Regarding the AWS 50$ cost, it's incorrect. With this little traffic and storage, the free tier will cover most of it. Using the AWS calculator with the numbers chatgpt gave you I got an estimated 1$/month. Check out https://calculator.aws/#/createCalculator/S3
AWS Pricing Calculator
AWS Pricing Calculator lets you explore AWS services, and create an estimate for the cost of your use cases on AWS.
Want results from more Discord servers?
Add your server