Answer the question
In order to leave comments, you need to log in
What to choose for storing a large number of images, VDS or cloud storage?
Help with advice on how to properly organize the storage of data (images) on the side.
We have: a site with 20,000+ products, each product has 5+20 photos in the gallery. Now the folder with pictures and the site itself are located together, on the same hosting. And now the folder with pictures takes up 30 GB and this is practically the limit for the shared hosting tariff. Traffic from the Russian Federation (+ CIS countries)
What solutions do I see:
1. Upload images to cloud storage.
Looked after selectel. Everything is clear (the price per GB and the price per GB of outgoing traffic) + and you can call to clarify questions, I also look towards Amazon S3 (it’s more difficult to figure out the final cost, there requests are divided into 3 types in the price section), and also no servers in Russia (how critical is this if I have traffic from the Russian Federation? Does it noticeably affect the upload speed?)
2. There are vds, now there is 15GB and every +5GB will cost 40 rubles / month, you can buy up to 100 GB (I should definitely have enough for now)
What can you say about the chosen options and, in general, about storage in the cloud? Is this standard practice for projects like this? What is the best way to organize access to pictures through a second-level domain?
As far as I understand, there is no fee for outgoing traffic here. Only payment for resources (which I am already paying, because there is another project located there). What do you think in general about the option of uploading images to vds? Is it preferable to clouds?
Answer the question
In order to leave comments, you need to log in
For an online store, your concern about hosting rates is ridiculous.
Profit on such a quantity of goods should be in the hundreds of thousands of rubles per month.
And hosting - hundreds of rubles a month.
In principle, VDS / VPS is also suitable.
However, for my online store, for reasons of unloading speed, it was done like this:
The site engine is on VDS / VPS, and the pictures on another host are in the cloud (in my case, in the Clodo.ru cloud)
1. Optimize (maximum resolution) and compress images. I think that this will immediately reduce 2/3 of the volume.
2. The best option is to expand the space on the same shared hosting. if there is no such service - write a letter, with a probability of 70-80% you will be met halfway in this matter.
I use the Selectela cloud - in general, the service is very convenient and costs reasonable money.
But there is a fly in the ointment - I would not dare to advise him on a critical project, because stability is far from ideal. Periodically something lays down for several minutes. For pet projects, this is all the same, but if a serious store is bad.
If you have pictures in the public domain, keep large ones on Yandex.Disk for 80 rubles / month / 100GB, and previews - where it is more convenient (in the same place or on the main site).
I would recommend the following option.
Hostinger has a cheap plan with unlimited space. Tariff from 180 rubles, if I'm not mistaken. I want to connect myself, but I don’t have a need so far in such a volume. This is hosting, there is ftp and everything you need.
Pictures and any static files are best moved to cloud storage or with a connected CDN. Reason: these files will load quickly around the world, because usually servers are located all over the world, which will slow down the loading speed of the site.
The advantage of using CDN: if the server with static files is unavailable, these files are given to users from the CDN cache and they will receive these files instead of an error.
Plus storage before hosting, VDS: if there is not enough space, you can easily add more.
An example of a storage in Moscow with a pluggable CDN: SkyparkCDN . The cost of 50GB storage is $8 per month + outgoing traffic from CDN servers, the cost of CDN tariffs can be found here. Upload files via FTP, SFTP or Rsync. Upload via HTTP and HTTPS. Sending files from the storage is available via the 3rd level domain. Those. support around the clock, there is a chat, email and phone for communication.
Amazon S3 has a calculator to give you an estimated cost.
I also asked myself this question and decided to upload everything to Yandex.Disk (and take it from there). Just mail for the domain - 1000 addresses - for each address on Yandex.Disk 10GB = 10TB. Right now I am writing a software to automate all this ...
vps\vds IMHO is better. time4vps.eu I'm still testing vps, about a month has passed, so far everything is fine. the prices there are low, there are vps specially for storage from 1tb to hdd, something about 200-300 rubles per month, approximately
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question