{"id":25531229,"url":"https://github.com/guessi/eks-ami-finder","last_synced_at":"2026-02-07T05:02:44.160Z","repository":{"id":164491342,"uuid":"639952086","full_name":"guessi/eks-ami-finder","owner":"guessi","description":"Helper tool to find Amazon EKS optimized AMI IDs","archived":false,"fork":false,"pushed_at":"2026-01-28T07:17:06.000Z","size":165,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-28T23:23:20.945Z","etag":null,"topics":["amazon-eks","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guessi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-12T15:51:09.000Z","updated_at":"2026-01-28T07:17:09.000Z","dependencies_parsed_at":"2025-12-01T04:03:12.171Z","dependency_job_id":null,"html_url":"https://github.com/guessi/eks-ami-finder","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/guessi/eks-ami-finder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guessi%2Feks-ami-finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guessi%2Feks-ami-finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guessi%2Feks-ami-finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guessi%2Feks-ami-finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guessi","download_url":"https://codeload.github.com/guessi/eks-ami-finder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guessi%2Feks-ami-finder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29186742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T03:35:06.566Z","status":"ssl_error","status_checked_at":"2026-02-07T03:34:57.604Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-eks","golang"],"created_at":"2025-02-20T00:47:51.782Z","updated_at":"2026-02-07T05:02:44.155Z","avatar_url":"https://github.com/guessi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eks-ami-finder\n\n[![GitHub Actions](https://github.com/guessi/eks-ami-finder/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/guessi/eks-ami-finder/actions/workflows/go.yml)\n[![GoDoc](https://godoc.org/github.com/guessi/eks-ami-finder?status.svg)](https://godoc.org/github.com/guessi/eks-ami-finder)\n[![Go Report Card](https://goreportcard.com/badge/github.com/guessi/eks-ami-finder)](https://goreportcard.com/report/github.com/guessi/eks-ami-finder)\n[![GitHub release](https://img.shields.io/github/release/guessi/eks-ami-finder.svg)](https://github.com/guessi/eks-ami-finder/releases/latest)\n[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/guessi/eks-ami-finder)](https://github.com/guessi/eks-ami-finder/blob/main/go.mod)\n\nA command-line tool to find Amazon EKS optimized AMI IDs across different versions and regions.\n\n## 📋 Overview\n\nUsers often need to pin their AMI to a specific version of Amazon EKS Optimized AMI for security or compliance reasons. However, AWS documentation only provides methods to retrieve the latest AMI versions:\n\n- [Retrieve recommended Amazon Linux AMI IDs](https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html)\n- [Retrieve recommended Microsoft Windows AMI IDs](https://docs.aws.amazon.com/eks/latest/userguide/retrieve-windows-ami-id.html)\n- [Retrieve recommended Bottlerocket AMI IDs](https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id-bottlerocket.html)\n\n`eks-ami-finder` fills this gap by providing access to historical AMI information for Amazon Linux, Windows, and Bottlerocket-based EKS optimized AMIs.\n\n## 🔢 Prerequisites\n\n* An IAM Role/User with [ec2:DescribeImages](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html) permission.\n\n## 🚀 Quick start\n\n### Basic Usage\n\n```bash\neks-ami-finder help\n```\n\n### Find the latest AMIs\n\n```bash\neks-ami-finder\n```\n\n### Find AMIs by Release Date\n\n```bash\n# Find all AMIs released in Jan 2026 (prefix match), with no region specify\neks-ami-finder --release-date 202601\n\n# Find AMIs released on a specific date\neks-ami-finder --release-date 20260120 --region us-east-1\n```\n\n### Find AMIs by Kubernetes Version\n\n```bash\n# Find AMIs for Kubernetes 1.35\neks-ami-finder --kubernetes-version 1.35 --region us-east-1\n\n# Combine Kubernetes version with specific release date\neks-ami-finder --kubernetes-version 1.35 --release-date 20260120 --region us-east-1\n```\n\n### Filter by AMI Type\n\n```bash\n# Find Amazon Linux 2023 AMIs\neks-ami-finder --ami-type AL2023_x86_64_STANDARD --region us-east-1 --kubernetes-version 1.35\n\n# Find Windows Core 2025 AMIs\neks-ami-finder --ami-type WINDOWS_CORE_2025_x86_64 --region us-east-1 --kubernetes-version 1.35\n\n# Find Windows Core 2022 AMIs\neks-ami-finder --ami-type WINDOWS_CORE_2022_x86_64 --region us-east-1 --kubernetes-version 1.35\n\n# Find Bottlerocket AMIs\neks-ami-finder --ami-type BOTTLEROCKET_x86_64 --region us-east-1 --kubernetes-version 1.35\n```\n\n### Example Output\n\n```bash\neks-ami-finder --kubernetes-version 1.35 --release-date 20260120 --region us-east-1\n\n+-----------+-----------------------+-------------------------------------------------------+--------------------------------------------------------------------------------------------+--------------------------+--------------+\n| Region    | AMI ID                | Name                                                  | Description                                                                                | DeprecationTime          | Architecture |\n+-----------+-----------------------+-------------------------------------------------------+--------------------------------------------------------------------------------------------+--------------------------+--------------+\n| us-east-1 | ami-03721f6a44c1efc0f | amazon-eks-node-al2023-x86_64-standard-1.35-v20260120 | EKS-optimized Kubernetes node based on Amazon Linux 2023, (k8s: 1.35.0, containerd: 2.1.*) | 2028-01-21T03:21:00.000Z | x86_64       |\n+-----------+-----------------------+-------------------------------------------------------+--------------------------------------------------------------------------------------------+--------------------------+--------------+\n```\n\n### Key Capabilities\n\n- **Historical AMI Search**: Find specific versions of EKS-optimized AMIs, not just the latest.\n- **Multi-OS Support**: Search Amazon Linux, Windows, and Bottlerocket AMIs.\n- **Flexible Filtering**: Filter by Kubernetes version, release date, AMI type, region, etc.\n\n## ❓ FAQ\n\n### Q: How does `eks-ami-finder` look up AMI IDs?\n\n`eks-ami-finder` first identifies the Owner IDs of the AMIs ([source](hack/ami-owner-info-check.sh)), then filters AMI IDs released by these Owner IDs ([source](cmd/search.go)) using pattern matching. It's that simple!\n\n### Q: Where can I find the definition for the `--ami-type` flag value?\n\nSee the [amiType](https://docs.aws.amazon.com/eks/latest/APIReference/API_Nodegroup.html#AmazonEKS-Type-Nodegroup-amiType) definition in the AWS documentation.\n\n### Q: Does an AMI description guarantee it's an official build?\n\nNot necessarily. AMI descriptions like `EKS-optimized Kubernetes node based on Amazon Linux 2023, (k8s: 1.35.0, containerd: 2.1.*)` can be defined by anyone. You still need to verify that it comes from the Amazon EKS team by checking the Owner ID.\n\n## 👷 Install\n\n### For macOS/Linux users (Recommended)\n\nBrand new install\n\n```bash\nbrew tap guessi/tap \u0026\u0026 brew update \u0026\u0026 brew install eks-ami-finder\n```\n\nTo upgrade version\n\n```bash\nbrew update \u0026\u0026 brew upgrade eks-ami-finder\n```\n\n### Manually setup (Linux, Windows, macOS)\n\n\u003cdetails\u003e\u003c!-- markdownlint-disable-line --\u003e\n\u003csummary\u003eClick to expand!\u003c/summary\u003e\u003c!-- markdownlint-disable-line --\u003e\n\n#### For Linux users\n\n```bash\ncurl -fsSL https://github.com/guessi/eks-ami-finder/releases/latest/download/eks-ami-finder-Linux-$(uname -m).tar.gz -o - | tar zxvf -\nmv -vf ./eks-ami-finder /usr/local/bin/eks-ami-finder\n```\n\n#### For macOS users\n\n```bash\ncurl -fsSL https://github.com/guessi/eks-ami-finder/releases/latest/download/eks-ami-finder-Darwin-$(uname -m).tar.gz -o - | tar zxvf -\nmv -vf ./eks-ami-finder /usr/local/bin/eks-ami-finder\n```\n\n#### For Windows users\n\n```powershell\n$SRC = 'https://github.com/guessi/eks-ami-finder/releases/latest/download/eks-ami-finder-Windows-x86_64.tar.gz'\n$DST = 'C:\\Temp\\eks-ami-finder-Windows-x86_64.tar.gz'\nInvoke-RestMethod -Uri $SRC -OutFile $DST\n```\n\n\u003c/details\u003e\n\n## ⚖️ License\n\n[Apache-2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguessi%2Feks-ami-finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguessi%2Feks-ami-finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguessi%2Feks-ami-finder/lists"}