Quote from: J.Bhp on Jan 07, 2024, 02:58 AMI'm currently working on creating a website and I've been pondering the best way to store the files that will be uploaded to the site, such as images, videos, and audio. Initially, I considered storing them on the same server where the website will be hosted, in a cloud server.
However, the available storage is limited, expensive, and primarily intended for website hosting rather than file storage. Additionally, there are concerns that access may be restricted if there is extensive manipulation of files.
After some research, I looked into using S3 or Google Cloud, which offer large storage capacity. However, I discovered two potential issues. Firstly, they have the ability to automatically charge my card, which seems unconventional. Secondly, the problem lies in the distribution of files rather than their size. It appears that a high volume of GET requests could result in significant charges, with no apparent option to limit the number of requests. This raises the worry that I could end up owing a substantial amount of money if someone were to send a large number of GET requests to my site.
Another alternative I considered is purchasing a cheap NAS and setting it up at home to distribute the files, since the website is not expected to have a large number of visitors. However, this approach may require obtaining a static IP from the provider and could potentially involve other technical challenges.
The main question remains: where and how can I securely and affordably store media files for a website, considering the potential issues with cloud servers and the complexities of setting up a personal NAS?
And moreover, is there a way to prevent unexpected financial liabilities arising from high numbers of GET requests to the site? Any thoughts on this matter would be greatly appreciated.
Page created in 0.386 seconds with 15 queries.