首页 > 解决方案 > 我可以将我的数据库保留在本地网络上,但将我的 rails 应用程序部署在托管服务上吗?

问题描述

我有一个当前托管在 Heroku 上的 rails 应用程序。它仅在我们的本地网络上使用,我的老板不希望第三方托管我们的数据。我说服 IT 为我设置了一个虚拟 Windows 服务器来部署我的应用程序。但是,要进行生产设置非常困难。

无论如何,我可以为我的应用程序使用托管服务,但数据库是否驻留在我们的本地网络上?

或者有没有更简单的方法在 Windows 服务器上部署 Rails 应用程序?我一直在研究使用适用于 Windows 的 Linux 子系统。

标签: ruby-on-railsdatabaseherokudeployment

解决方案


If your app is used on your local network only, why not ditch Heroku and host your Rails app locally as well? What benefit is a scalable cloud hosting provider giving you? Especially since it seems your boss has security concerns about remote hosting of a database. Bringing the entire thing in house may be the best solution.


推荐阅读