AWS China Region试用的问题列表
来源:互联网 发布:淘宝更改支付宝账号 编辑:程序博客网 时间:2024/06/06 07:49
在AWS上的使用经验已经有四年了,现在开始亚马逊中国的服务,发现有很多不同。在此记录一下遇到的各种问题和解决方案,与大家共同讨论。
问题1. sudo: unable to resolve host <NAME>
登录主机使用sudo命令,遇到如下提示:
ubuntu@ip-192-168-0-42:~/micro-deploy$ sudo su
sudo: unable to resolve host ip-192-168-0-42
解决方法:
That the
/etc/hostname
file contains just the name of the machine.That
/etc/hosts
has an entry forlocalhost
. It should have something like:127.0.0.1 localhost.localdomain localhost 127.0.1.1 my-machine
问题2. 应对GFW
在中国区使用EC2,完全在美国等其它region上那种访问网络不是问题的感觉,首先遇到的就是GFW。
解决方法1:使用代理工具
如果你有美国的服务器,可以自己设置代理,可以使用工具tsocks和proxychains
解决方法2:使用中国区镜像
比如,我安装ruby工具,使用了淘宝镜像,详见淘宝ruby镜像用法。
问题3. 迁移大数据到AWS
当我们准备迁移大数据到AWS的时候,对于数据量比较大的情况下,需要采用一些加速的方法缩短这个迁移的时间,可用方法如下:
解决方法1:使用AWS的import/export服务
最快,详见AWS手册
解决方法2:使用AWS的Storage Gateway
解决方法3:使用传统SCP,RCP
此时注意采用一些优化的方法加速,详见加快SCP传输
解决方法4:采用专业的UDP网络传输工具
可参考 Moving Big Data into the Cloud with Tsunami UDP
其它工具参见:https://github.com/mindreframer/file-transfer-accelerators
另外,无论使用哪种方法,注意不要试图远距离传输超过1G的大文件,建议使用split或其它工具做二进制拆分,
[参考]
- https://github.com/mindreframer/file-transfer-accelerators
- https://code.google.com/p/s3fs/wiki/FuseOverAmazon
- http://filecatalyst.com/open-source-fast-file-transfers/
- http://www.vadzi.com/tools/udp-file-transfer/
- http://blog.csdn.net/awschina/article/details/38661889?utm_source=tuicool
- http://www.cnblogs.com/buptduming/archive/2010/07/07/1772005.html
- https://www.evl.uic.edu/cavern/RBUDP/Reliable%20Blast%20UDP.html
- http://filecatalyst.com/open-source-fast-file-transfers/
- http://jos.org.cn/ch/reader/create_pdf.aspx?file_no=3812&journal_id=jos
- http://herofit.blogspot.com/2006/10/linux_10.html
- http://blog.csdn.net/dba_waterbin/article/details/27339235
- Blazing fast SFTP/SSH transfer https://spoutcraft.org/threads/blazing-fast-sftp-ssh-transfer.7682/
- http://itindex.net/detail/46367-%E5%8A%A0%E9%80%9F-scp-%E4%BC%A0%E8%BE%93
- AWS China Region试用的问题列表
- CloudFoundry AWS China Region安装
- AWS Region 相关问题
- 试用AWS的CodeCommit服务
- aws试用
- 试用AWS的Lambda和API Gateway
- JBoss China's Archiver RichFaces的a4j:region
- aws 网络的问题
- AWS 遇到的问题
- AWS免费试用
- 试用AWS RDS的还原到时间点功能
- AWS AMI, Region and AZ
- aws的rds导出问题
- [AWS] 记录在AWS上部署WordPress遇到的问题
- rn-wheel-picker-china-region 使用步骤
- 多region下的hbase写入问题
- 多region下的hbase写入问题
- 深入理解 “vmalloc region overlap” 的问题
- Android开发之利用ViewPager实现导航页和滑动标签页效果
- Spark 学习笔记二开发环境
- USB相关资料汇总
- 新建cocos(Win32)项目
- Linux批量杀死进程的几种方式
- AWS China Region试用的问题列表
- oracle 转mysql
- 给eclipse安装SVN插件
- 用例
- C++ 线程池的封装实现
- javascript——用户代理(环境)检测
- CentOS下SVN服务的启动与关闭
- 在linux上使用yum安装 和 卸载 JDK
- 广告自动轮播(完美解决人为滑动后按顺序自动轮播)