google-cloud-platform - Cloudshell 机器类型在 GCP 中是否相同?
问题描述
请原谅我,我是一个新手,有很多新手问题。
我在 Google 的官方文档中找不到关于 cloudshell 机器类型的信息。就我而言,我有 e2-standard-2 作为机器类型。
e2-standard-2 是为 GCP 的 cloudshell 全面配置的机器类型吗?
解决方案
正如@norbjd 所提到的,官方文档没有指定 Cloud Shell 的确切机器类型:
当您启动 Cloud Shell 时,它会预配一个运行基于 Debian 的 Linux 操作系统的 Google Compute Engine 虚拟机。
您可以通过在 Cloud Shell 中运行以下两个命令之一来验证机器类型:
wget -q -O - --header Metadata-Flavor:Google metadata/computeMetadata/v1/instance/machine-type
curl -s http://metadata.google.internal/computeMetadata/v1/instance/machine-type -H "Metadata-Flavor: Google"
由@PlainH2O 提供。
根据@JohnHanley、@PlainH2O 和@norbjd 提供的其他信息,我们可以假设免费试用帐户配置为,e2-standard-2
而付费账户配置为e2-standard-4
.
推荐阅读
- python - 使用 Python 库的问题 - Pyotodom
- android - How can I create .vcf file for a single contact?
- sql - postgresql中不同产品的打开和关闭数量查询
- python-3.x - 当我以普通用户身份使用 virtulenv 时 pip3 安装错误
- docker - 如何验证分配给 docker 容器的 cpu 限制?
- mongodb - MongoDB安装错误-INSTALL_FAILED-dbpath (C:\mongodata) 不存在
- android - 单击其中的项目时停留在导航抽屉中
- firebase - 反应原生 Firebase 身份验证
- python - 来自 Windows 客户端的 IPv6 服务器的 Paramiko ssh exec_command
- java - 如何修复java2smali中android studio的错误