Self-Hosted¶
Versions¶
There are two versions of the self-hosted deployment: Self-Hosted Data Plane and Self-Hosted Control Plane.
Self-Hosted Data Plane¶
The Self-Hosted Data Plane deployment option is a "hybrid" model for deployment where we manage the control plane in our cloud and you manage the data plane in your cloud. This option provides a way to securely manage your data plane infrastructure, while offloading control plane management to us.
When using the Self-Hosted Data Plane version, you authenticate with a LangSmith API key.
Self-Hosted Control Plane¶
The Self-Hosted Control Plane deployment option is a fully self-hosted model for deployment where you manage the control plane and data plane in your cloud. This option give you full control and responsibility of the control plane and data plane infrastructure.
Requirements¶
- You use
langgraph-cli
and/or LangGraph Studio app to test graph locally. - You use
langgraph build
command to build image.
How it works¶
- Deploy Redis and Postgres instances on your own infrastructure.
- Build the docker image for LangGraph Server using the LangGraph CLI.
- Deploy a web server that will run the docker image and pass in the necessary environment variables.
Note
The LangGraph Platform Deployments view is optionally available for Self-Hosted LangGraph deployments. With one click, self-hosted LangGraph deployments can be deployed in the same Kubernetes cluster where a self-hosted LangSmith instance is deployed.
For step-by-step instructions, see How to set up a self-hosted deployment of LangGraph.
Helm Chart¶
If you would like to deploy LangGraph Cloud on Kubernetes, you can use this Helm chart.