当前位置:首页 > 虚拟机 > 正文

如何找到创建的虚拟机


如何找到创建的虚拟机
平台
步骤


Google Cloud Platform

  1. 转到 Google Cloud Console( https://console.cloud.google.com/ )。

  2. 在左侧导航菜单中,选择“Compute Engine”>“虚拟机实例”。

  3. 您创建的虚拟机将列在列表中。


Amazon Web Services (AWS)

  1. 转到 AWS Management Console( https://console.aws.amazon.com/ )。

  2. 在搜索栏中,输入“EC2”并单击“EC2”。

  3. 单击左侧导航菜单中的“实例”。

  4. 您创建的虚拟机将列在列表中。


Microsoft Azure

  1. 转到 Azure 门户( https://portal.azure.com/ )。

  2. 在搜索栏中,输入“虚拟机”,然后单击“虚拟机”。

  3. 您创建的虚拟机将列在列表中。




如何找到创建的虚拟机(专业角度)
除了使用云控制台之外,还可以在命令行或脚本中找到创建的虚拟机。 以下是使用不同云平台的步骤:
Google Cloud Platform
gcloud compute instances list
Amazon Web Services (AWS)
aws ec2 describe-instances
Microsoft Azure
az vm list
这些命令将按名称、区域和状态列出所有创建的虚拟机。 请注意,您需要具有必要的权限才能使用这些命令。