<h1>Ubuntu AMIs</h1>
<p>Ubuntu <a href="https://cloud-images.ubuntu.com/locator/ec2/" rel="nofollow noreferrer">maintains a page with the latest AMIs in each region</a> for your convenience and reference.</p>
<h1>Rocky Linux</h1>
<p>Rocky Linux also maintains a <a href="https://rockylinux.org/cloud-images/" rel="nofollow noreferrer">handy page for finding AMIs in each region</a>.</p>
<h1>Amazon or other specific vendor AMIs</h1>
<p>The AWS console can be rather limiting, but you can <a href="https://aws.amazon.com/blogs/compute/query-for-the-latest-amazon-linux-ami-ids-using-aws-systems-manager-parameter-store/" rel="nofollow noreferrer">find the latest AMI with the awscli tool</a>.</p>
<p>Get a list of Amazon images:</p>
<pre><code>aws ec2 describe-images --owners amazon --filters &quot;Name=name,Values=amzn*&quot; --query 'sort_by(Images, &amp;CreationDate)[].Name'
</code></pre>
<p>Use AWS Systems Manager paramater store to find the latest one with the name you want:</p>
<pre><code>aws ssm get-parameters --names /aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2 --region us-east-1 
</code></pre>
<p>Then make sure you always use the latest when launching an instance:</p>
<pre><code>aws ec2 run-instances --image-id $(aws ssm get-parameters --names /aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2 --query 'Parameters[0].[Value]' --output text) --count 1 --instance-type m4.large
</code></pre>

CC BY-SA 4.0
2022-04-03T04:31:49.230Z
Also to note that images older than 2 years may now be hidden https://aws.amazon.com/about-aws/whats-new/2022/03/amazon-machine-images-public-visibility-two-years/
jdog
CC BY-SA 4.0
2022-03-26T15:19:00.970Z
2022-03-31T20:37:43.550Z
2022-03-31T20:37:43.550Z
chicks
<p>I am trying to create an instance in the Launch Configuration menu, but it is impossible to find the needed AMI from the dropdown.</p>
<ul>
<li>I expected following menu:</li>
</ul>
<p><a href="https://i.sstatic.net/beOyx.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/beOyx.jpg" alt="enter image description here" /></a></p>
<ul>
<li>But currently AWS provides the following possibilities ()selection from the dropdown:</li>
</ul>
<p><a href="https://i.sstatic.net/bCMDG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/bCMDG.png" alt="enter image description here" /></a></p>
<ul>
<li>I can't find the needed AMI from the list (Linux for example)
The bottom line is that I can't even use the <code>search</code> dropdown. It does not find existing AMI's:</li>
</ul>
<p><a href="https://i.sstatic.net/5Aiun.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/5Aiun.png" alt="enter image description here" /></a></p>
<p><strong>It's confusing and I do not know how to use AWS now...</strong></p>

<amazon-web-services>
How to find an AMI in the new AWS console version?
user34650
# How to find an AMI in the new AWS console version?

(Asked by: username_0 on 2022-03-25)

I am trying to create an instance in the Launch Configuration menu, but it is impossible to find the needed AMI from the dropdown.

* I expected following menu:

[![enter image description here](https://i.sstatic.net/beOyx.jpg)](https://i.sstatic.net/beOyx.jpg)

* But currently AWS provides the following possibilities ()selection from the dropdown:

[![enter image description here](https://i.sstatic.net/bCMDG.png)](https://i.sstatic.net/bCMDG.png)

* I can't find the needed AMI from the list (Linux for example)
  The bottom line is that I can't even use the `search` dropdown. It does not find existing AMI's:

[![enter image description here](https://i.sstatic.net/5Aiun.png)](https://i.sstatic.net/5Aiun.png)

**It's confusing and I do not know how to use AWS now...**

**Tags:** amazon-web-services


---

## 1 answers

### Answer by username_1 on 2022-03-26. Score: 3

Ubuntu AMIs
Ubuntu maintains a page with the latest AMIs in each region for your convenience and reference.
Rocky Linux
Rocky Linux also maintains a handy page for finding AMIs in each region.
Amazon or other specific vendor AMIs
The AWS console can be rather limiting, but you can find the latest AMI with the awscli tool.
Get a list of Amazon images:
aws ec2 describe-images --owners amazon --filters "Name=name,Values=amzn*" --query 'sort_by(Images, &CreationDate)[].Name'

Use AWS Systems Manager paramater store to find the latest one with the name you want:
aws ssm get-parameters --names /aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2 --region us-east-1 

Then make sure you always use the latest when launching an instance:
aws ec2 run-instances --image-id $(aws ssm get-parameters --names /aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2 --query 'Parameters[0].[Value]' --output text) --count 1 --instance-type m4.large

> **Comments:**
> **username_2**: Also to note that images older than 2 years may now be hidden https://aws.amazon.com/about-aws/whats-new/2022/03/amazon-machine-images-public-visibility-two-years/  

---

