|
|
1
1
1在需要的地区保留一个新IP。 4重新启动虚拟机 通过控制台更容易做到这一点,但需要更多的时间。如果您决定使用gcloud。您需要删除访问权限并分配新的访问权限。 删除访问权限 gcloud计算实例描述[实例名称] gcloud compute instances delete access config[实例名称]\ --访问配置名称“[访问配置名称]” 定义新的保留IP(此处指定实际的IP x.x.x.x,而不是其名称) gcloud compute instances add access config[实例名称]\ 将IP分配给VM gcloud compute instances add access config[实例名称]\ --访问配置名称“[访问配置名称]” 官方文件也有一步步。 https://cloud.google.com/compute/docs/configure-ip-addresses |
|
|
Aya Mohamed · 已启用UFW,现在无法连接到SSH 8 年前 |
|
|
Henry Chen · 使用数据流从计算引擎读取数据 8 年前 |
|
|
Gaurav Mathur · VS 2017中禁用了计算引擎选项 8 年前 |
|
|
Eyal · 无法连接到google云VM实例[已关闭] 8 年前 |
|
|
Febian Shah · 从网页执行Google计算引擎脚本? 8 年前 |
|
|
danthelion · GCE中抢占与手动关机的区别 8 年前 |
|
|
Tameem · shell脚本中的Terraform变量引用 8 年前 |