[英]What's the actual difference between these set of commands in gcloud command-line?
I have completed a basic lab in Qwiklabs platform.我已经在 Qwiklabs 平台上完成了基础实验。 But I still don't get the difference between these set of commands.
但我仍然不明白这些命令集之间的区别。
To see what your default region and zone settings are, run the following commands:要查看您的默认区域和区域设置是什么,请运行以下命令:
gcloud config get-value compute/zone
gcloud config get-value compute/region
Identify your default region and zone确定您的默认区域和可用区
gcloud compute project-info describe --project <your_project_ID>
Google Cloud has regions, which are geographic areas. Google Cloud 有区域,即地理区域。 Within a region are zones, which are large data centers.
区域内有区域,区域是大型数据中心。 A typical region has three or more zones within a region.
一个典型的区域在一个区域内具有三个或更多区域。
As of today, there are 28 regions and 85 zones.截至今天,共有 28 个地区和 85 个专区。 In addition, there are 146.network edge locations that are important for CDNs and.network entry points into the Google Cloud.network.
此外,还有 146 个对于 CDN 和进入 Google Cloud.network 的网络入口点很重要的网络边缘位置。 Seven more regions are planned, raising the total number of regions to 35.
计划增加 7 个区域,使区域总数增加到 35 个。
When you launch a service you need to specify the zone (usually).当您启动服务时,您需要指定区域(通常)。 Some commands require specifying the region.
一些命令需要指定区域。
The CLI has variables to remember your preferred region and zone. CLI 有变量来记住您的首选区域和区域。 These options can be modified via command-line options when executing individual commands.
在执行单个命令时,可以通过命令行选项修改这些选项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.