Deploy Langflow on Google Cloud Platform
This guide demonstrates deploying Langflow on Google Cloud Platform.
To deploy Langflow on Google Cloud Platform using Cloud Shell, use the below script.
The script guides you through setting up a Debian-based VM with the Langflow package, Nginx, and the necessary configurations to run the Langflow dev environment in GCP.
Prerequisites
- A Google Cloud project with the necessary permissions to create resources
Deploy Langflow in GCP
-
Click the following button to launch Cloud Shell:
-
Click Trust repo. Some gcloud commands may not run in an ephemeral Cloud Shell environment.
-
Click Start and follow the tutorial to deploy Langflow.
Pricing
This deployment uses a spot (preemptible) instance, which is a cost-effective option for running Langflow. However, due to the nature of spot instances, the VM may be terminated at any time if Google Cloud needs to reclaim the resources.
For more information, see the GCP pricing calculator.