AWS里面的centos AMI

AMI
An Amazon Machine Image (AMI) is an encrypted machine image that contains all information necessary to boot instances of your software.
use public AMIs as a base to create your own custom private AMIs.
可以理解为系统的一个模板。你可以基于这个模板启动多个系统实例,或者修改这个模板,做为自己的模板。


rightscale 是我认为比较好的第三方AMI提供者。提供cetos的AMI。
RightImage CentOS 5.4 v4.4.10

Release Date:  Dec 29, 2009

CentOS 5.4
RightImage CentOS_5.4_i386_v4.4.10 (32-bit)
RightImage CentOS_5.4_x64_v4.4.10 (64-bit)

These RightImages support CentOS v5.4.  Use the 32-bit version for small and medium instances. Use the 64-bit version for all other instance types.

  • Amazon Kernel Modules v2.6.21
  • Sun Java 6 update 14
  • RubyGems v1.3.1
  • nano, ruby, postfix, openssl, openssh, curl, cvs, subversion, git, vim-enhanced, rrdtool-1.2.27, pkgconfig, lynx, screen, redhat-lsb
 Nickname AMI ID Location Region
 RightImage CentOS_5.4_i386_v4.4.10 ami-f8b35e91 rightscale-us/CentOS_5.4_i386_v4.4.10 aws us-east
 RightImage CentOS_5.4_x64_v4.4.10 ami-ccb35ea5 rightscale-us/CentOS_5.4_x64_v4.4.10 aws us-east
 RightImage CentOS_5.4_i386_v4.4.10 ami-e32273a6 rightscale-us-west/CentOS_5.4_i386_v4.4.10 aws us-west
 RightImage CentOS_5.4_x64_v4.4.10 ami-eb2273ae rightscale-us-west/CentOS_5.4_x64_v4.4.10 aws us-west
 RightImage CentOS_5.4_i386_v4.4.10 ami-efe4cf9b rightscale-eu/CentOS_5.4_i386_v4.4.10 aws eu
 RightImage CentOS_5.4_x64_v4.4.10 ami-ebe4cf9f rightscale-eu/CentOS_5.4_x64_v4.4.10 aws eu



2、从vmware创建一个AMI
http://blog.chinaunix.net/u/32831/showart_1839873.html
另外,kernel需要是xen的内核:The current hardware does NOT support hardware virtualization, so you need to build for Xen。In general, building for Xen, even on virtualizing hardware, can improve performance. 

更多,可以查看我的另一篇文章:

注:从本地上传做好的image到s3上时只需要上传 image.part.00 到 image.part.98和image.manifest.xml文件即可,大概1G左右,最大的那个3G左右的image文件不需要上传。

注:我按照上面的方法做了一个AMI,启动时出现了错误
FATAL: Could not load /lib/modules/2.6.16-xenU/modules.dep: No such file or directory 。
原因,查看下面的文章:

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值