Google 来自计算引擎的云平台免费套餐限制

Google cloud platform free tier limits from compute engine

在GCP中,创建资源高于免费层限制的虚拟机时不会收到通知。通知中出现以下模式的错误消息。那么,Google 云平台虚拟机的最大允许资源是多少?

Create VM instance "instance-2" and its boot disk "instance-2" Quota 'C2_CPUS' exceeded. Limit: 0.0 in region asia-south1.

您可以在文档中找到更多信息 Google Cloud Free Tier:

The Google Cloud Free Tier has two parts:

12-month, 0 free trial 部分,您可以找到 计划覆盖范围 详细信息:

Your free trial credit applies to all Google Cloud resources, with the following exceptions:

  • You can't have more than 8 cores (or virtual CPUs) running at the same time.
  • You can't add GPUs to your VM instances.
  • You can't request a quota increase. For an overview of Compute Engine quotas, see Resource quotas.
  • You can't create VM instances that are based on Windows Server images.

You must upgrade your account to perform any of the actions in the preceding list.

此外,看看 End of the free trial:

The free trial ends when you use all of your credit, or after 12 months, whichever happens first. At that time, the following conditions apply:

  • You must upgrade to a paid account to continue using Google Cloud.
  • All resources you created during the trial are stopped.
  • Any data you stored in Compute Engine is lost.
  • Your account enters a 30-day grace period, during which you can recover resources and data you stored in any Google Cloud services during the trial period.
  • You might receive a message stating that your account has been canceled, which only indicates that your account has been suspended to prevent charges.

并在 Recovering data

Caution: There is no automated way to recover data that you used on VM instances you created with Compute Engine. You must manually export any data that you want to keep from your Compute Engine VM instances before the trial period ends.

我建议您在免费试用结束前upgrade your account

免费试用期结束后,您只需注册一张信用卡即可继续使用他们的服务if/when您会向他们收取费用。如果设置正确,它可能会不时向您收取 0.02 美分。我刚刚用 wordpress 设置了我的第一个,起初我会收取 0.02 美分/月的费用,但是一旦我更新了软件和配置,它就很少向我收费了。 p.s。我很快就开始尝试破解。

documentation中所写:

Compute Engine
1 non-preemptible e2-micro VM instance per month in one of the following US regions:.

  • Oregon: us-west1
  • Iowa: us-central1
  • South Carolina: us-east1

30 GB-months HDD. 5 GB-month snapshot storage in the following regions:.

  • Oregon: us-west1
  • Iowa: us-central1
  • South Carolina: us-east1
  • Taiwan: asia-east1
  • Belgium: europe-west1

1 GB network egress from North America to all region destinations (excluding China and Australia) per month Your Free Tier e2-micro instance limit is by time, not by instance. Each month, eligible use of all of your e2-micro instances is free until you have used a number of hours equal to the total hours in the current month. Usage calculations are combined across the supported regions.

  • Google Cloud Free Tier does not include external IP addresses.
  • Compute Engine offers discounts for sustained use of virtual machines. Your Free Tier use doesn't factor into sustained use.
  • GPUs and TPUs are not included in the Free Tier offer. You are always charged for GPUs and TPUs that you add to VM instances.

注意:这可能会发生变化,请查看 link 以获取最新信息。


创建免费实例的分步指南:

创建实例

现在去 https://console.cloud.google.com/compute/instancesAdd

创建实例
  • 地区:us-east1 或文档中指示的地区之一。
  • Select 通用 -> N2 -> e2-micro。您将看到“您本月前 744 小时的 e2-micro 实例使用是免费的”
  • Select 启动磁盘 -> public 映像 -> ubuntu -> 20.04LS -> 启动磁盘类型:标准永久磁盘 (HDD) -> 大小 30gb(或作为根据文档)
  • 允许 http 和 https 流量(如果您不打算使用端口 80 和 443,则不要选中这些框)
  • 点击创建

您可以检查“查看结算报告”以确保您做对了。