# Tips and Tricks
## Fetching latest AMIs
```shell
$ aws ssm --profile=beanbag-admin get-parameters-by-path \
--path /aws/service/ami-amazon-linux-latest
```
## Latest Recommended Amazon Linux 2023 AMIs
```shell
$ aws ssm --profile=beanbag-admin get-parameters-by-path \
--path /aws/service/ami-amazon-linux-latest
```
## Fetching Version Numbers of Amazon Linux AMIs
> [!info] This is not in Parameter Store
> As of today ([[2025-05-18|May 7, 2025]]), there appears to be no way to fetch the actual version number for any AMI through [[Parameter Store]] or any other method.
>
> The SSM payloads don't contain this information, nor does the [[AMI Catalog]].