aws / aws/containers-roadmap

[ECS] [request]: Include SOCI snapshotter in ECS-optimized AMIs

Open
#1,832 0 comments 25 reactions 0 assignees View on GitHub
ECS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
We'd like to have the soci-snapshotter (https://github.com/awslabs/soci-snapshotter) available by default in the ECS-optimized AMIs (both AL2 and Bottlerocket variants).

**Which service(s) is this request for?**
ECS

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
Customers who want to use lazy loading to speed up container image launches currently have to build custom AMIs with soci-snapshotter.

**Are you currently working around this issue?**
How are you currently solving this problem?
Currently we can only use soci-snapshotter if we're willing to build a custom AMI.

**Additional context**
Anything else we should know?
This won't be possible until ECS/EC2 supports containerd (https://github.com/aws/containers-roadmap/issues/626), and will also be a lot more useful to use once ECR has support for the referrers API (also required for https://github.com/aws/containers-roadmap/issues/43).

**Attachments**
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)
https://github.com/awslabs/soci-snapshotter
https://aws.amazon.com/about-aws/whats-new/2022/09/introducing-seekable-oci-lazy-loading-container-images/

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the ECS/EC2 containerd dependency in issue #626 and the ECR referrers dependency in issue #43, then inspect the linked soci-snapshotter project. Done means the snapshotter is available by default in both AL2 and Bottlerocket ECS-optimized AMIs once those prerequisites are supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.