Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

shadrix's avatar
Level 12

When to use something like aws S3?

I finished my project and I'm currently going into the production phase. It's my first big project and I'm trying to learn everything about improving the performance of a webpage. However, it overwhelms me quite a bit... (not really noob friendly)

So when and why would you use services like aws s3?

If you google for that, there obviously pages that make some couple of bucks with it for promoting it. So I cannot really trust their pros&cons.

To explain my project:

A user can sell offers and each offer contains at least one image. I'm going to use DigitalOcean (DO) as a Server. Currently, I think I would save the images with DO Spaces. (it should be the same to s3).

But I'm not quite sure, why you guys are using aws s3 but are using DO as the server.

Thanks!

0 likes
3 replies
ohffs's avatar
ohffs
Best Answer
Level 50

If you're dealing with images, then something like cloudinary might be worth a look rather than spaces/S3. The free tier might be enough for you too. It'll let you upload the image and also take care of things like resizing & optimising the images. They will also tie in with the big CDN's so your images will get served up to your users from a nearby location rather than hitting your server - maybe on the other side of the world.

I think a lot of people default to S3 as there are good, well-tested, well-documented libraries for it and it's been around a long time. DO's spaces are a bit newer and a bit simpler.

1 like
ohffs's avatar

@SHADRIX - I've never used them - but I've heard of them quite a few times without any horror stories - up to you which one you use really. I guess whichever is cheaper/easier for your app :-)

1 like

Please or to participate in this conversation.