Skip to content

Commit c91300e

Browse files
committed
Edtis3
1 parent 29d8e0f commit c91300e

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

articles/container-apps/sessions.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: container-apps
55
author: craigshoemaker
66
ms.service: azure-container-apps
77
ms.topic: concept-article
8-
ms.date: 04/07/2025
8+
ms.date: 04/01/2026
99
ms.author: cshoe
1010
ms.custom: references_regions, ignite-2024
1111
---
@@ -14,29 +14,30 @@ ms.custom: references_regions, ignite-2024
1414

1515
Azure Container Apps dynamic sessions provide fast access to secure sandboxed environments that are ideal for running code or applications that require strong isolation from other workloads.
1616

17-
Dynamic sessions offer prewarmed environments through a [session pools](./session-pool.md) that starts the container in milliseconds, scales on demand, and maintains strong isolation. This makes them ideal for interactive workloads, running LLM generated scripts, and secure execution of custom code.
18-
17+
Dynamic sessions offer prewarmed environments through [session pools](./session-pool.md) that start the container in milliseconds, scale on demand, and maintain strong isolation. This makes them ideal for interactive workloads, running LLM generated scripts, and secure execution of custom code.
1918

2019
## Benefits
20+
2121
With sessions, you get:
2222

2323
- **Secure isolation**: Hyper-V isolation and optional network controls protect your environment. Sessions are isolated from each other and from the host environment, providing enterprise-grade security and isolation.
2424
- **Sandboxed environments**: Each session runs in its own isolated environment, ensuring that workloads don't interfere with each other.
2525
- **Instant Startup**: Prewarmed pools enable subsecond launch times for interactive workloads. New sessions are allocated in milliseconds thanks to pools of ready but unallocated sessions.
26-
- **Scalable by Design**: Handle hundreds or thousands of concurrent sessions without manual intervention.
27-
- **Managed lifecycle**: Sessions are automatically deprovisioned after use or after a configurable cooldown period, ensuring efficient resource usage.
28-
26+
- **Scalable by Design**: Handle hundreds or thousands of concurrent sessions without manual intervention.
27+
- **Managed lifecycle**: Sessions are automatically deprovisioned after use or after a configurable cooldown period, ensuring efficient resource usage.
2928

3029
## Common Scenarios
30+
3131
Dynamic sessions are useful in a variety of situations, including:
32+
3233
- **AI/LLM Workflows**: Safely execute AI-generated code in isolated environments without risking your production systems.
3334
- **Interactive Development**: Provide developers with fast, disposable environments for testing scripts or prototypes without provisioning full apps.
3435
- **Secure Code Execution**: Run untrusted or user-submitted code in a sandboxed environment with strong isolation.
3536
- **Custom Compute Tasks**: Execute short-lived jobs that require custom dependencies or runtime environments without long startup times.
3637
- **Burst Workloads**: Handle unpredictable spikes in demand by scaling sessions up and down automatically.
3738

38-
3939
## Key Concepts
40+
4041
- **Session Pool**: A session pool is the foundation for dynamic sessions. It contains a set of prewarmed, ready-to-use sessions that enable near instant startup. When a request comes in, the system allocates a session from the pool instead of creating one from scratch, which dramatically reduces latency.
4142

4243
- **Session**: A session is the actual execution environment where your code or container runs. Sessions are ephemeral and isolated, designed for short-lived tasks. When you create a session, it's allocated from the session pool, ensuring fast startup. After the task completes or the cooldown period expires, the session is destroyed and resources are cleaned up.
@@ -49,8 +50,7 @@ Dynamic sessions are useful in a variety of situations, including:
4950
- **Code interpreter session pools**: These use platform built-in containers that provide preconfigured environments for running code, including AI-generated scripts. Ideal for scenarios like LLM-driven workflows or secure code execution.
5051
- **Custom container session pools**: Bring-your-own-container for custom workloads that require specific dependencies or runtime environments.
5152

52-
53-
#### Session pool types comparison
53+
### Session pool types comparison
5454

5555
| | **Code interpreter session pool** | **Custom container session pool** |
5656
|---------------|------------------------------|------------------------------|
@@ -59,11 +59,10 @@ Dynamic sessions are useful in a variety of situations, including:
5959
| **When to choose** | Choose this for simplicity, fastest startup, and minimal setup. | Choose this when you need full control over the execution environment or rely on custom dependencies. |
6060
| **Ideal use cases** | LLM workflows, code interpretation, educational/sandbox scenarios, safe execution of user code. | Custom compute tasks, proprietary interpreters, specialized environments, or workloads with specific OS/library requirements. |
6161
| **Language and protocol** | Limited to the built-in runtimes and the REST API surface provided by the code interpreter. | Any language or stack supported by your container, with any TCP protocol you choose to expose. |
62-
| **Image requirement** | Noneuses platform built‑in interpreter environments. | Requiredsupply your own container image URI. |
62+
| **Image requirement** | None, uses platform built‑in interpreter environments. | Required, supply your own container image URI. |
6363

6464
For more information, see [Usage](./sessions-usage.md).
6565

66-
6766
## Supported regions
6867

6968
Dynamic sessions are available in the following regions. Both code interpreter and custom container sessions are supported in all listed regions.
@@ -89,14 +88,14 @@ Dynamic sessions are available in the following regions. Both code interpreter a
8988
> Regional availability may change. To verify current availability, check the **Location** dropdown when creating a session pool in the Azure portal.
9089
9190
## Security
92-
Dynamic sessions are designed to run untrusted code in isolated environments. For information about securing your sessions, see [Security](./sessions-usage.md#security).
9391

92+
Dynamic sessions are designed to run untrusted code in isolated environments. For information about securing your sessions, see [Security](./sessions-usage.md#security).
9493

9594
## Billing
96-
Custom container sessions are billed based on the resources consumed by the session pool. For more information, see [Azure Container Apps billing](./billing.md#dynamic-sessions).
9795

96+
Custom container sessions are billed based on the resources consumed by the session pool. For more information, see [Azure Container Apps billing](./billing.md#dynamic-sessions).
9897

9998
## Next steps
100-
- Learn how to configure [session pools](./session-pool.md)
101-
- Learn how to use [dynamic sessions](./sessions-usage.md), including security and best practices
10299

100+
- Learn how to configure [session pools](./session-pool.md)
101+
- Learn how to use [dynamic sessions](./sessions-usage.md), including security and best practices

0 commit comments

Comments
 (0)