Difference between revisions of "Amazon AMI"

From wikieduonline
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[wikipedia:Amazon AMI]]
 
[[wikipedia:Amazon AMI]]
  
 +
To obtain image AMI ids:
 +
* <code>[[aws ec2 describe-images]]</code>: <code>[[aws ec2 describe-images output|output]]</code>
 +
* <code>[[aws ec2 describe-instances]] | grep [[ImageId]]</code>
 +
* <code>[[curl http://169.254.169.254/latest/meta-data/ami-id]]</code>
 +
 +
 +
* <code>[[aws ec2 describe-images --image-ids]]</code>
  
* <code>[[aws ec2 describe-images]]</code> (<code>[[aws ec2 describe-images output|output]]</code>)
 
 
* List of [[Debian9]] Image Id ([[ami]]): https://wiki.debian.org/Cloud/AmazonEC2Image/Stretch
 
* List of [[Debian9]] Image Id ([[ami]]): https://wiki.debian.org/Cloud/AmazonEC2Image/Stretch
  
 
* <code>[[aws ssm get-parameters-by-path]] [[--path]] [[/aws/service/]]ami-amazon-linux-latest --query "Parameters[].Name"</code>
 
* <code>[[aws ssm get-parameters-by-path]] [[--path]] [[/aws/service/]]ami-amazon-linux-latest --query "Parameters[].Name"</code>
 
  
 
* <code>[[ami-06be4329ed6be1b0e]]: Amazon Linux AMI 2.0.20221230 [[x86_64]] [[ECS]] [[HVM]] [[GP2]]</code>
 
* <code>[[ami-06be4329ed6be1b0e]]: Amazon Linux AMI 2.0.20221230 [[x86_64]] [[ECS]] [[HVM]] [[GP2]]</code>
Line 27: Line 32:
 
* Terraform resource: <code>[[aws_instance]]</code> and <code>[[ami]]</code> argument
 
* Terraform resource: <code>[[aws_instance]]</code> and <code>[[ami]]</code> argument
 
* <code>[[terraform show]] | grep -i ami</code>
 
* <code>[[terraform show]] | grep -i ami</code>
* ubuntu/images/hvm-ssd/ubuntu-[[xenial]]-16.04-amd64-server-20200814: ami-08d70e59c07c61a3a
+
* <code>[[ubuntu/images/]]hvm-ssd/ubuntu-[[xenial]]-16.04-amd64-server-20200814</code>: [[ami-08d70e59c07c61a3a]]
 
* https://cloud-images.ubuntu.com/locator/ec2/
 
* https://cloud-images.ubuntu.com/locator/ec2/
 
* [[AWS instance example with aws ami lookup]]
 
* [[AWS instance example with aws ami lookup]]
 
* [[Amazon Linux]]: [[AL2022]], <code>[[amazon-linux-extras install epel]]</code>
 
* [[Amazon Linux]]: [[AL2022]], <code>[[amazon-linux-extras install epel]]</code>
 
* [[Custom AMI]]
 
* [[Custom AMI]]
* [[curl http://169.254.169.254/latest/meta-data/ami-id]]
+
* [[lsb_release]]
  
 
== See also ==
 
== See also ==

Latest revision as of 12:20, 30 May 2024

wikipedia:Amazon AMI

To obtain image AMI ids:


AL:

News[edit]

  • 03/2022 Amazon reduces visibility of public Amazon Machine Images (AMIs) older than two years[1]

Related terms[edit]

See also[edit]

  • https://aws.amazon.com/about-aws/whats-new/2022/03/amazon-machine-images-public-visibility-two-years/
  • Advertising: