AWS Fargate enables faster container startup using Seekable OCI
Share
Services
Customers running applications on [Amazon Elastic Container Service](https://aws.amazon.com/ecs/) (ECS) with [AWS Fargate](https://aws.amazon.com/fargate/) can now leverage [Seekable OCI](https://aws.amazon.com/about-aws/whats-new/2022/09/introducing-seekable-oci-lazy-loading-container-images/) (SOCI), a technology open sourced by AWS that helps applications deploy and scale out faster by enabling the containers to start without waiting for the entire container image to be downloaded.
Most methods for launching containers download the entire container image from a remote container registry before starting the container. Waiting for the entire image to download is unnecessary as in many cases only a small portion of it is needed for startup. SOCI reduces this wait time by lazily loading the image data in parallel to application startup, enabling containers to start with only a fraction of the image.
To use SOCI, you simply need to build an index (SOCI Index) of the container image files. Since this index is generated separately from the image and stored as a separate artifact in the registry, the image and its digest do not change. Furthermore, you don’t have to change the task definitions. When starting an Amazon ECS task, AWS Fargate automatically detects if a SOCI index for a container image exists and starts it without waiting for the entire image to download. This enables applications to scale out quickly and reduces the roll out time for application updates.
You can start using SOCI for applications running on Amazon ECS with AWS Fargate at no additional cost. You will just be charged for storing the SOCI index in [Amazon ECR](https://aws.amazon.com/ecr/). To get started, visit the [documentation](https://docs.aws.amazon.com/AmazonECS/latest/userguide/container-considerations.html?trk=3d9bf291-787b-4280-bb00-c4a8e441a748&sc%5Fchannel=el#fargate-tasks-soci-images) and the [blog post](https://aws.amazon.com/blogs/aws/aws-fargate-enables-faster-container-startup-using-seekable-oci/). This feature is available in all [regions](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/) where Amazon ECS, AWS Fargate, and Amazon ECR are available.
What else is happening at Amazon Web Services?
Amazon AppStream 2.0 users can now save their user preferences between streaming sessions
December 13th, 2024
Services
Share
AWS Elemental MediaConnect Gateway now supports source-specific multicast
December 13th, 2024
Services
Share
Amazon EC2 instances support bandwidth configurations for VPC and EBS
December 13th, 2024
Services
Share
AWS announces new AWS Direct Connect location in Osaka, Japan
December 13th, 2024
Services
Share
Amazon DynamoDB announces support for FIPS 140-3 interface VPC and Streams endpoints
December 13th, 2024
Services
Share