Cloud 常用命令
Google cloud 操作
增加 ssh key
ssh-keygen # -t rsa -b 4096 -C account_name
# copy the content in *.pub to google cloud user keys.VM 相关
创建和删除 VM
在 web 界面中按步骤操作即可。
注意:
- 在高级选项中的 availability policies,课选择 spot。可大幅减少计算成本。 使用 Admin 创建的 image,可以使用 NFS,已有 environment。
登录 VM
使用 gcloud 登录较为方便,命令如下
Xiaopeng Xu