如何访问GCE VM实例的控制台? [英] How do you access the console of a GCE VM instance?

查看:202
本文介绍了如何访问GCE VM实例的控制台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何访问Google Compute Engine VM实例的控制台?

How can I access the console of a Google Compute Engine VM instance?

推荐答案

没有控制台访问运行命令即读写),但您可以通过以下方法查看控制台输出(只读):

There's no console access to run commands (i.e., read-write), but you can see the console output (read-only) via the following methods:

  • Web UI via Developers Console – on the instance detail page, scroll to the bottom of the page and expand the console output view
  • CLI via gcloud compute instances get-serial-port-output
  • API via getSerialPortOutput

这篇关于如何访问GCE VM实例的控制台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆