Step-by-Step Guides
Deploy on Google Cloud Platform
Run Langflow from a New Google Cloud Project
This guide will help you set up a Langflow development VM in a Google Cloud Platform project using Google Cloud Shell.
:::note When Cloud Shell opens, be sure to select Trust repo. Some gcloud
commands might not run in an ephemeral Cloud Shell environment. :::
Standard VM
This script sets up a Debian-based VM with the Langflow package, Nginx, and the necessary configurations to run the Langflow Dev environment.
Spot/Preemptible Instance
When running as a spot (preemptible) instance, the code and VM will behave the same way as in a regular instance, executing the startup script to configure the environment, install necessary dependencies, and run the Langflow application. However, due to the nature of spot instances, the VM may be terminated at any time if Google Cloud needs to reclaim the resources. This makes spot instances suitable for fault-tolerant, stateless, or interruptible workloads that can handle unexpected terminations and restarts.
Pricing (approximate)
For a more accurate breakdown of costs, please use the GCP Pricing Calculator