Skip to content

Commit 9583ab2

Browse files
authored
Combine self-hosted control plane and standalone container into single deployment option (#100)
....for simpler content and product packaging :) We technically will still have four deployment options, but we will display two of them as sub options within the broader `Self-Hosted` option, which I think is a lot more clear
1 parent a6d04c6 commit 9583ab2

20 files changed

+184
-191
lines changed

src/docs.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,17 @@
174174
"pages": [
175175
"langgraph-platform/deployment-options",
176176
"langgraph-platform/cloud",
177-
"langgraph-platform/self-hosted-data-plane",
178-
"langgraph-platform/self-hosted-control-plane",
179-
"langgraph-platform/standalone-container"
177+
"langgraph-platform/hybrid",
178+
"langgraph-platform/self-hosted"
180179
]
181180
},
182181
{
183182
"group": "Guides for deployment",
184183
"pages": [
185184
"langgraph-platform/deploy-to-cloud",
186-
"langgraph-platform/deploy-self-hosted-data-plane",
187-
"langgraph-platform/deploy-self-hosted-control-plane",
188-
"langgraph-platform/deploy-standalone-container",
185+
"langgraph-platform/deploy-hybrid",
186+
"langgraph-platform/deploy-self-hosted-full-platform",
187+
"langgraph-platform/deploy-data-plane-only",
189188
"langgraph-platform/use-remote-graph"
190189
]
191190
},

src/langgraph-platform/cloud.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ The Cloud SaaS deployment option is a fully managed model for deployment where w
1313
| **Managed by** | LangChain | LangChain |
1414
| **Infrastructure**| LangChain's cloud | LangChain's cloud |
1515

16-
![Cloud SaaS](/langgraph-platform/images/self-hosted-control-plane-architecture.png)
16+
![Cloud SaaS](/langgraph-platform/images/langgraph-cloud-architecture.png)

src/langgraph-platform/control-plane.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ CPU and memory resources are per replica.
5656

5757
<Info>
5858
**Self-Hosted Deployment**
59-
Resources for [Self-Hosted Data Plane](/langgraph-platform/self-hosted-data-plane) and [Self-Hosted Control Plane](/langgraph-platform/self-hosted-control-plane) deployments can be fully customized. Deployment types are only applicable for [Cloud SaaS](/langgraph-platform/cloud) deployments.
59+
Resources for [Hybrid](/langgraph-platform/hybrid) and [Self-Hosted](/langgraph-platform/self-hosted) deployments can be fully customized. Deployment types are only applicable for [Cloud SaaS](/langgraph-platform/cloud) deployments.
6060
</Info>
6161

6262
#### Production
@@ -95,7 +95,7 @@ There is no direct access to the database. All access to the database occurs thr
9595
The database is never deleted until the deployment itself is deleted.
9696

9797
<Info>
98-
A custom Postgres instance can be configured for [Self-Hosted Data Plane](/langgraph-platform/self-hosted-data-plane) and [Self-Hosted Control Plane](/langgraph-platform/self-hosted-control-plane) deployments.
98+
A custom Postgres instance can be configured for [Hybrid](/langgraph-platform/hybrid) and [Self-Hosted](/langgraph-platform/self-hosted) deployments.
9999
</Info>
100100

101101
### Asynchronous Deployment

src/langgraph-platform/data-plane.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ All traffic from deployments created after January 6th 2025 will come through a
9898
### Custom Postgres
9999

100100
<Info>
101-
Custom Postgres instances are only available for [Self-Hosted Data Plane](/langgraph-platform/self-hosted-data-plane) and [Self-Hosted Control Plane](/langgraph-platform/self-hosted-control-plane) deployments.
101+
Custom Postgres instances are only available for [Hybrid](/langgraph-platform/hybrid) and [Self-Hosted](/langgraph-platform/self-hosted) deployments.
102102
</Info>
103103

104104
A custom Postgres instance can be used instead of the [one automatically created by the control plane](/langgraph-platform/control-plane#database-provisioning). Specify the [`POSTGRES_URI_CUSTOM`](/langgraph-platform/env-var#postgres_uri_custom) environment variable to use a custom Postgres instance.
@@ -108,7 +108,7 @@ Multiple deployments can share the same Postgres instance. For example, for `Dep
108108
### Custom Redis
109109

110110
<Info>
111-
Custom Redis instances are only available for [Self-Hosted Data Plane](/langgraph-platform/self-hosted-data-plane) and [Self-Hosted Control Plane](/langgraph-platform/self-hosted-control-plane) deployments.
111+
Custom Redis instances are only available for [Hybrid](/langgraph-platform/hybrid) and [Self-Hosted](/langgraph-platform/self-hosted) deployments.
112112
</Info>
113113

114114
A custom Redis instance can be used instead of the one automatically created by the control plane. Specify the [REDIS_URI_CUSTOM](/langgraph-platform/env-var#redis_uri_custom) environment variable to use a custom Redis instance.
@@ -119,22 +119,22 @@ Multiple deployments can share the same Redis instance. For example, for `Deploy
119119

120120
LangGraph Server is automatically configured to send traces to LangSmith. See the table below for details with respect to each deployment option.
121121

122-
| Cloud SaaS | Self-Hosted Data Plane | Self-Hosted Control Plane | Standalone Container |
123-
|------------|------------------------|---------------------------|----------------------|
124-
| Required<br />Trace to LangSmith SaaS. | Optional<br />Disable tracing or trace to LangSmith SaaS. | Optional<br />Disable tracing or trace to Self-Hosted LangSmith. | Optional<br />Disable tracing, trace to LangSmith SaaS, or trace to Self-Hosted LangSmith. |
122+
| Cloud SaaS | Hybrid | Self-Hosted |
123+
|------------|------------------------|----------------------|
124+
| Required<br />Trace to LangSmith SaaS. | Optional<br />Disable tracing or trace to LangSmith SaaS. | Optional<br />Disable tracing, trace to LangSmith SaaS, or trace to Self-Hosted LangSmith. |
125125

126126
### Telemetry
127127

128128
LangGraph Server is automatically configured to report telemetry metadata for billing purposes. See the table below for details with respect to each deployment option.
129129

130-
| Cloud SaaS | Self-Hosted Data Plane | Self-Hosted Control Plane | Standalone Container |
131-
|------------|------------------------|---------------------------|----------------------|
132-
| Telemetry sent to LangSmith SaaS. | Telemetry sent to LangSmith SaaS. | Self-reported usage (audit) for air-gapped license key.<br />Telemetry sent to LangSmith SaaS for LangGraph Platform License Key. | Self-reported usage (audit) for air-gapped license key.<br />Telemetry sent to LangSmith SaaS for LangGraph Platform License Key. |
130+
| Cloud SaaS | Hybrid | Self-Hosted |
131+
|------------|------------------------|----------------------|
132+
| Telemetry sent to LangSmith SaaS. | Telemetry sent to LangSmith SaaS. | Self-reported usage (audit) for air-gapped license key.<br />Telemetry sent to LangSmith SaaS for LangGraph Platform License Key. |
133133

134134
### Licensing
135135

136136
LangGraph Server is automatically configured to perform license key validation. See the table below for details with respect to each deployment option.
137137

138-
| Cloud SaaS | Self-Hosted Data Plane | Self-Hosted Control Plane | Standalone Container |
139-
|------------|------------------------|---------------------------|----------------------|
140-
| LangSmith API Key validated against LangSmith SaaS. | LangSmith API Key validated against LangSmith SaaS. | Air-gapped license key or LangGraph Platform License Key validated against LangSmith SaaS. | Air-gapped license key or LangGraph Platform License Key validated against LangSmith SaaS. |
138+
| Cloud SaaS | Hybrid | Self-Hosted |
139+
|------------|------------------------|----------------------|
140+
| LangSmith API Key validated against LangSmith SaaS. | LangSmith API Key validated against LangSmith SaaS. | Air-gapped license key or LangGraph Platform License Key validated against LangSmith SaaS. |

src/langgraph-platform/data-storage-and-privacy.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ When running the LangGraph server (either in-memory or in Docker), LangSmith tra
2727
`langgraph dev` runs an [in-memory development server](/langgraph-platform/local-server) as a single Python process, designed for quick development and testing. It saves all checkpointing and memory data to disk within a `.langgraph_api` directory in the current working directory. Apart from the telemetry data described in the [CLI](#cli) section, no data leaves the machine unless you have enabled tracing or your graph code explicitly contacts an external service.
2828

2929
<a id="langgraph-up"></a>
30-
### Standalone Container
30+
### Data Plane Only
3131

32-
`langgraph up` builds your local package into a Docker image and runs the server as a [standalone container](/langgraph-platform/deployment-options#standalone-container) consisting of three containers: the API server, a PostgreSQL container, and a Redis container. All persistent data (checkpoints, assistants, etc.) are stored in the PostgreSQL database. Redis is used as a pubsub connection for real-time streaming of events. You can encrypt all checkpoints before saving to the database by setting a valid `LANGGRAPH_AES_KEY` environment variable. You can also specify [TTLs](/langgraph-platform/configure-ttl) for checkpoints and cross-thread memories in `langgraph.json` to control how long data is stored. All persisted threads, memories, and other data can be deleted via the relevant API endpoints.
32+
`langgraph up` builds your local package into a Docker image and runs the server as the [data plane](/langgraph-platform/deployment-options#self-hosted) consisting of three containers: the API server, a PostgreSQL container, and a Redis container. All persistent data (checkpoints, assistants, etc.) are stored in the PostgreSQL database. Redis is used as a pubsub connection for real-time streaming of events. You can encrypt all checkpoints before saving to the database by setting a valid `LANGGRAPH_AES_KEY` environment variable. You can also specify [TTLs](/langgraph-platform/configure-ttl) for checkpoints and cross-thread memories in `langgraph.json` to control how long data is stored. All persisted threads, memories, and other data can be deleted via the relevant API endpoints.
3333

3434
Additional API calls are made to confirm that the server has a valid license and to track the number of executed runs and tasks. Periodically, the API server validates the provided license key (or API key).
3535

src/langgraph-platform/deploy-standalone-container.mdx renamed to src/langgraph-platform/deploy-data-plane-only.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
title: How to deploy a standalone container
3-
sidebarTitle: Deploy a standalone container
2+
title: How to deploy self-hosted data plane only
3+
sidebarTitle: Deploy self-hosted data plane only
44
---
5-
Before deploying, review the [conceptual guide for the Standalone Container](/langgraph-platform/standalone-container) deployment option.
5+
Before deploying, review the [conceptual guide for the Data Plane Only](/langgraph-platform/self-hosted#data-plane-only) deployment option.
66

77
## Prerequisites
88

99
1. Use the [LangGraph CLI](/langgraph-platform/langgraph-cli) to [test your application locally](/langgraph-platform/local-server).
1010
2. Use the [LangGraph CLI](/langgraph-platform/langgraph-cli) to build a Docker image (i.e. `langgraph build`).
11-
3. The following environment variables are needed for a standalone container deployment.
11+
3. The following environment variables are needed for a data plane deployment.
1212
1. `REDIS_URI`: Connection details to a Redis instance. Redis will be used as a pub-sub broker to enable streaming real time output from background runs. The value of `REDIS_URI` must be a valid [Redis connection URI](https://redis-py.readthedocs.io/en/stable/connections.html#redis.Redis.from_url).
1313
<Note>
1414
**Shared Redis Instance**

src/langgraph-platform/deploy-self-hosted-data-plane.mdx renamed to src/langgraph-platform/deploy-hybrid.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: How to deploy self-hosted data plane
3-
sidebarTitle: Deploy self-hosted data plane
2+
title: How to deploy hybrid
3+
sidebarTitle: Deploy hybrid
44
---
5-
Before deploying, review the [conceptual guide for the Self-Hosted Data Plane](/langgraph-platform/self-hosted-data-plane) deployment option.
5+
Before deploying, review the [conceptual guide for the Hybrid](/langgraph-platform/hybrid) deployment option.
66

77
<Info>
88
**Important**
9-
The Self-Hosted Data Plane deployment option requires an [Enterprise](/langgraph-platform/plans) plan.
9+
The Hybrid deployment option requires an [Enterprise](/langgraph-platform/plans) plan.
1010
</Info>
1111

1212
## Prerequisites

src/langgraph-platform/deploy-self-hosted-control-plane.mdx renamed to src/langgraph-platform/deploy-self-hosted-full-platform.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: How to deploy self-hosted control plane
3-
sidebarTitle: Deploy self-hosted control plane
2+
title: How to deploy self-hosted full platform
3+
sidebarTitle: Deploy self-hosted full platform
44
---
5-
Before deploying, review the [conceptual guide for the Self-Hosted Control Plane](/langgraph-platform/self-hosted-control-plane) deployment option.
5+
Before deploying, review the [conceptual guide for the Self-Hosted Full Platform](/langgraph-platform/self-hosted-full-platform) deployment option.
66

77
<Info>
88
**Important**
9-
The Self-Hosted Control Plane deployment option requires an [Enterprise](/langgraph-platform/plans) plan.
9+
The Self-Hosted Full Platform deployment option requires an [Enterprise](/langgraph-platform/plans) plan.
1010
</Info>
1111

1212
## Prerequisites

0 commit comments

Comments
 (0)