javascript - Install MongoDB on the same AWS EC2 instance as my existing NodeJS application? -


i'm little new hosting database mongodb , trying use cost effective, reliable method.

is advisable install mongodb database on same ec2 instance node application? if yes, how?

also, alternatives?

databases not horizontally scale-able server-size processing is. node.js application can replicated handle more requests database cannot. so, if plan have lot of load on node.js server use separate ec2 instance can use elastic load-balancer scale horizontally on go , handle higher incoming traffic.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -