mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 14:35:50 +08:00
* fix: nightly now properly gets 1.9.0 branch (#12215) before it was attempting to pull release-notes as letters are alphanumerically after numbers when we sort -V then grab tail now we only look at branch names that follow the pattern '^release-[0-9]+\.[0-9]+\.[0-9]+$' * docs: add search icon (#12216) add-back-svg * initial-content * cut-1.8-release-and-include-next-version * stage-1.8.0-and-next --------- Co-authored-by: Adam-Aghili <149833988+Adam-Aghili@users.noreply.github.com>
27 lines
1.5 KiB
Plaintext
27 lines
1.5 KiB
Plaintext
---
|
|
title: Deploy Langflow on Google Cloud Platform
|
|
slug: /deployment-gcp
|
|
---
|
|
|
|
This guide demonstrates how to deploy Langflow on [Google Cloud Platform](https://console.cloud.google.com/) with a Cloud Shell script that walks through the process of setting up a Debian-based VM with the Langflow package, Nginx, and the necessary configurations to run the Langflow development environment in GCP.
|
|
|
|
To use this script, you need a Google Cloud project with the necessary permissions to create resources.
|
|
|
|
1. Follow this link to launch the Cloud Shell with the GCP deployment script from the Langflow repository:
|
|
|
|
[](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/langflow-ai/langflow&working_dir=scripts/gcp&shellonly=true&tutorial=walkthroughtutorial.md)
|
|
|
|
2. Click **Trust repo**.
|
|
|
|
Some `gcloud` commands may not run in an ephemeral Cloud Shell environment.
|
|
|
|
3. Click **Start**, and then follow the tutorial to deploy Langflow.
|
|
|
|
:::info
|
|
This deployment uses a [spot (preemptible) instance](https://cloud.google.com/compute/docs/instances/preemptible) as a cost-effective option to demonstrate how to deploy Langflow on GCP.
|
|
However, due to the nature of spot instances, the VM can be terminated at any time if Google Cloud needs to reclaim the resources.
|
|
|
|
For a more stable deployment, consider using a regular VM instance instead of a spot instance.
|
|
|
|
For more information, see the [GCP pricing calculator](https://cloud.google.com/products/calculator?hl=en).
|
|
::: |