The question in the title, actually. How to implement uploading files (images) to a server in the Meteor application? Deploy is planned for digital ocean.

There is a lot of scattered information in the network, but I did not find any solution.

In English, SO is advised to use amazon s3. Therefore, the second part of the question is how justified it is, if the site will function on the territory of Russia (mainly Moscow), the deployment is planned for the digital ocean.

    2 answers 2

    For uploading photos locally, I used this plugin. There is an example of use, but I didn’t implement the upload to s3 but considered using the Amazon S3 Uploader plugin

    • Thank you for your reply! You can find out why you chose to upload to the server, rather than using s3? As I understand it, in a neglected working condition, the project has only advantages from this. - Oner Ksor
    • after considering the options, management preferred local storage - kandellak
    • I meant that you probably know the pros and cons of local storage vs using a service like s3, the management had to convey information to someone. therefore, I ask to share this information, because for me now the choice is not at all obvious, due to the lack of substantive experience. thank you in advance. - Oner Ksor
    • In S3, the most important advantages are, as always, I think that there is no need to have an infrastructure for storing information in oneself and to bear the costs of maintaining it, availability always and everywhere where there is Internet, and our choice of local storage is just retrograde thinking. - kandellak

    Hello! I recommend using this package for downloading: https://github.com/VeliovGroup/Meteor-Files

    He is good. A great alternative to the currently unsupported CFS. Again, the author provides operational user support.

    As for s3, I’ll say it’s not worth considering for personal projects. Yet this repository can fly into a pretty penny.