AWS EC2小结

来源:互联网 发布:ff14人族捏脸数据分享 编辑:程序博客网 时间:2024/06/05 04:23

登录(从本地主机)


ssh -i pem_file_location ubuntu@instance_IP_address

解决load key bad permissions


chmod 700 pem_file_location

获得文件夹能够上传文件的权限Linux


chmod 0777 target_dic

上传文件到EC2(从本地主机)


scp -i pem_file_location filelocation/test.txt ubuntu@instance_IP_address:target_location/test.txt

监控GPU使用情况


watch -n 1 nvidia-smi

参考教程

使用AWS EC2教程:
https://zhuanlan.zhihu.com/p/25066187
http://blog.csdn.net/lyrassongs/article/details/69787984

使用百度云计算教程:
https://zhuanlan.zhihu.com/p/27364072