Skip to content

Commit e780e2a

Browse files
blkgrlctoclaude
andauthored
DOC-405: Drop Amazon Linux 2 AMI from EC2 Docker VMM docs (#889)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent e85b18e commit e780e2a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

  • src/content/docs/aws/services

src/content/docs/aws/services/ec2.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,21 @@ The above example will make LocalStack treat the `ubuntu:focal` Docker image as
255255
At startup, LocalStack downloads the following AMIs that can be used to launch Dockerized instances.
256256
- Ubuntu 26.04: `ami-61ad6e59d7b0`
257257
- Amazon Linux 2023: `ami-024f768332f0`
258-
- Amazon Linux 2: `ami-07b643b5e45e`
259258

260259
:::note
261260
The auto download of Docker images for default AMIs can be disabled using the `EC2_DOWNLOAD_DEFAULT_IMAGES=0` configuration variable.
262261
:::
263262

263+
:::note
264+
Amazon Linux 2 reached its [AWS end-of-life](https://aws.amazon.com/amazon-linux-2/faqs/) on June 30, 2026, so LocalStack no longer pre-loads the `Amazon Linux 2` AMI (`ami-07b643b5e45e`) by default.
265+
You can still use it by manually registering it as a Docker-backed AMI:
266+
267+
```bash
268+
docker pull amazonlinux:2
269+
docker tag amazonlinux:2 localstack-ec2/amazonlinux-2-ami:ami-07b643b5e45e
270+
```
271+
:::
272+
264273
All LocalStack-managed Docker AMIs bear the resource tag `ec2_vm_manager:docker`.
265274
These can be listed using:
266275

0 commit comments

Comments
 (0)