Amazon Machine Image: Difference between revisions

From HandWiki
imported>WikiGary
linkage
 
Scavis2 (talk | contribs)
fix
 
Line 1: Line 1:
{{Short description|Virtual appliance used within Amazon EC2}}
{{Short description|Virtual appliance used within Amazon EC2}}
An '''Amazon Machine Image''' ('''AMI''') is a special type of [[Virtual appliance|virtual appliance]] that is used to create a [[Virtual machine|virtual machine]] within the Amazon Elastic Compute Cloud ("EC2"). It serves as the basic unit of deployment for services delivered using EC2.<ref>{{cite web|url=http://aws.amazon.com/ec2/#functionality|title=Amazon EC2 Functionality|author=Amazon}}</ref>
An '''Amazon Machine Image''' ('''AMI''') is a special type of [[Virtual appliance|virtual appliance]] that is used to create a [[Virtual machine|virtual machine]] within the Amazon Elastic Compute Cloud (EC2). It serves as the basic unit of deployment for services delivered using EC2.<ref>{{cite web|url=http://aws.amazon.com/ec2/#functionality|title=Amazon EC2 Functionality|author=Amazon}}</ref>


__TOC__
__TOC__
Line 42: Line 42:
=== Amazon Linux AMI ===
=== Amazon Linux AMI ===


Amazon has its own Linux distribution that is largely binary compatible with [[Software:Red Hat Enterprise Linux|Red Hat Enterprise Linux]].<ref>{{cite web |title=AWS Developer Forums |url=https://forums.aws.amazon.com/thread.jspa?threadID=51647 |website=Amazon Linux AMI - what distro is this based on? |access-date=9 August 2019 |date=16 September 2019}}</ref> This offering has been in production since September 2011, and in development since 2010.<ref>{{cite web |url=http://readwrite.com/2011/09/27/amazons-linux-ami-is-all-grown/  
Amazon has its own Linux distribution that is largely binary compatible with [[Software:Red Hat Enterprise Linux|Red Hat Enterprise Linux]].<ref>{{cite web |title=AWS Developer Forums |url=https://forums.aws.amazon.com/thread.jspa?threadID=51647 |website=Amazon Linux AMI - what distro is this based on? |archive-url=https://web.archive.org/web/20120509220520/https://forums.aws.amazon.com/thread.jspa?threadID=51647 |archive-date=9 May 2012 |access-date=9 August 2019 |date=16 September 2019}}</ref> This offering has been in production since September 2011, and in development since 2010.<ref>{{cite web |url=http://readwrite.com/2011/09/27/amazons-linux-ami-is-all-grown/
|archive-url=https://web.archive.org/web/20130702140121/http://readwrite.com/2011/09/27/amazons-linux-ami-is-all-grown
|url-status=usurped
|archive-date=July 2, 2013
  |title=Amazon's Linux AMI is All Grown Up
  |title=Amazon's Linux AMI is All Grown Up
|first=Joe   
|first=Joe   
Line 49: Line 52:
|date=September 27, 2011
|date=September 27, 2011
|access-date=October 11, 2011}}</ref> The final release of the original Amazon Linux is version 2018.03<ref>{{cite web|url=https://aws.amazon.com/amazon-linux-ami/2018.03-release-notes/|title=Amazon Linux AMI 2018.03 Release Notes|work=Amazon Web Services|access-date=July 17, 2018}}</ref> and uses version 4.14 of the [[Software:Linux kernel|Linux kernel]]. Amazon Linux 2 changed from [[Software:Init#SysV-style|System V init system]] to [[Software:Systemd|systemd]] boot.<ref>{{cite web|url=https://aws.amazon.com/amazon-linux-2/faqs|title=Amazon Linux 2 FAQs|access-date=21 March 2021}}</ref> It was announced in June 2018, and is updated on a regular basis.<ref>{{cite web|url=https://aws.amazon.com/about-aws/whats-new/2018/06/announcing-amazon-linux-2-with-long-term-support/|title=Announcing Amazon Linux 2 with Long Term Support|date=26 June 2018|work=Amazon Web Services|access-date=10 February 2020}}</ref>
|access-date=October 11, 2011}}</ref> The final release of the original Amazon Linux is version 2018.03<ref>{{cite web|url=https://aws.amazon.com/amazon-linux-ami/2018.03-release-notes/|title=Amazon Linux AMI 2018.03 Release Notes|work=Amazon Web Services|access-date=July 17, 2018}}</ref> and uses version 4.14 of the [[Software:Linux kernel|Linux kernel]]. Amazon Linux 2 changed from [[Software:Init#SysV-style|System V init system]] to [[Software:Systemd|systemd]] boot.<ref>{{cite web|url=https://aws.amazon.com/amazon-linux-2/faqs|title=Amazon Linux 2 FAQs|access-date=21 March 2021}}</ref> It was announced in June 2018, and is updated on a regular basis.<ref>{{cite web|url=https://aws.amazon.com/about-aws/whats-new/2018/06/announcing-amazon-linux-2-with-long-term-support/|title=Announcing Amazon Linux 2 with Long Term Support|date=26 June 2018|work=Amazon Web Services|access-date=10 February 2020}}</ref>
Amazon Linux 2023 was the next version, which launched alongside a new two-yearly release cadence. It comes with various kernel hardening features, and also enables kernel live patching.


== Types of images ==
== Types of images ==
Line 63: Line 68:
* [https://web.archive.org/web/20100222034027/http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=171 Amazon Web Services Developer Community : Amazon Machine Images (AMIs)]
* [https://web.archive.org/web/20100222034027/http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=171 Amazon Web Services Developer Community : Amazon Machine Images (AMIs)]
* [http://aws.amazon.com/amazon-linux-ami/ Amazon Linux AMI]
* [http://aws.amazon.com/amazon-linux-ami/ Amazon Linux AMI]
{{amazon}}


[[Category:Software distribution]]
[[Category:Software distribution]]

Latest revision as of 09:43, 20 May 2026

Short description: Virtual appliance used within Amazon EC2

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]

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:

  • A template for the root volume for the instance (for example, an operating system, an application server, and applications)
  • Launch permissions that control which AWS accounts can use the AMI to launch instances
  • A block device mapping that specifies the volumes to attach to the instance when it's launched

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]

Amazon Linux 2023 was the next version, which launched alongside a new two-yearly release cadence. It comes with various kernel hardening features, and also enables kernel live patching.

Types of images

  • Public: an AMI that can be used by anyone.
  • Paid: a for-pay AMI that is registered with Amazon DevPay and can be used by anyone who subscribes for it. DevPay allows developers to mark-up Amazon's usage fees and optionally add monthly subscription fees.
  • Shared: a private AMI that can only be used by Amazon EC2[16] users who are allowed access to it by the developer.

References

  1. Amazon. "Amazon EC2 Functionality". http://aws.amazon.com/ec2/#functionality. 
  2. Amazon. "Creating an Image". http://docs.amazonwebservices.com/AmazonEC2/gsg/2006-06-26/creating-an-image.html. 
  3. "Amazon EC2 Instance Types". https://aws.amazon.com/ec2/instance-types. 
  4. "Linux AMI virtualization types". https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/virtualization_types.html. 
  5. AWS Blog post announcing EC2 User Selectable Kernels
  6. Shankland, Stephen (October 23, 2008). "Amazon's Linux cloud computing out of beta, joined by Windows". CNet News. http://news.cnet.com/8301-17939_109-10073696-2.html. 
  7. "Amazon Elastic Compute Cloud (EC2) Running Microsoft Windows Server and SQL Server". Amazon.com. October 23, 2008. http://aws.amazon.com/windows/. 
  8. FreeBSD on EC2 status. Daemonology.net. Retrieved on 2013-08-09.
  9. NetBSD Blog. Blog.netbsd.org (2011-03-13). Retrieved on 2013-08-09.
  10. "Windows Server 2012 Now Available on AWS". Amazon.com. November 19, 2012. http://aws.typepad.com/aws/2012/11/windows-server-2012-now-available-on-aws.html. 
  11. "AWS Developer Forums". 16 September 2019. https://forums.aws.amazon.com/thread.jspa?threadID=51647. 
  12. Brockmeier, Joe (September 27, 2011). "Amazon's Linux AMI is All Grown Up". readwriteweb. http://readwrite.com/2011/09/27/amazons-linux-ami-is-all-grown/. 
  13. "Amazon Linux AMI 2018.03 Release Notes". Amazon Web Services. https://aws.amazon.com/amazon-linux-ami/2018.03-release-notes/. 
  14. "Amazon Linux 2 FAQs". https://aws.amazon.com/amazon-linux-2/faqs. 
  15. "Announcing Amazon Linux 2 with Long Term Support". Amazon Web Services. 26 June 2018. https://aws.amazon.com/about-aws/whats-new/2018/06/announcing-amazon-linux-2-with-long-term-support/. 
  16. "Amazon EC2 – web service that provides compute capacity in the cloud". 5 January 2022. https://digitalcloud.training/amazon-ec2/.