Seoul region benchmark: AgentCore Runtime V2 cuts 2GB image cold start from 27.51 seconds to 1.81 seconds

Key point

In a Seoul region test, AgentCore Runtime V2 reduced cold start time for a 2GB image from 27.51 seconds to 1.81 seconds.

1 / 5

Details

  • In a comparison of AgentCore Runtime V2 and V1 in the Seoul region, cold start p75—the time until a new session is ready to handle its first request—measured 1.70–1.81 seconds regardless of image size or concurrency.
  • With 5 calls at a time, p75 for 200MB, 1GB, and 2GB images was 5.37 seconds, 13.41 seconds, and 27.51 seconds, respectively, on V1, and 1.77 seconds, 1.74 seconds, and 1.81 seconds on V2. With 50 concurrent calls, V2 recorded 1.70 seconds, 1.80 seconds, and 1.81 seconds for each image size, respectively.
  • The estimated cost for 1,000 sessions, assuming the same call pattern, fell by 30% for 200MB images, from 0.146 USD on V1 to 0.102 USD on V2; by 81% for 1GB images, from 0.604 USD to 0.113 USD; and by 90% for 2GB images, from 1.161 USD to 0.119 USD.
  • Although V2's per-vCPU-hour rate is 42.6% higher and its per-GB-hour rate is 78.8% higher, in a test that allocated 1.5GB and then released it, the memory remaining billed was 1.60GB on V1 and 0.08GB on V2.

Snapshot and session behavior

  • When a runtime is created or updated, V2 initializes the container and saves the environment as a snapshot after the first GET /ping health check passes; new sessions start by restoring that snapshot.
  • The boot_id values for 30 sessions comprised 30 distinct values on V1 and 2 on V2, supporting the conclusion that V2 sessions were restored from a pre-created snapshot.

Things to check before switching

  • AWS announced that it would make the new runtime the default in 19 regions, including Seoul, on November 12, 2026; existing runtimes remain on their current version until they are migrated directly.
  • V2 runtimes took 185.44–215.78 seconds to reach READY, while V1 reached that state in under 3 seconds. A build warm-up hook can add up to 120 seconds to the preparation time, and you should use get-agent-runtime to check for READY before the next task.
  • Random numbers generated at startup, elapsed-time baselines, and expiring credentials can be frozen in the snapshot, so values needed for each request should be generated in the handler. Clients intended for reuse can be prepared at startup.
  • V2 supports compressed images up to 10GB, while V1 has a 2GB limit. If an image exceeds 2GB, you must set minimumMemoryInMiB to a higher value, and you will be billed at that baseline until the session ends.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.