简体   繁体   English

无法访问谷歌云中的计算实例

[英]Can't access compute instance in google cloud

I can't access google cloud compute instance with ssh os login (enabled before), I can't even use console to connect to ssh.我无法使用 ssh 操作系统登录(之前启用)访问谷歌云计算实例,我什至无法使用控制台连接到 ssh。

I didn't get any response after hours of trying, my running service is stopped, when checking on info panel my cpu usage is 50%-60% but the network usage is very low.经过数小时的尝试,我没有得到任何响应,我正在运行的服务已停止,在检查信息面板时,我的 cpu 使用率为 50%-60%,但网络使用率非常低。

I tried changing region but same thing happen after 12-24 hours running.我尝试更改区域,但运行 12-24 小时后发生同样的事情。

My temporary solution is shutting down the server for couple minutes and start again我的临时解决方案是关闭服务器几分钟然后重新启动

You can check my server here http://35.197.92.158/你可以在这里查看我的服务器http://35.197.92.158/

I think you need to check the disk space of the instance using the serial console port enter here when you are not able to login using SSH.我认为当您无法使用 SSH 登录时,您需要使用串行控制台端口输入此处检查实例的磁盘空间。 If the root partition is full then this might happen.如果根分区已满,则可能会发生这种情况。 Moreover, you can follow the SSH troubleshooting doc to resolve the issue at your end.此外,您可以按照 SSH 故障排除文档来解决您的问题。

I think you need to check your firewall policy and make sure your ip is the only one alloweds to connect.我认为您需要检查您的防火墙策略并确保您的 ip 是唯一允许连接的。 Once the policy are ok, restart your instance and instantly login via ssh: check system and application log files to find out what's happening.一旦策略确定,重新启动您的实例并立即通过 ssh 登录:检查系统和应用程序日志文件以了解发生了什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM