# Architecture patterns for fast session startup on Amazon Bedrock AgentCore runtime

DevFeed: [Architecture patterns for fast session startup on Amazon Bedrock AgentCore runtime](<https://devfeed.tech/articles/architecture-patterns-for-fast-session-startup-on-amazon-bedrock-agentcore-runtime-133423.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/machine-learning/architecture-patterns-for-fast-session-startup-on-amazon-bedrock-agentcore-runtime/>)

Author: Evandro Franco

Published: 2026-11-13T22:02:39Z

Content type: article

Language: en

Sources: [Artificial Intelligence](<https://devfeed.tech/sources/artificial-intelligence.md>)

Topics: [Amazon Bedrock AgentCore](<https://devfeed.tech/topics/amazon-bedrock-agentcore.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [app startup](<https://devfeed.tech/topics/app-startup.md>), [Amazon CloudWatch](<https://devfeed.tech/topics/amazon-cloudwatch.md>)

Tags: [agentcore](<https://devfeed.tech/tags/agentcore.md>), [agentcore-runtime](<https://devfeed.tech/tags/agentcore-runtime.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [bedrock](<https://devfeed.tech/tags/bedrock.md>), [bedrock-agentcore](<https://devfeed.tech/tags/bedrock-agentcore.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [environment](<https://devfeed.tech/tags/environment.md>), [expert-400](<https://devfeed.tech/tags/expert-400.md>), [fast](<https://devfeed.tech/tags/fast.md>), [first](<https://devfeed.tech/tags/first.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [image](<https://devfeed.tech/tags/image.md>), [keep](<https://devfeed.tech/tags/keep.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [post](<https://devfeed.tech/tags/post.md>), [request](<https://devfeed.tech/tags/request.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [session](<https://devfeed.tech/tags/session.md>), [startup](<https://devfeed.tech/tags/startup.md>)

## AI overview

AgentCore runtime V2 builds an initialized environment once, snapshots its memory and disk, then restores it in a fresh microVM for each session. Memory-held objects return ready, while image files are fetched on first read; init work therefore moves to deploy time, though create or update takes a few minutes and larger snapshots can increase restore time and memory cost. The post recommends measuring `Latency` and `OverheadLatency`, moving static setup into init, keeping dynamic and per-session values in the handler, and using build hooks for files or tools init cannot prepare. For sub-second interactive starts, pre-warm a session when the user opens the app; this can hide startup delay but uses a session even if the user never sends a prompt.

## Source excerpt

Amazon Bedrock AgentCore runtime V2 snapshots your initialized environment and restores it for each new session, so session start no longer grows with image size. This post explains how V2 starts a session, how to measure session start time, and four patterns to keep work off the first request.