AI Cloud Architect

Reducing container cold start times using SOCI index on DLAMI and DLC

AWSHow-to by Ohad Katz, Nick Song and Yadan WeiAWS Artificial Intelligence Blog

In this post, we look at how to use SOCI on publicly available Deep Learning AMIs and Containers, when to use the various SOCI modes provided by the tool, and how to quickly and efficiently use this tool in your workloads today.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Deep Learning AMIs and Deep Learning Containers now support the SOCI snapshotter, with lazy loading via SOCI indexes or parallel pull, to cut GPU container startup time.

Who it is for

Teams running vLLM or SGLang inference and training containers on EC2 GPU instances that need faster scale-out.

Key points

  • AWS benchmark: vLLM DLC startup on g5.2xlarge fell from 6m59s (Docker) to 21s with SOCI lazy loading.
  • Lazy loading needs a SOCI index in the registry; without one, it falls back to standard pull.
  • Parallel pull mode cut a 19.3 GB SGLang image pull from 4m44s to 2m13s, per AWS's test on g5.4xlarge with private ECR.
  • Public ECR is fronted by CloudFront, which AWS says limits bandwidth for parallel mode.

The same at other vendors

Different approachGoogle posted earlier

GoogleHow-to

A Guide to AI Cold Starts on Cloud Run

AI:Both cut GPU model container cold starts, but AWS uses SOCI lazy-loading snapshots where the Cloud Run guide uses config levers.

Timeline

Posts about AWS Deep Learning Containers, oldest first.

  1. How-toConfigure and verify a distributed training cluster with AWS Deep Learning Containers on Amazon EKS · AWS · How-to
  2. This postReducing container cold start times using SOCI index on DLAMI and DLC
  3. How-toRun multi-node inference workloads using Ray LLM Deep Learning Containers · AWS · How-to