Difference between revisions of "Amazon AMI"
Jump to navigation
Jump to search
↑ https://aws.amazon.com/about-aws/whats-new/2022/03/amazon-machine-images-public-visibility-two-years/
(32 intermediate revisions by 3 users 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> | ||
* 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> | ||
+ | |||
+ | [[AL]]: | ||
+ | * <code>[[ami-0be40a4cb4844994c]]</code> | ||
+ | |||
+ | * [[Free tier]]: | ||
+ | ** <code>[[ami-]]0443305dabd4be2bc</code> | ||
+ | ** <code>ami-03d5c68bab01f3496 (Ubuntu [[Oregon]])</code> | ||
== News == | == News == | ||
Line 12: | Line 27: | ||
== Related terms == | == Related terms == | ||
* [[Advanced Metering Infrastructure (AMI)]] | * [[Advanced Metering Infrastructure (AMI)]] | ||
− | |||
− | |||
− | |||
* <code>[[aws ec2 describe-images]]</code> | * <code>[[aws ec2 describe-images]]</code> | ||
− | + | * <code>[[aws ec2 describe-images --owners self amazon]]</code> | |
* [[AMI Aptio V]] | * [[AMI Aptio V]] | ||
− | * Terraform: <code>[[aws_instance]]</code> | + | * Terraform resource: <code>[[aws_instance]]</code> and <code>[[ami]]</code> argument |
− | * ubuntu/images/hvm-ssd/ubuntu-[[xenial]]-16.04-amd64-server-20200814: ami-08d70e59c07c61a3a | + | * <code>[[terraform show]] | grep -i ami</code> |
+ | * <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]] | + | * [[Amazon Linux]]: [[AL2022]], <code>[[amazon-linux-extras install epel]]</code> |
− | |||
− | |||
* [[Custom AMI]] | * [[Custom AMI]] | ||
+ | * [[lsb_release]] | ||
== See also == | == See also == | ||
− | |||
* {{AMI}} | * {{AMI}} | ||
+ | * {{Amazon Linux}} | ||
+ | * {{Amazon EC2 Instance types}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 12:20, 30 May 2024
To obtain image AMI ids:
aws ec2 describe-images
:output
aws ec2 describe-instances | grep ImageId
curl http://169.254.169.254/latest/meta-data/ami-id
- List of Debian9 Image Id (ami): https://wiki.debian.org/Cloud/AmazonEC2Image/Stretch
aws ssm get-parameters-by-path --path /aws/service/ami-amazon-linux-latest --query "Parameters[].Name"
ami-06be4329ed6be1b0e: Amazon Linux AMI 2.0.20221230 x86_64 ECS HVM GP2
AL:
News[edit]
- 03/2022 Amazon reduces visibility of public Amazon Machine Images (AMIs) older than two years[1]
Related terms[edit]
- Advanced Metering Infrastructure (AMI)
aws ec2 describe-images
aws ec2 describe-images --owners self amazon
- AMI Aptio V
- Terraform resource:
aws_instance
andami
argument terraform show | grep -i ami
ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20200814
: ami-08d70e59c07c61a3a- https://cloud-images.ubuntu.com/locator/ec2/
- AWS instance example with aws ami lookup
- Amazon Linux: AL2022,
amazon-linux-extras install epel
- Custom AMI
- lsb_release
See also[edit]
- AWS, AMI, AFI,
aws ec2 describe-images
, Amazon Linux, Amazon Linux 2,amazon-linux-extras
, AWS CreateImage - Amazon Linux: Amazon Linux 2, Amazon Linux 2023, AMI, amazon-linux-extras, al2022
- Amazon EC2 Instance types, computed optimized, memory optimized, high memory, AMI, Burstable, CPU credits, on-demand, spot, Karpenter,
t2, t3, t4g, r5, r6, c5 (c5a, c5ad), c6 (c6a, c6i), m5, m6i, m7i, c7i, c7g, r6g, r6i, G5, G6, x1
,aws ec2 describe-instance-types
,vCPU, VcpuLimitExceeded, im4gn
Advertising: