Amazon Machine Image Explained

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

__TOC__

Overview

Like all virtual appliances, the main component of an AMI is a read-only filesystem image that includes an operating system (e.g., Linux, Unix, or Windows) and any additional software required to deliver a service or a portion of it.[2]

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.

Current AMIs are available for hardware virtualized machines (HVM)[3] where the operating system is installed as it would be on real hardware. With the still available older paravirtualized virtual machines (PV),[4] an AMI did not include a kernel image, only a pointer to the default kernel id, which could be chosen from an approved list of safe kernels maintained by Amazon and its partners (e.g., Red Hat, Canonical, Microsoft). Users could choose kernels other than the default when booting an PVM AMI.[5]

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.[6] [7] As of December 2010, it has also been reported to run FreeBSD;[8] in March 2011, NetBSD AMIs became available.[9] In November 2012, Windows Server 2012 support was added.[10]

Amazon Linux AMI

Amazon has its own Linux distribution that is largely binary compatible with Red Hat Enterprise Linux.[11] This offering has been in production since September 2011, and in development since 2010.[12] The final release of the original Amazon Linux is version 2018.03[13] and uses version 4.14 of the Linux kernel. Amazon Linux 2 changed from System V init system to systemd boot.[14] It was announced in June 2018, and is updated on a regular basis.[15]

Types of images

External links

Notes and References

  1. Web site: Amazon EC2 Functionality. Amazon.
  2. Web site: Creating an Image. Amazon. 2009-03-27. https://web.archive.org/web/20090403045744/http://docs.amazonwebservices.com/AmazonEC2/gsg/2006-06-26/creating-an-image.html. 2009-04-03.
  3. Web site: Amazon EC2 Instance Types. 21 March 2021.
  4. Web site: Linux AMI virtualization types. 21 March 2021.
  5. http://aws.amazon.com/blogs/aws/new-ec2-feature/ AWS Blog post announcing EC2 User Selectable Kernels
  6. Web site: Amazon's Linux cloud computing out of beta, joined by Windows . Stephen . Shankland . CNet News . October 23, 2008. October 24, 2008.
  7. Web site: Amazon Elastic Compute Cloud (EC2) Running Microsoft Windows Server and SQL Server . Amazon.com . October 23, 2008. October 25, 2008. https://web.archive.org/web/20081201023846/http://aws.amazon.com/windows/. 1 December 2008 . live.
  8. http://www.daemonology.net/freebsd-on-ec2/ FreeBSD on EC2 status
  9. http://blog.netbsd.org/tnf/entry/netbsd_now_runs_under_amazon NetBSD Blog
  10. Web site: Windows Server 2012 Now Available on AWS . Amazon.com . November 19, 2012. March 26, 2014.
  11. Web site: AWS Developer Forums . Amazon Linux AMI - what distro is this based on? . 9 August 2019 . 16 September 2019.
  12. Web site: Amazon's Linux AMI is All Grown Up. Joe . Brockmeier . readwriteweb . September 27, 2011. October 11, 2011.
  13. Web site: Amazon Linux AMI 2018.03 Release Notes. Amazon Web Services. July 17, 2018.
  14. Web site: Amazon Linux 2 FAQs. 21 March 2021.
  15. Web site: Announcing Amazon Linux 2 with Long Term Support. 26 June 2018. Amazon Web Services. 10 February 2020.
  16. Web site: Amazon EC2 – web service that provides compute capacity in the cloud. 5 January 2022 .