简体   繁体   English

为了停止每月付款,是否可以禁用Heroku托管的Ruby on Rails应用一段时间?

[英]Any way to disable Ruby on Rails app hosted by Heroku for a while in order to stop monthly payments?

I've got a website I created using Ruby on Rails and DNSimple hosting/management, deployed on Heroku. 我有一个使用Ruby on Rails和DNSimple托管/管理创建的网站,并部署在Heroku上。 Since it's still not ready for production yet and I'm paying $20 monthly for the SSL endpoint, is there any way to take it offline for a few months in order to stop being charged monthly for it, without having to configure SSL for both Heroku and DNSimple plus re-deploy again once it's ready for public use? 由于它仍未准备好投入生产,并且我每月为SSL端点支付20美元,有什么办法可以使其离线几个月以停止每月收取费用,而不必为两个Heroku配置SSL和DNSimple加上重新部署后就可以重新使用了吗? Even better would be if I could temporarily stop the DNSimple monthly payments as well ($8.00 a month) since the app won't even be hosted or running/accessed by anyone, if this is at all feasible? 更好的是,如果我可以暂时停止DNSimple每月付款(每月8.00美元),因为该应用程序甚至都不会由任何人托管或运行/访问,是否完全可行?

Heroku charge per dyno hours, there is a free tier, anything that pass that is charged, to avoid being charged by Heroku you can reduce to one 1X Dyno and no Workers or Clocks or if you wanna take down your app you can reduce to 0 dynos. 每测功小时的Heroku收费,有一个免费套餐,任何通过的收费项目,为避免被Heroku收费,您可以减少到一个1X Dyno,并且没有Workers或Clocks;或者如果您想关闭自己的应用,则可以减少到0测功机。

You can reduce in the Heroku dashboard, to do so go to http://heroku.com , login, and select your application, once on the application click in edit and reduce the number of dynos to 1 or 0. 您可以在Heroku仪表板中进行还原,为此,请转至http://heroku.com ,登录并选择您的应用程序,在该应用程序上单击“编辑”并将dynos的数量减少为1或0。

About the DNSimple you can cancel your subscription and active again when you need if you have used your trial. 关于DNSimple,如果您使用过试用版,则可以取消订阅并在需要时再次激活。 More info about cancel the DNSimple can be found here . 有关取消DNSimple的更多信息,请参见此处

或者,您可以完全禁用DNSimple并将CloudFlare( https://www.cloudflare.com )用于SSL-它们有一个免费选项。

You can scale down your dynos and web workers to 0 to avoid getting charged for them. 您可以将dynos和web worker缩减为0,以避免对其收费。 However, I think you'll still be charged for any paid addons such as SSL. 但是,我认为您仍然需要为SSL之类的任何付费插件付费。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM