gpt4 book ai didi

node.js - AppEngine 实例小时数

转载 作者:太空宇宙 更新时间:2023-11-03 23:16:42 25 4
gpt4 key购买 nike

是否可以免费运行应用程序引擎?无论我尝试过什么,似乎都不可能,我也很困惑他们如何计算 CPU 时间。

例如,我使用的是最大实例数的Flex环境; 1、CPU; 1.

据我所知,appengine flex 每天提供 28 小时免费服务。我有非常简单的 NodeJS 管理面板,每天使用几次,而且我为此支付了 30 英镑,这简直是无稽之谈。他们如何计算时间?每天怎么吃才能超过24小时呢?通过使用多个 vCPU?为什么我的代码在没有人使用的情况下使用多个 vCPU。

我已经厌倦了各种不同的配置,但还没有取得任何进展。我检查过每次只有一个实例在运行。这里引用的是我的应用程序 yaml:

# Used to configure Google App Engine
# See https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml
# .gitignore contains the entry server/app.yaml so when this file is copied it isn't comitted to source control
runtime: nodejs
env: flex

skip_files:
- ^(.*/)?.*/node_modules/.*$

automatic_scaling:
max_num_instances: 1

resources:
cpu: 1

instance_class: F1
threadsafe: false

定价(8 天大约 8 英镑)

enter image description here

最佳答案

App Engine flexible environment不提供免费套餐。 App Engine standard environment确实提供免费套餐。看看是否Node.js standard environment适用于您的应用程序。如果没有,请考虑切换到 Compute Engine ,其中有 f1-micro instance在其免费套餐中。

关于node.js - AppEngine 实例小时数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54600324/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com