From 61a5377b69464e5bc2efdafa8eb4857df0b1d3d8 Mon Sep 17 00:00:00 2001 From: carlosbravoa Date: Thu, 12 Dec 2024 09:36:25 -0300 Subject: [PATCH 1/2] Update find-ubuntu-images.rst Updated some versions to keep the doc fresh --- aws/aws-how-to/instances/find-ubuntu-images.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/aws/aws-how-to/instances/find-ubuntu-images.rst b/aws/aws-how-to/instances/find-ubuntu-images.rst index f4c54cbf..c20e5850 100644 --- a/aws/aws-how-to/instances/find-ubuntu-images.rst +++ b/aws/aws-how-to/instances/find-ubuntu-images.rst @@ -26,7 +26,7 @@ Images for EC2 and EKS .. code-block:: aws ssm get-parameters --names \ - /aws/service/canonical/ubuntu/server/20.04/stable/current/amd64/hvm/ebs-gp2/ami-id + /aws/service/canonical/ubuntu/server/24.04/stable/current/amd64/hvm/ebs-gp3/ami-id The format for the parameter is: @@ -35,7 +35,7 @@ Images for EC2 and EKS ubuntu/$PRODUCT/$RELEASE/stable/current/$ARCH/$VIRT_TYPE/$VOL_TYPE/ami-id * PRODUCT: `server`, `server-minimal`, `pro-server` or `pro-minimal` - * RELEASE: `jammy`, `22.04`, `focal`, `20.04`, `bionic`, `18.04`, `xenial`, or `16.04` + * RELEASE: `noble`, 24.04, `jammy`, `22.04`, `focal`, `20.04` * ARCH: `amd64` or `arm64` * VIRT_TYPE: `pv` or `hvm` * VOL_TYPE: `ebs-gp3` (for >=23.10), `ebs-gp2` (for <=23.04), `ebs-io1`, `ebs-standard`, or `instance-store` @@ -53,7 +53,7 @@ Images for EC2 and EKS .. code-block:: - aws ssm get-parameters --names /aws/service/canonical/ubuntu/eks/22.04/1.29/stable/current/amd64/hvm/ebs-gp2/ami-id + aws ssm get-parameters --names /aws/service/canonical/ubuntu/eks/22.04/1.31/stable/current/amd64/hvm/ebs-gp2/ami-id The format for the parameter is: @@ -63,7 +63,7 @@ Images for EC2 and EKS * EKS_PRODUCT: `eks` or `eks-pro` * RELEASE: `jammy`, `22.04` (for EKS 1.29 or greater, or EKS Pro); `focal`, `20.04` (for EKS <= 1.29) - * K8S_VERSION: one of the supported EKS versions (e.g. `1.28`) + * K8S_VERSION: one of the supported EKS versions (e.g. `1.31`) * ARCH: `amd64` or `arm64` In the generated output, the "Value" field will have the required AMI ID. It can be used to instantiate the corresponding image using the ``ec2 run-instances`` command as explained :ref:`here `. @@ -73,7 +73,7 @@ If you don't want to save the AMI ID before instantiating the image, you can use .. code:: aws ec2 run-instances \ - --image-id resolve:ssm:/aws/service/canonical/ubuntu/server/20.04/stable/current/amd64/hvm/ebs-gp2/ami-id \ + --image-id resolve:ssm:/aws/service/canonical/ubuntu/server/24.04/stable/current/amd64/hvm/ebs-gp3/ami-id \ --key-name TestKeyPair \ --instance-type t3.medium From b32d89a62b30a33342d90006528217509719288d Mon Sep 17 00:00:00 2001 From: carlosbravoa Date: Thu, 12 Dec 2024 12:15:06 -0300 Subject: [PATCH 2/2] Update find-ubuntu-images.rst Adding 18.04 and 16.04 --- aws/aws-how-to/instances/find-ubuntu-images.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/aws-how-to/instances/find-ubuntu-images.rst b/aws/aws-how-to/instances/find-ubuntu-images.rst index c20e5850..3556ca30 100644 --- a/aws/aws-how-to/instances/find-ubuntu-images.rst +++ b/aws/aws-how-to/instances/find-ubuntu-images.rst @@ -35,7 +35,7 @@ Images for EC2 and EKS ubuntu/$PRODUCT/$RELEASE/stable/current/$ARCH/$VIRT_TYPE/$VOL_TYPE/ami-id * PRODUCT: `server`, `server-minimal`, `pro-server` or `pro-minimal` - * RELEASE: `noble`, 24.04, `jammy`, `22.04`, `focal`, `20.04` + * RELEASE: `noble`, 24.04, `jammy`, `22.04`, `focal`, `20.04`, `bionic`, `18.04`, `xenial`, or `16.04` * ARCH: `amd64` or `arm64` * VIRT_TYPE: `pv` or `hvm` * VOL_TYPE: `ebs-gp3` (for >=23.10), `ebs-gp2` (for <=23.04), `ebs-io1`, `ebs-standard`, or `instance-store`