如何访问GCE VM实例的控制台? [英] How do you access the console of a GCE VM instance?
本文介绍了如何访问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通过< a href =https://cloud.google.com/console =nofollow>开发人员控制台 - 在实例详细信息页上,滚动到页面底部,展开控制台输出视图 li>
- CLI通过
gcloud compute instances get-serial-port-output
- API通过
getSerialPortOutput
- 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屋!
查看全文