一個 Instance 就是一台 EC2 雲端主機
在 Launch Instance EC2 有五個地區的機房可選
建立 Instance 後, 大約 20-30 秒就亮綠燈running, 真正開機完大概要 40-50 秒, 此時才可以 ssh 進去
預設連線用 ssh -i yourkey.pem ec2-user@your-public-dns
若要使用密碼認證, 修改 /etc/ssh/sshd_config 裡面的 PasswordAuthentication yes
對台灣的速度是 Tokyo > Singapore > N. Califonia > Virginia > Ireland
EC2 主機的 eth0 是 10.x.x.x Private IP, 會有一組 Mapping 的外部 IP (Public DNS 所對應的 IP)
IP 是 DHCP 取得, 所以機器關機再重開 IP 會變 (Reboot 大都會取到同一個 IP), 所以才會有 Elastic IP 的產生
Elastic IP 相當於一組固定 Mapping 的外部 IP
Elastic IP 不用時記得要釋放(Release Address), 否則是會產生費用的
機器關機時, Elastic IP 的關聯會消失, 所以當機器要長時間關機時, 記得要一起釋放 Elastic IP
可以裝 PPTPD VPN Server, OpenVZ VPS 是不能裝的
iptables 可以完整支援, OpenVZ VPS 有些指令無法下, 例如: iptables -t nat -A POSTROUTING -j MASQUERADE
Amazon Linux 是 RedHat base, 幾乎都一樣, 套件管理一樣是用 yum
EC2 DNS Server 是 172.16.0.21,172.16.0.22,172.16.0.23
Amazon EC2 Note
Recent Entries
About this Entry
This page contains a single entry by Pank published on August 6, 2011 3:10 AM.
Amazon EC2 Tokyo vs. Singapore was the previous entry in this blog.
解決Windows開機後約20-30分鐘就不能上網 is the next entry in this blog.
Find recent content on the main index or look in the archives to find all content.
Categories
- 3C (21)
- Bookmark (77)
- Data (161)
- FreeBSD (28)
- Fun (4)
- Game (4)
- Google (23)
- Hosting (15)
- IM (16)
- Life (25)
- Linux (139)
- Misc (63)
- My Program (7)
- Network (36)
- News (244)
- Notes (385)
- Photo (7)
- Programming (17)
- Security (2)
- Shell (12)
- Software (266)
- SQL (17)
- Travel (8)
- Tutorial (6)
- Windows (28)
- [GuestBook] (1)
- Cloud (7)
- Other OS (1)
Monthly Archives
- September 2011 (4)
- August 2011 (25)
- July 2011 (19)
- June 2011 (13)
- May 2011 (12)
- April 2011 (18)
- March 2011 (14)
- February 2011 (7)
- January 2011 (7)
- December 2010 (6)
- November 2010 (16)
- October 2010 (17)
- September 2010 (11)
- August 2010 (6)
- July 2010 (10)
- June 2010 (10)
- May 2010 (14)
- April 2010 (14)
- March 2010 (16)
- February 2010 (4)
- January 2010 (13)
- December 2009 (10)
- November 2009 (18)
- October 2009 (11)
- September 2009 (14)
- August 2009 (10)
- July 2009 (6)
- June 2009 (5)
- May 2009 (3)
- April 2009 (12)
- March 2009 (18)
- February 2009 (7)
- January 2009 (14)
- December 2008 (15)
- November 2008 (12)
- October 2008 (9)
- September 2008 (10)
- August 2008 (13)
- July 2008 (28)
- June 2008 (17)
- May 2008 (13)
- April 2008 (15)
- March 2008 (7)
- February 2008 (5)
- January 2008 (2)
- November 2007 (4)
- October 2007 (8)
- September 2007 (7)
- August 2007 (3)
- July 2007 (10)
- June 2007 (4)
- May 2007 (5)
- April 2007 (9)
- March 2007 (11)
- February 2007 (7)
- January 2007 (4)
- December 2006 (9)
- November 2006 (14)
- October 2006 (10)
- September 2006 (9)
- August 2006 (6)
- July 2006 (15)
- June 2006 (22)
- May 2006 (17)
- April 2006 (13)
- March 2006 (18)
- February 2006 (10)
- January 2006 (28)
- December 2005 (17)
- November 2005 (15)
- October 2005 (18)
- September 2005 (24)
- August 2005 (39)
- July 2005 (14)
- June 2005 (22)
- May 2005 (32)
- April 2005 (27)
- March 2005 (32)
- February 2005 (20)
- January 2005 (38)
- December 2004 (49)
- November 2004 (38)
- October 2004 (24)
- September 2004 (23)
- August 2004 (38)
- July 2004 (39)
- June 2004 (38)
- May 2004 (17)
- April 2004 (32)
- March 2004 (15)
- February 2004 (6)
- January 2004 (19)
- December 2003 (19)
- November 2003 (15)
- October 2003 (15)
- September 2003 (12)
- August 2003 (20)
- July 2003 (26)
Leave a comment