본문 바로가기

Cloud/AWS

Amazon Linux AMI에 대하여...

AWS 에서 사용하고 있는 OS는 Amazon Linux AMI 입니다.
Amazon Linux AMI는 CentOS를 기반으로 하고 있으며
CentOS는 RedHat Enterprise Linux AS 기반의 리눅스 배포판입니다.

참고: 
http://centos.pe.kr/owiki/index.php?url=centos
http://www.jopenbusiness.com/mediawiki/index.php/CentOS

또한 Amazon Linux AMI User Guide 문서에는 아래와 같은 내용이 있습니다.

Is the Amazon Linux AMI compatible with other Linux distributions?
The Amazon Linux AMI is very similar to CentOS in file system layout and package management. 
Applications built for CentOS 5 and later should run without recompilation of the Amazon Linux AMI. 
However, the Amazon Linux AMI is configured for use only in Amazon EC2.

Does the Amazon Linux AMI support third-party independent software vendor (ISV) applications?
Yes. Most ISV applications that are designed to run on CentOS 5 or later will run on the Amazon Linux AMI. 
However, the Amazon Linux AMI has not gone through any formal certification efforts with ISVs. 
If you have a specific question about whether an ISV will officially support running its application on the Amazon Linux AMI, 
please contact the ISV directly.


즉, Amazon Linux AMI는 CentOS와 호환되며 
ISV들에 의해 CentOS 5 또는 이후 버전에서 동작하는 것들은 Amazon Linux AMI에서 동작될 것이나
ISV들과 공식적인 인증 노력을 하지 않기 때문에 ISV 들의 애플리케이션이 지원하는지 여부는 직접 문의해라.

그리고 해당 OS 버전을 확인할때는 아래와 같이 하되 정확한 CentOS 버전을 확인할 방법은 없어 보입니다.

$ cat /etc/issue
Amazon Linux AMI release 2011.09

$ cat /etc/image-id 
image_name="amzn-ami"
image_version="2011.09"
image_arch="x86_64"
image_file="amzn-ami-2011.09.2.x86_64.ext4"
image_stamp="46f7-fb98"
image_date="20111027225247"
recipe_name="amzn ami"
recipe_id="2aaca5dd-b34f-4a46-8281-d2471ce38631"