Tag: Google Cloud Platform

Linux:SSH 无密码连接到 Google Cloud 实例, FileZilla连接 Google Cloud, IntelliJ IDEA连接 Google Cloud, google cloud compute instance, google cloud platform

1. 通过浏览器连接到实例 直接通过网络浏览器在 Google Cloud Platform 控制台中进行 SSH 连接: In the Cloud Platform Console, go to the VM Instances page.GO TO THE VM INSTANCES PAGE In the list of virtual machine instances, click SSH in the row of the instance that you want to connect to. 通过浏览器连接到实例时需要注意一些事项。如需了解详情,请参阅通过浏览器进行 SSH 连接。   2. 通过命令行连接到实例 您可以使用 gcloud 命令行工具轻松连接到您的… Read More

Google Cloud Platform(GCP) VM 固定,静态,外部IP设定

VM建立固定IP 建立VM后, VM会得到外部IP,这一组IP不是固定的, VM 重开后会不一样,以下步骤能设定VM固定外部IP 点选Compute Engine 点选VM执行个体 点选VM 点选编辑 点选网路介面 点选建立IP位址 输入这组静态IP的名称, 按下预约, 选定的VM就可以预约到固定的静态IP 查询/管理IP 点选VPC网路 点选外部IP位址 这里可以看到所有申请的IP,如果有静态IP未分配,会有额外的费用 详细费用参考: 这里   本文:Google Cloud Platform(GCP) VM 固定,静态,外部IP设定… Read More

使用gcloud 连线到Google Cloud Platform 上的VM

虽然把WordPress网站架在Google Cloud Platform (GCP)上了,但其实对GCP 这个平台还是相当的陌生…有时候需要进去WordPress 机器里执行一些指令操作,都只能从Google Cloud 网页上,选择SSH 的功能:   这会开启一个浏览器的视窗,里面就是SSH 连到VM 后的画面,操作起来和一般的SSH 没什么不同,不过毕竟不是自己执行的SSH,所以也不晓得要怎么利用它传档案到VM 上去:   今天稍微瞄了一下文件,把Google Cloud SDK 装起来了,之后就可以直接用gcloud 指令SSH 到VM 上,快速许多~   1. 安装Google Cloud SDK 参考文件… Read More