Getting Started with Amazon EC2 (1 year free AWS VPS web hosting)

from: http://blog.coolaj86.com/articles/getting-started-with-amazon-ec2-1-year-free-aws-vps-web-hosting.html

Amazon Web Services

  1. Google "Amazon Web Service Free Tier"
  2. http://aws.amazon.com/
  3. Login (or sign-up)

NOTE: It will likely fail to verify your address. Ignore the error (it‘s one-time only), scroll down, check the agree box, and continue again.

Free Usage Tier

  1. http://aws.amazon.com/
  2. My Account / Console
  3. AWS Management Console
  4. EC2 Virtual Servers in the Cloud
  5. Select Region (next to Help in top right)
  6. Launch Instance (specific to region)
  7. Choose Ubuntu 12.04 micro (free usage tier)
  8. Downlad the pem file
  9. Continue

Managing the Instance

  1. Instances
  2. Elastic IP
  3. Allocate New Address
  4. Associate Address

Logging in from Mac / Linux

Host User ubuntu IdentityFile ~/.ssh/my-aws-key.pem

Logging in from windows

  1. Open puttygen
  2. Go to the conversion tab
  3. Load the pem file
  4. Click save private key
  5. Open putty
  6. Put the host as [email protected]
  7. Load the pem file
  8. Save the profile for later use

COST WARNING

It is extremely important that you your type show up as t1.micro and that you terminate the instance before your year is up. It‘s also important that you not exceed the bandwidth quota.

This is just to get a flavor for a VPS, not a true VPS solution. It is useful for Cloud Computing Services, but that‘s a different use case.

Use [ChunkHost][chunkhost-affiliate], Linode, or [ThrustVPS]thrustvps-affiliate for long-term / production use.

Errata

  • By "good for VPSes and Web Development" I meant "good for VPSes and Local Development"
  • By "we can safely allow all TCP" I didn‘t mean "safe"... I meant "for the sake of ease"

Colloquialisms (Jargon)

slashdot effect

Back in the old days we didn‘t have http://reddit.com, we had http://slashdot.com. The slashdot effect is when someone posts an article (ostensibly on slashdot) about your site or service that drives unexpected traffic to your server and causes it to become very slow or fail to respond to requests entirely. (one server can only handle so much, you see)

64-bit

Back in the old days we had 8-bit 8088 CPUs, barely fit to work as a calculator. Then there was the 16-bit 286, and finally the 32-bit 386 which, with a few enhancements here and there, has stuck around for the past 25 years. The only real problem with 32-bit was that it meant that a computer could have only 4GiB of RAM, which was good enough until around 2000 when we decided that 640 KiB *definitely isn‘t enough for anyone. The 64-bit x86_64 was created to solve this problem. Although the memory bus on a motherboard is often only really 42-bits or so, the processor must be a power of 2.

By AJ ONeal

Was this useful to you? Share it!

时间: 2024-07-31 00:43:56

Getting Started with Amazon EC2 (1 year free AWS VPS web hosting)的相关文章

Amazon EC2分区

亚马逊云主机Amazon EC2主机为开发者提供了一条免费途径不过需要信用卡申请,也蛮麻烦,公司海外业务用到过亚马逊云,个人感觉centos选镜像定制实例挂磁盘和国内差不多,不过亚马逊加的硬盘刚开始进系统是看不到买的盘只能看到默认的20G的盘,需要一个resize2fs初始化脚本才能看到,但是找到脚本以后也是运行不起来,折腾好久,最终几条简单命令解决了,亚马逊云EC2centos挂盘初始化很不人性化, 查看好挂载的那个盘符,然后直接resize2fs 命令初始化分区,然后保存挂载,大概是这样的:

Eucalyptus企业云计算(建立能够和Amazon EC2兼容的云)

Eucalyptus是与一个在加利福尼亚大学的研究性项目,创建了一个使企业能够使用它们内部IT资源(包括服务器.存储系统.网络设备)的开源界面,来建立能够和Amazon EC2兼容的云. “Eucalyptus的使命是支持开源Eucalyptus本地平台,同时它也为大规模的企业部署提供方案” Eucalyptus的联合创建者兼CTO,前任UCSB的学术研究项目主管 Rich Wolski说,“EEE代表了走向Eucalyptus云计算互助合作的更宽领域,去利用多种虚拟化环境和技术”. 在2009

通过SecureCRT访问亚马逊Amazon EC2主机

亚马逊推出了免费的云主机服务器 Amazon EC2,它是通过安全密钥来访问主机的.问题是下载的密钥在SecureCRT 上无法直接使用,需要转换. 下面的方法可以在自己的linux主机上生成securecrt需要的密钥. 首先在 AWS 管理面板中生成密钥对.将密钥上传到一台自己的linux主机,下面举例文件名为 amazon-ec2-key.pem 修改亚马逊提供的密钥文件权限:chmod og-r amazon-ec2-key.pem 改写密钥格式为 OpenSSH,如果询问passphr

Amazon EC2 vps申请和shell登录方法

前段时间在阿里云申请了一个域名,一直未用.近期想建一个个人博客,记录一些个人工作,学习,生活日志.本想使用国内虚拟主机,一是备案比较麻烦,二是费用也有一点点高.于是放弃,决定使用海外空间,申请了AWS(Amazon Web Services) 的云服务EC2(Elastic Compute Cloud)免费试用套餐(一年).如下: 免费套餐* 作为 AWS 免费试用套餐的一部分,AWS 的新客户可免费开始使用 Amazon EC2.注册后,新 AWS 客户在一年内每个月都将获得以下 EC2 服务

Amazon EC2 的名词解释

Amazon EC2   Amazon Elastic Compute Cloud (Amazon EC2) Amazon EC2 提供以下功能: 实例:虚拟计算环境 实例预配置模板/Amazon 系统映像 (AMI):服务器需要的程序包(包括操作系统和其他软件). 实例类型:实例 CPU.内存.存储和网络容量的多种配置 使用密钥对的实例的安全登录信息(AWS 存储公有密钥,您在安全位置存储私有密钥) 实例存储卷:临时数据存储卷(停止或终止实例时会删除这些数据) Amazon Elastic B

通过Amazon EC2来搭建基于pptpd协议的VPN服务器

近期注册了AWS提供了一年的免费服务,由于国内不能上goole,我们在这里来搭建一个属于自己的vpn服务器,让我们可以随时进行goole以及一些国内限制网站的访问,使用AWS云服务器为Red Hat Enterprise Linux -RHEL- 6-6-5_GA-AutogenByAWSMP作为搭建环境. 使用YUM安装pptp服务 [root@ip-172-31-1-128 ~]# yum install ppp [root@ip-172-31-1-128 ~]# cd /usr/local

Amazon EC2上搭建VPN服务器

Amazon EC2 提供了一年免费试用,Micro Instance,配置是 1G 内存,共享 CPU,和每月 15G 的流量.搭一个 VPN 服务器绰绰有余了.操作系统我选的是 Amazon Linux,感觉 Amazon 的定制版更高效,尽管它可能没有 Ubuntu 那么强大. 安装过程如下: 安装ppp,pptpd $ sudo yum install ppp pptpd --enablerepo=epel 打开IP转发(IP Forward)功能 在 /etc/sysctl.conf 

Amazon ec2 LAMP 建站备忘录(1)

主机运行于Amazon ec2,西海岸俄勒冈,美国,大家可以去参观一下  littleji.com 首先,测一下速,选个好地方立牌坊.Amazon 测速 http://www.cloudping.info/ 找一个觉得服务器更快的地方,然后在你找好的地方创建EC2实例.我这里相对来说新加坡要最快了,然而我用的是虚拟信用卡,好像不能在新加坡创建,只能退而求其次,选择俄勒冈. 创建实例就不提了,大家搜一搜都会的.说一些注意的地方: 1.记得在创建实例的过程中创建 *.pem文件 2.配置安全组 首先

Remote connect to Amazon EC2 instance

Remote Connect to Amazon EC2 Linux Instance such as NAT from Windows Using PuTTY http://docs.aws.amazon.com/gettingstarted/latest/wah-linux/getting-started-deploy-app-connect.html Note: The username for the linux AMI is ec2-user. (used in PuTTY) Add