linode vps选择及波折

1、为什么选择linode

选择linode就是看中它的稳定和服务,而且身边很多用过linode的人都说好。

为什么不选择云主机呢?首先,感觉云主机不成熟,至少国内的云主机服务我是用怕了,感觉这玩意儿也就是炒作个概念,也许老牌vps linode早就内部实现了云主机的某些特性,只不过人家之前不这样叫而已。想玩云主机的看官可以去试试AWS,国内的就算了。

不过要注意的是linode只提供linux系统。

2、linode申请

linode申请很简单,懂英文一会儿就搞定了,网上也有一大堆教程,这里linode中文教程。本文就不细说啦。我的选择的是最低的一月20刀的配置,系统选了最熟悉的ubuntu12.04,机房选择了日本东京。

 

3、linode主机无法连接问题及解决过程

好了,问题就出在机房选择上,刚买了vps开了主机后,兴奋的我怎么也ssh不到我的主机,试了各种方法,rebuild了好几次主机都不行。开始一直以为一定是自己哪里弄错了,折腾了好几个小时,只能去请教黄老师,黄老师ping了一下我的ip地址,呵呵一笑:ip被墙了吧。

卧槽!!!刚买的vps,ip就被墙了,我邮防火墙也太凶残了点吧。后来黄老师说东京的机房就是因为中国人搞得太多,所以成片成片的ip被墙。

不过不着急,我最看重的linode的support现在大派用场了,以下是我的support交流记录,和大家分享一下:

heaven2358 
My IP 106.187.XX.XXX is blocked tcp and udp access from China Mainland, I’m writing this ticket for a new IP to replace the blocked one. Thanks for your attention and really appreciate for your help.

akerl 
Hello, 

Thank you for contacting us. If you’re seeing issues with networking, you may want to check for issues between your location and our datacenter using MTR. Information on MTR can be found here:

http://library.linode.com/linux-tools/mtr

If you could provide a pair of MTRs for your connection, we’d be glad to help identify any issues. Please provide one MTR run from your location to your Linode, and another from your Linode back to your location.

Thanks in advance!

Regards,
Les

heaven2358 
mtr –report 106.187.XX.XXX
以下略。。。

hello, thanks for your reply. my mtr report is as above.

dwfreed 
Could you please also generate a return report from your Linode back to your location? You can use LISH for this purpose:

http://library.linode.com/troubleshooting/using-lish-the-linode-shell

Thanks again!

-Doug

heaven2358 
mtr –report 123.66.XXX.XX
以下略。。。

Thanks again!
The return report from my Linode back to my location is as above.

dwfreed 
8 days agoI’ve changed your Linode’s IP address to 106.187.xx.xxx at this time. You’ll need to reboot your Linode for the changes to take effect. If we can be of any further assistance, please let us know.

-Doug

heaven2358 
Thank you but it does not work. The connection always timed out:

two mtr reports are as follows:
from my location to my linode

mtr –report 106.187.xx.xxx
以下略。。。
from my linode to my location

mtr –report 123.66.xx.xx

以下略。。。

dwfreed 
These reports show that you can reach your Linode. I’d suggest changing your Linode’s SSH port to something random to see if that helps. Please let us know if you need anything else.

-Doug

heaven2358 
It does not work, the timing out always happen.

dwfreed 
You’ll want to keep trying alternate ports. Perhaps try 4670 or some other completely random port number.

-Doug

heaven2358 
I am so sorry that I have tried many port number but still failed. The connection is extremely unstable. In most cases, I can not log in by ssh. Sometimes, I can log in but dropped within 1 minutes.
Maybe I need a new IP again. Or transfer my host to Fremont

mkorsak 
Hello,

I have changed your IP address to 106.187.xx.xxx. Please reboot your Linode to complete this change and let us know if it works.

Thanks,
Mark

heaven2358 
The problem has been solved. Thank you.

mkorsak 
Hello,

You’re welcome, please let us know if you ever have any other questions or concerns.

Thanks,
Mark

一共换了两次ip,才能够稳定访问了,之后并没有出现网上说的晚上访问特别慢的情况,我的一直稳定在70毫秒到140毫秒之间,丢包率不超过10%。

linode官方提供的两个工具挺好的,一个是mtr,还有个lish,一个用来做网络分析,一个可以通过他们的网关直接登录自己的主机,在没法直接登录自己主机的时候特别有用。

声明:如未作说明,则本文为 渣滓洞【解旻的博客】 原创。转载务必注明出处
注意:转载须保留全文,如需修改请联系作者

本文永久地址:http://xieminis.me/?p=193