Amazon Machine Image


An Amazon Machine Image is a special type of virtual appliance that is used to create a virtual machine within the Amazon Elastic Compute Cloud. It serves as the basic unit of deployment for services delivered using EC2.

Contents

Like all virtual appliances, the main component of an AMI is a read-only filesystem image that includes an operating system and any additional software required to deliver a service or a portion of it.
An AMI includes the following:
The AMI filesystem is compressed, encrypted, signed, split into a series of 10 MB chunks and uploaded into Amazon S3 for storage. An XML manifest file stores information about the AMI, including name, version, architecture, default kernel id, decryption key and digests for all of the filesystem chunks.
An AMI does not include a kernel image, only a pointer to the default kernel id, which can be chosen from an approved list of safe kernels maintained by Amazon and its partners. Users may choose kernels other than the default when booting an AMI.

Operating systems

When it launched in August 2006, the EC2 service offered Linux and later Sun Microsystems' OpenSolaris and Solaris Express Community Edition. In October 2008, EC2 added the Windows Server 2003 and Windows Server 2008 operating systems to the list of available operating systems. As of December 2010, it has also been reported to run FreeBSD; in March 2011, NetBSD AMIs became available. In November 2012, Windows Server 2012 support was added.

Amazon Linux AMI

Amazon has its own Linux distribution that is largely binary compatible with Red Hat Enterprise Linux, and therefore CentOS. This offering has been in production since September 2011, and in development since 2010. The final release of the original Amazon Linux is version 2018.03 and uses version 4.14 of the Linux kernel. Amazon Linux 2 was announced in June 2018, and is updated on a regular basis.

Types of images