V
V
vista1x2019-03-11 18:50:01
Amazon Web Services
vista1x, 2019-03-11 18:50:01

What is the best way to solve the data storage issue?

I will describe the situation: there is a VDS with a certain number of sites on it. My tariff assumes 40 GB SSD, the rest of the resources are not important now. The fact is that there is less and less free memory, so one day the moment will come when you will need to buy more gigabytes. And this memory is not very cheap, so the question arises - how else can storage be implemented?

Almost all projects on the hosting are made on Laravel, all more or less heavy files within the project (pictures, etc.) are stored in a separate user-resources folder. What are the options? Where can I merge all this data, while having quick access to it and (importantly) minimally affecting the code of all projects?

I know about Laravel's native support for Amazon S3, but since I've never used it, I don't know how optimal it will be in terms of speed, server load, etc.

I would be glad to hear about the options that you yourself use, the pros and cons , the complexity of implementation.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan Shumov, 2019-03-11
@inoise

AWS S3 is a great solution, but there are a lot of nuances that you need to know because:
1. You need to download quickly
2. You need to upload quickly
3. You must not sell a kidney every month for data storage)

P
Puma Thailand, 2019-03-12
@opium

Take you to contabo.com

S
Stas911, 2019-03-13
@Stas911

S3 is very well suited for storing web application static. This is one of the main use cases. If you have files that cannot be given to everyone (for example, you have a subscription video there), then you can use S3 signed urls

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question