如何在NodeJS和MongoDB中托管网站?费用是多少? [英] How to host website in NodeJS and MongoDB? And what will be the cost?

查看:82
本文介绍了如何在NodeJS和MongoDB中托管网站?费用是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为NodeJS&的新来者Mongo DB,我对其托管和定价了解不多.我可以自行在自己的物理服务器/计算机上托管网站吗? 还有任何托管网站都提供了配置Node JS和MongoDb的工具.

As new comer in NodeJS & Mongo DB, I don't know much about its hosting and pricing. Can I host website by self on own physical server/machine. Also is there any hosting website that provide facility to have both Node JS and MongoDb configured.

推荐答案

是的,是的,是的.

  1. 您可以自己在自己的计算机上托管它,但是除非您拥有高质量的对称互联网连接,低延迟和高带宽,否则它不会像使用托管服务那样简单高效.

  1. You can host it yourself on your own machine but it will not be as easy and efficient as using a service for hosting, unless you have a high quality symmetric internet connection with low latency and high bandwidth.

您可以使用Digital Ocean,Vultr或AWS在VPS上廉价地托管它,在这种情况下,您将必须自己配置Node和Mongo.

You can host it cheaply on a VPS using Digital Ocean, Vultr or AWS in which case you will have to configure Node and Mongo yourself.

或者您可以使用诸如Heroku的Node和Compose的Mongo之类的托管平台,在这种情况下,价格会更高,但一切都会由您照顾.

Or you can use managed platforms like Heroku for Node and Compose for Mongo in which case the price will be higher but everything will be taken care of for you.

这取决于您愿意承担的费用,无论是服务费还是配置和维护系统不同层所需的时间和专业知识.

It depends on what costs are you willing to take, both in terms of service fees and your time and expertise needed to configure and maintain different layers of the system.

至于费用是多少?" -对于1号,这将是您的ISP向您收取的费用.对于第2名,每月Digital Ocean或Vultr的费用约为5美元,有几个月免费提供促销链接( Digital Ocean Vultr ),而数字3相当于Heroku的25美元左右, $ 30每月的撰写费用.当然,还有其他可用的服务,这些只是最受欢迎的服务的例子.

As for "And what will be the cost?" - for number 1 it will be whatever your ISP is charging you. For number 2 it will be around $5 for Digital Ocean or Vultr per month with few months for free with promo links (Digital Ocean, Vultr) and with number 3 it's something like $25 for Heroku and about $30 for Compose per month. Of course there are other services available, those are just examples of the most popular ones.

有关更多信息,请参见以下答案:

See these answers for more info:

这篇关于如何在NodeJS和MongoDB中托管网站?费用是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆