如何在App Engine上免费运行应用程序 [英] How to run app on App Engine for free

查看:179
本文介绍了如何在App Engine上免费运行应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Google App Engine上运行一个Node.js应用程序Parse Server。我在试用期内获得300美元的免费积分。



在此页面中, https://cloud.google.com/appengine/docs/quotas ,它表示每天有28个免费的实例小时。该应用程序正在运行2个实例,根据报告,我的帐户每天要为计算引擎(G1 Small)收费48小时。



那么我怎么能从这28个免费时间中受益?

解决方案

只有当您使用一个前端实例时,每天有28个免费实例小时标准环境或运行时(python,java,php和go),而不是当您使用应用引擎的托管虚拟机时。所有托管VM环境都基于Compute Engine,并且都是可计费的。



对于nodejs应用程序,您当然使用托管虚拟机。

要享受免费的实例时间,您需要使用标准运行时

I am trying to run Parse Server, a Node.js app, on Google App Engine. And I am on trial period with $300 free credit.

From this page, https://cloud.google.com/appengine/docs/quotas, it says there is 28 free instance-hours per day. The app is running with 2 instances and, according to the report, my account is being charged for Compute Engine (G1 Small) for 48 hours everyday.

So how could I benefit from that 28 free hours?

解决方案

There are 28 free instance-hours per day for frontend instances only when you are using one of the standard environments or runtimes(python, java, php and go) and not when you're using app engine's managed VMs. All managed VM environments are based on Compute Engine and are all billable.

For a nodejs app, you're certainly using a managed VM.

To enjoy the free instance hours you'll need to use one of the standard runtimes.

这篇关于如何在App Engine上免费运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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