D
D
Dmitry Gusev2015-03-25 14:30:02
MongoDB
Dmitry Gusev, 2015-03-25 14:30:02

How to deploy to Azure on multiple VMs with shared file storage?

Hello!
There is a site with a backend on Node JS.
The base is used by MongoDB

The server can accept files and store them locally in its file system.

The task is as follows: It is
necessary to deploy the whole thing on Azure.
There will be several server instances on different virtual machines.
I plan to move the base to a separate virtual machine so that the instances can be connected to it remotely.

The problem with storing files,
tell me what is better to use on Azure for general access (read / write) to files for all created virtual machines?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Timur Shemsedinov, 2015-03-25
@illi

Azur is a really weird choice for a node, why not Digital Ocean, OVH or Hetzner? Beware of Microsoft, first you get hooked on one of their file storage services , then on an adjacent one, then another one, and so the application will gradually dissolve into Azure and transferring it somewhere else will not be possible. I do not recommend using them as hosting, and if this has already been decided, then leave the file storage as it was done, just in the file system, so it will be easier later to move wherever you want, configure NFS between computers .

A
Alexander Belotserkovsky, 2015-03-29
@ahriman

As already written by a colleague above, you need to use Azure Storage Files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question