Skip to main content

LangFlow on Google Cloud Run

LangFlow on Google Cloud Run

LangFlow is an open-source, low-code visual builder for AI agents and workflows, built on LangChain — you assemble language-model chains, RAG pipelines, and agents by dragging and wiring components on a canvas, then expose them as APIs. This module deploys LangFlow on Cloud Run v2 on top of the App_CloudRun foundation, which provisions and manages the shared Google Cloud infrastructure.

This guide focuses on the cloud services LangFlow uses and how to explore and operate them from the Google Cloud Console and the command line. For the mechanics common to every Cloud Run application — service identity, ingress and load balancing, scaling and concurrency, CI/CD, Cloud Armor, IAP, Binary Authorization, VPC Service Controls, backups, and the deployment lifecycle — refer to the App_CloudRun foundation guide rather than repeating them here.


What LangFlow costs on RAD, and how that compares​

LangFlow on RAD's Cloud Run module costs about US$84 a month in a Google Cloud project you own, plus a one-off 75-credit (US$7.50) module fee. LangFlow itself is free and open source, so this is the infrastructure cost of your own canvas, on top of whatever the LLM providers you wire into it charge separately. If you only need it occasionally — prototyping a flow, a workshop — a RAD-managed project can be deleted and restored within 30 days for a handful of credits, so that US$84 becomes a few dollars a month instead. See Pause it for free, below.

What you pay on RAD​

In a Google Cloud project you ownIn a project RAD manages for you
Module fee, once per deployment75 credits (US$7.50 at the top-up price)67.5 credits (10% lower)
Build timeA few credits per buildThe same
Google Cloud running costBilled by Google to your own billing account, about US$84 a month for the default configuration (table below)Metered hourly in credits; RAD publishes 32 credits a day, about 960 a month (about US$96 at the top-up price, US$77 at the Scale plan's rate)
Who owns whatYou own the project and its billing; RAD deploys and updates itRAD owns the project, with guardrails, quotas and budget alerts; you get console access, and a minimum purchased balance is held in reserve

10 credits cost US$1 on a one-off top-up, and less on a monthly plan. In a project RAD manages, the database, file server and network are shared by every application in the project, so a second application does not add a second database.

Default running cost in your own project (us-central1, Google list prices):

Resource (module default)Per month
Cloud Run, 1x vCPU / 2 GiB (scaleToZero)US$13.16
Cloud SQL for PostgreSQL, 1 vCPU / 3.75 GB, zonal, 10 GB SSDUS$51.02
NFS/cache file server (small VM)US$13.43
Cloud NAT and networkingUS$5.00
Cloud Storage (add-ons, backups)US$1.00
Totalabout US$84

How it compares​

  • DataStax, which maintains LangFlow, offers a free hosted cloud account, but publishes no fixed monthly price for it — it is usage/credit-based rather than a flat subscription, so we don't quote a number here.
  • Sized to LangFlow's own 1 vCPU/2 GiB plus its shared file server, a Hetzner CPX22 or DigitalOcean 2 vCPU/4 GB Droplet (about US$24/month) could run LangFlow and Postgres together for less in cash terms — but you then run Postgres, backups, security patches and the file store yourself.
  • Either way, the LLM provider calls LangFlow makes are billed separately by whichever model you wire in, on both RAD and a self-managed box.
  • See the GKE guide for a deployment that stays available continuously.

Pause it for free: delete a RAD-managed project, restore it when you need it​

If LangFlow runs in a project RAD manages for you, you have a second option that goes well beyond scaling to zero: delete the whole project, and restore it within 30 days for close to nothing. This suits LangFlow you only need occasionally — a course project, a demo, a short-lived evaluation — far better than running it continuously.

  • How it works. Deleting a RAD-managed project unlinks its billing first, then asks Google to delete the project. Google does not remove the project immediately: it keeps it, recoverable, for 30 days. Because billing is already unlinked, nothing is charged while it waits. Unlike deleting one module, this does not tear down Cloud SQL, any VM or LangFlow's own compute one by one — the whole project, and everything in it, simply stops.
  • Restoring costs a handful of credits, not a rebuild. Within 30 days, the project's owner can restore it. RAD asks Google to undelete the project and reattaches its billing account, then asks you to run Update on each deployment to confirm everything came back. Because nothing was individually destroyed, that Update finds the same resources already there — it is a check, not a rebuild, and an Update never charges the module fee again. For LangFlow behind a small Services_GCP and Project_GCP, that is a handful of credits (under US$1) in total, against the 80 credits a full redeploy costs.
  • What this needs. You must own the project (not a bring-your-own one RAD only manages billing for), and you restore it yourself within the 30 days — after that, Google deletes it for good. Restoring is admitted like creating a new project: your purchased credit balance must still clear the tier's floor (100 credits for the sandbox tier most study and demo use fits). Google says most services are fully working again within 36 hours of a restore.
  • One real gap: the backup bucket does not survive. LangFlow's nightly backups are written to a bucket inside the project, and that bucket is not protected by Cloud Storage's soft-delete, so it is very likely gone as soon as you delete the project — even though the project itself is recoverable for 30 days. If you've customised LangFlow and want to keep that work, copy a backup out (to Google Drive, or a bucket outside the project) before you delete, the same as the redeploy workflow below. For a default installation with nothing irreplaceable in it, this does not matter.

Pay only while you use it, the other way: delete and redeploy​

Cloud Run already scales to zero between requests. The option above only applies to a RAD-managed project; in your own project, or once the 30-day window has passed, the way to stop paying is to delete the deployment and deploy it again when you need it.

  • What a redeploy costs. The module fee again plus the builds: about 80 credits (US$8.00), because RAD recreates the project and shared services before LangFlow. Deleting saves money only once LangFlow would otherwise sit unused for about three days or more, both in your own project (about US$2.79 a day) and in a RAD-managed one (32 credits a day).
  • Delete everything LangFlow uses. Most of the running cost is usually the database and the shared file/cache VM. They stop only when nothing else in the project uses it, so deleting LangFlow while something else shares the project saves only LangFlow's own compute part.
  • Keep your data first. Nightly backups go to a bucket inside the deployment and are deleted with it, so copy the latest backup out before deleting if you want to keep it.

Lab sessions and Managed Environments​

  • Lab sessions, for training. A trainer runs a LangFlow session for a class. Each participant gets LangFlow in their own Google Cloud project for 15 minutes to 24 hours, within an allowance the trainer sets. Either the trainer funds every place up front, or each participant pays for their own. Everything is deleted when the session ends, and unused credits go back to the trainer.
  • Managed Environments, for consultancies. A partner runs LangFlow for a client from a ring-fenced wallet it funds, and settles with the client directly. If the wallet runs low, billing pauses and the data is kept, so nobody receives an unexpected charge. At the end of the engagement the partner hands the project over, and the deployments become the client's own.

Credits can be bought in more than 20 currencies, including XAF, XOF, NGN, GHS, KES and ZAR, by card, bank transfer or mobile money.

Sources (8 October 2026): Google Cloud list prices from the Cloud Billing Catalog API; RAD fees and the 32-credit daily estimate from radmodules.dev/pricing; Delete and restore projects for the 30-day recovery window and what it says about Cloud Storage objects without soft delete. Prices change; check each source before relying on a figure.

1. Overview​

LangFlow runs as a single Python (FastAPI + React) container on Cloud Run v2. The deployment wires together a focused set of Google Cloud services:

CapabilityGoogle Cloud serviceNotes
ComputeCloud Run v2Python service on port 7860, 1 vCPU / 2 GiB by default, serverless autoscaling; scale-to-zero supported
DatabaseCloud SQL for PostgreSQL 15Required — LangFlow persists all flows, components, and credentials in Postgres
Object storageCloud StorageA data bucket is provisioned by default (storage_buckets) but left unmounted (gcs_volumes = []) — LangFlow keeps all application state in PostgreSQL
Cache & queueRedis (optional)Not required by LangFlow; wired for forward compatibility only
SecretsSecret ManagerAuto-generated LANGFLOW_SECRET_KEY and LANGFLOW_SUPERUSER_PASSWORD; database password
IngressCloud Run URL / Cloud Load BalancingDefault run.app URL; optional external HTTPS load balancer + custom domain

Sensible defaults worth knowing up front:

  • PostgreSQL 15 is mandatory. The database engine is fixed by the shared application layer (database_type = "POSTGRES_15"); selecting any other engine breaks startup.
  • LANGFLOW_SECRET_KEY is generated automatically and stored in Secret Manager. It encrypts every stored credential embedded in a flow. It must never be rotated after first boot — rotating it permanently breaks all stored credentials, which then have to be re-entered in each flow.
  • The admin account is provisioned from a generated password. LANGFLOW_AUTO_LOGIN = "false" turns on authentication; LangFlow creates the initial admin (admin by default) using the LANGFLOW_SUPERUSER_PASSWORD secret. Retrieve it from Secret Manager to log in.
  • Scale-to-zero is enabled by default (min_instance_count = 0). Cold starts add several seconds of latency — plus first-boot Alembic migrations on a fresh instance. Set min_instance_count = 1 to keep the canvas warm for interactive editing.
  • max_instance_count = 1 by default. LangFlow keeps in-process session and flow state; run a single instance unless you have externalised state and understand the implications.
  • Public ingress by default. ingress_settings = "all" exposes the run.app URL. Enabling IAP places Google sign-in in front of the whole service, including its API.
  • NFS holds uploads, and the default GCS bucket is unmounted. Flows, users and credentials live in PostgreSQL; NFS is on by default (enable_nfs = true, mounted at /data as LangFlow's config directory, where uploaded files are kept) and must stay on, while the auto-provisioned data bucket is not mounted into the container (gcs_volumes = []) — it exists for you to wire up only if a custom component needs object storage.
  • LANGFLOW_DATABASE_URL is composed at runtime by the container entrypoint from the injected DB_* variables (TCP DSN, sslmode=require on Cloud Run) — you do not set it yourself.

2. Google Cloud Services & How to Explore Them​

All commands assume PROJECT and REGION are set. Service and resource names are reported in the deployment Outputs.

A. Cloud Run — the LangFlow service​

LangFlow runs as a Cloud Run v2 service that autoscales by request load between the minimum and maximum instance counts. Each deployment creates an immutable revision; traffic can be split across revisions for safe rollouts.

  • Console: Cloud Run → select the service for revisions, traffic, logs, and metrics.
  • CLI:
    gcloud run services list --project "$PROJECT" --region "$REGION" \
    --filter="metadata.name~langflow"
    gcloud run services describe <service-name> --project "$PROJECT" --region "$REGION"
    gcloud run revisions list --service <service-name> --project "$PROJECT" --region "$REGION"

See App_CloudRun for scaling, concurrency, execution environment, and traffic splitting.

B. Cloud SQL for PostgreSQL 15​

LangFlow stores all application data (flows, components, credentials, run history, users) in a managed Cloud SQL for PostgreSQL 15 instance. The service connects privately over the instance private IP (the entrypoint composes a TCP DSN with sslmode=require); the Cloud SQL Auth Proxy Unix socket is also mounted. On first deploy an initialization Job creates the application database, role, and grants.

  • Console: SQL → select the instance for connections, backups, flags, metrics.
  • CLI:
    gcloud sql instances list --project "$PROJECT" --filter="name~langflow"
    gcloud sql instances describe <instance-name> --project "$PROJECT"
    gcloud sql connect <instance-name> --user=<db-user> --database=<db-name> --project "$PROJECT"

The instance name, database, user, and password secret are in the Outputs. See App_CloudRun for the connection model, backups, and password rotation.

C. Redis (optional — not used by LangFlow)​

Redis is disabled by default and LangFlow does not require it; the enable_redis inputs are wired for forward compatibility only. Leave enable_redis = false unless a future feature needs it.

  • CLI (only if enabled):
    gcloud run services describe <service-name> --region "$REGION" \
    --format='value(spec.template.spec.containers[0].env)'

D. Secret Manager​

Two secrets are generated automatically and stored in Secret Manager: LANGFLOW_SECRET_KEY (encrypts all stored credentials) and LANGFLOW_SUPERUSER_PASSWORD (the initial admin login password). The database password is managed separately by the foundation.

  • Console: Security → Secret Manager.
  • CLI:
    gcloud secrets list --project "$PROJECT" --filter="name~langflow"
    gcloud secrets versions access latest --secret=<secret-name> --project "$PROJECT"

See App_CloudRun for injection and rotation details.

E. Networking & ingress​

The service is reachable at its run.app URL by default. An external HTTPS load balancer with a custom domain, Cloud CDN, and Cloud Armor can be layered on; ingress settings and VPC egress control connectivity.

  • Console: Cloud Run (service URL); Network services → Load balancing.
  • CLI:
    gcloud run services describe <service-name> --region "$REGION" --format='value(status.url)'
    gcloud compute addresses list --project "$PROJECT"

See App_CloudRun.

F. Cloud Logging & Monitoring​

Container logs flow to Cloud Logging; Cloud Run and Cloud SQL metrics flow to Cloud Monitoring, with optional uptime checks and alert policies.

  • Console: Logging → Logs Explorer; Monitoring → Dashboards / Alerting.
  • CLI:
    gcloud run services logs read <service-name> --project "$PROJECT" --region "$REGION" --limit 50

3. LangFlow Application Behaviour​

  • First-deploy database setup. An initialization Job (db-init) runs the Foundation's generic db-init.sh script using postgres:15-alpine. It waits for PostgreSQL, then idempotently creates the application role and database, sets ownership, and grants privileges on the database. It is safe to re-run.
  • Schema migrations on start. LangFlow runs its Alembic migrations on every container start, so the tables are created and upgraded by the application itself — the db-init job only handles role/database/grants. Allow extra time on first boot.
  • LANGFLOW_SECRET_KEY is immutable after first boot. It is generated once and written to Secret Manager. Changing it permanently breaks every stored credential embedded in a flow; they can no longer be decrypted. Only rotate during a planned maintenance window with a plan to re-enter credentials.
  • Initial admin account. With LANGFLOW_AUTO_LOGIN = "false", LangFlow creates the superuser (admin by default, set via langflow_username) using the LANGFLOW_SUPERUSER_PASSWORD secret. Retrieve the password and log in:
    gcloud secrets versions access latest \
    --secret=<langflow-password-secret> --project "$PROJECT"
  • Database URL is composed at runtime. The entrypoint builds LANGFLOW_DATABASE_URL from the injected DB_* vars over TCP (DB_IP, sslmode=require on Cloud Run) — do not set it manually unless you intend to override the whole DSN.
  • Health path. Startup and liveness probes target /health, LangFlow's public liveness endpoint that returns 200 once the server is up. The default startup probe allows a 60-second initial delay plus a 60 × 10s (600s) failure window to cover first-boot component loading and Alembic migrations.
  • Inspect job execution:
    gcloud run jobs list --project "$PROJECT" --region "$REGION"
    gcloud run jobs executions list --job <job-name> --project "$PROJECT" --region "$REGION"

4. Configuration Variables​

Variables are grouped exactly as they appear on the deployment platform. Only settings specific to or notable for LangFlow are listed; every other input is inherited from App_CloudRun with its standard behaviour.

Group 1 — Project & Identity​

VariableDefaultDescription
project_id(required)Target Google Cloud project.
regionus-central1Region for the service and regional resources.

All other inputs follow standard App_CloudRun behaviour.

Group 2 — Deployment Environment​

VariableDefaultDescription
tenant_iddemoShort suffix that makes resource names unique per environment.
support_users[]Emails granted project access and monitoring alerts.
resource_labels{}Labels applied to all resources.

All other inputs follow standard App_CloudRun behaviour.

Group 3 — Application Identity​

VariableDefaultDescription
application_namelangflowBase name for resources. Do not change after first deploy.
application_display_nameLangFlowHuman-readable name shown in the Console.
application_versionlatestLangFlow image version tag; pins base image 1.10.2 when latest. Pin explicitly in production.
langflow_usernameadminInitial superuser (admin) username; the password is auto-generated in Secret Manager.

All other inputs follow standard App_CloudRun behaviour.

Group 4 — Runtime & Scaling​

VariableDefaultDescription
deploy_applicationtrueSet false to provision infrastructure only.
container_image_sourcecustomLangFlow is built from the wrapped image via Cloud Build.
cpu_limit1000mCPU per instance.
memory_limit2GiMemory per instance; keep ≥ 1 GiB for the Python runtime.
min_instance_count00 enables scale-to-zero; set 1 to keep the canvas warm.
max_instance_count1Keep at 1 — LangFlow holds in-process state.
container_port7860LangFlow listens on port 7860.
execution_environmentgen2Gen2 required for NFS/GCS Fuse mounts.
timeout_seconds300Maximum request duration (0–3600 seconds).
enable_cloudsql_volumetrueCloud SQL Auth Proxy socket mount.
enable_image_mirroringtrueMirrors the container image into Artifact Registry before deployment.

All other inputs follow standard App_CloudRun behaviour.

Group 5 — Access & Networking​

VariableDefaultDescription
ingress_settingsallall exposes the public run.app URL.
vpc_egress_settingPRIVATE_RANGES_ONLYRoute only RFC 1918 traffic via VPC.
enable_iapfalseRequire Google sign-in in front of the whole service.
iap_authorized_users / iap_authorized_groups[]Who may access through IAP.

All other inputs follow standard App_CloudRun behaviour.

Group 6 — Environment Variables & Secrets​

VariableDefaultDescription
environment_variables{}Extra non-secret settings merged over the LangFlow defaults. Do not set LANGFLOW_SECRET_KEY, LANGFLOW_SUPERUSER_PASSWORD, or LANGFLOW_DATABASE_URL here.
secret_environment_variables{}Map of env var → Secret Manager secret name (e.g. LLM provider API keys).
secret_propagation_delay30Seconds to wait after secret creation before proceeding.
secret_rotation_period2592000sSecret Manager rotation notification frequency.

All other inputs follow standard App_CloudRun behaviour.

Group 7 — Backup & Maintenance​

VariableDefaultDescription
backup_schedule0 2 * * *Automated Cloud SQL backup cron (UTC).
backup_retention_days7Retention; raise for production/compliance.
enable_backup_import / backup_source / backup_file / backup_formatrestore optionsRestore from a backup on deploy.

All other inputs follow standard App_CloudRun behaviour.

Group 8 — CI/CD & Binary Authorization​

Standard App_CloudRun Cloud Build / Cloud Deploy integration — see App_CloudRun. Key inputs: enable_cicd_trigger, github_repository_url, github_token, enable_cloud_deploy, enable_binary_authorization.

Group 9 — Custom SQL Scripts & Initialization​

enable_custom_sql_scripts, custom_sql_scripts_bucket, custom_sql_scripts_path, custom_sql_scripts_use_root — run SQL from a GCS bucket after provisioning. See App_CloudRun.

Group 10 — Load Balancer, CDN & Image Retention​

VariableDefaultDescription
enable_cloud_armorfalseProvision Global HTTPS LB + Cloud Armor WAF.
admin_ip_ranges[]CIDR ranges exempted from WAF rules.
application_domains[]Custom domain names for the HTTPS LB.
enable_cdnfalseEnable Cloud CDN on the HTTPS LB backend.
max_images_to_retain / delete_untagged_images / image_retention_days(set)Artifact Registry cleanup policy.

All other inputs follow standard App_CloudRun behaviour.

Group 11 — Storage & Filesystem​

VariableDefaultDescription
create_cloud_storagetrueCreate GCS buckets defined in storage_buckets.
storage_buckets[{ name_suffix = "data" }]One data bucket is declared by default; extend the list for custom components.
enable_nfstrueMust stay true on Cloud Run: the mount is LangFlow's config directory, where uploaded files live. Flows, users and credentials are in Cloud SQL either way.
nfs_mount_path/dataMount path inside the container (when NFS is enabled).
gcs_volumes[]GCS Fuse volume mounts (requires gen2).
manage_storage_kms_iam / enable_artifact_registry_cmekfalseCMEK options.

All other inputs follow standard App_CloudRun behaviour.

Group 12 — Database Backend​

VariableDefaultDescription
database_typePOSTGRES_15Fixed — LangFlow requires PostgreSQL 15.
application_database_namelangflowdbPostgreSQL database name. Immutable after first deploy.
application_database_userlangflowuserApplication database user. Password auto-generated in Secret Manager.
database_password_length32Generated password length.
enable_postgres_extensions / postgres_extensionsoffOptional Postgres extensions.
enable_auto_password_rotation / rotation_propagation_delay_secoffDB password rotation.

All other inputs follow standard App_CloudRun behaviour.

Group 13 — Jobs & Scheduled Tasks​

VariableDefaultDescription
initialization_jobs[{ name = "db-init", image = "postgres:15-alpine", script_path = "scripts/db-init.sh", execute_on_apply = true }]Built-in job that creates the application role, database, and grants on first deploy. Override with a non-empty list to run different jobs.
cron_jobs[]Scheduled Cloud Run jobs (none required by LangFlow).
additional_services[]Sidecar/helper services deployed alongside LangFlow.

All other inputs follow standard App_CloudRun behaviour.

Group 14 — Observability & Health​

VariableDefaultDescription
startup_probeHTTP /health, 60s delay, 60 × 10s failure windowStartup probe. The generous 600s window past the 60s delay accounts for LangFlow's first boot (loading all components + seeding starter projects before uvicorn binds — 2–4 minutes) as well as first-boot Alembic migrations.
liveness_probeHTTP /health, 30s delayLiveness probe.
startup_probe_configHTTP /health, enabledApp_CloudRun-level structured probe (parallel to startup_probe, which is passed to LangFlow_Common).
health_check_configHTTP /health, enabledApp_CloudRun-level structured liveness probe (parallel to liveness_probe).
uptime_check_configdisabledCloud Monitoring uptime check; enable for production monitoring.
alert_policies[]Metric alert policies.

All other inputs follow standard App_CloudRun behaviour.

Group 21 — Redis Cache (optional)​

VariableDefaultDescription
enable_redisfalseNot used by LangFlow; wired for forward compatibility only.
redis_host / redis_port / redis_auth"" / 6379 / ""Redis connection settings (only if enabled).

All other inputs follow standard App_CloudRun behaviour.

Group 22 — VPC Service Controls & Audit Logging​

VariableDefaultDescription
enable_vpc_scfalseEnforce a VPC-SC perimeter (requires organization_id).
vpc_cidr_ranges / vpc_sc_dry_run(set)Access level CIDRs / dry-run mode.
enable_audit_loggingfalseDetailed Cloud Audit Logs.

All other inputs follow standard App_CloudRun behaviour.


5. Outputs​

Returned on a successful deployment — the quickest way to locate and explore the running resources.

OutputDescription
service_nameCloud Run service name.
service_urlDefault run.app URL of the service.
service_locationRegion the service runs in.
stage_servicesStage-specific service URLs (Cloud Deploy).
load_balancer_ip / load_balancer_urlExternal HTTPS load balancer IP / URL (when enabled).
database_instance_nameCloud SQL instance name.
database_name / database_userApplication database name / user.
database_password_secretSecret Manager secret holding the DB password.
database_host / database_portDB endpoint / port.
storage_bucketsCreated Cloud Storage buckets (a data bucket by default).
network_name / network_exists / regionsVPC network, presence, regions.
container_image / container_registryDeployed image and Artifact Registry repo.
monitoring_enabled / monitoring_notification_channels / uptime_check_namesMonitoring status, channels, uptime checks.
initialization_jobsNames of the setup jobs.
deployment_id / tenant_id / resource_prefixNaming identifiers.
project_id / project_numberProject identifiers.
cicd_enabled / github_repository_url / github_repository_owner / github_repository_name / cicd_configurationCI/CD status and details.
artifact_registry_repository / cloudbuild_trigger_name / cloudbuild_trigger_idRegistry and build trigger.
vpc_sc_enabled / vpc_sc_perimeter_name / vpc_sc_dry_run_modeVPC-SC status.
audit_logging_enabled / artifact_registry_cmek_enabledAudit logging and CMEK status.

6. Configuration Pitfalls & Sensible Defaults​

Risk: Critical (data loss / outage / security) — High (service degraded) — Medium (cost or partial degradation) — Low (minor).

Inherited plan-time validation. This module passes its configuration through the App_CloudRun foundation engine, which validates values and combinations at plan time — IAP with no authorized identities, a gen1 runtime with NFS/GCS mounts, a database_type that does not match an enabled extension, an out-of-range redis_port/backup_retention_days, and more. Invalid configuration fails the plan with a clear, named error before any resource is created, so most mistakes below are caught up front rather than at apply or runtime.

SettingSensible valueRiskConsequence if wrong
LANGFLOW_SECRET_KEY (auto-generated)Never rotate after first bootCriticalRotating it permanently breaks every stored credential embedded in a flow — they cannot be decrypted and must be re-entered.
application_database_name / application_database_userSet onceCriticalImmutable after first deploy; renaming recreates the DB/user and destroys all flows and credentials.
database_typePOSTGRES_15CriticalLangFlow requires PostgreSQL 15; any other engine breaks startup.
enable_backup_importfalse unless restoringCriticalEnabling without a valid backup source fails the import job.
LANGFLOW_SUPERUSER_PASSWORD (auto-generated)Retrieve from Secret ManagerHighThis is the admin login; losing it means no way to sign in until it is reset.
memory_limit2GiHighValues below 1 GiB risk OOM kills for the Python runtime under load.
max_instance_count1HighLangFlow keeps in-process session/flow state; scaling beyond 1 splits state across instances and causes inconsistent behaviour.
enable_iaponly when API auth not needed externallyHighIAP puts Google sign-in in front of the whole service, including its programmatic API.
container_port7860HighLangFlow listens on 7860; a mismatched port fails all health probes.
min_instance_count1 for interactive useMediumScale-to-zero (0) adds cold-start latency plus first-boot migration time on a fresh instance.
enable_cloudsql_volumetrueMediumDisabling removes the socket mount; the entrypoint then relies solely on the private-IP TCP path.
backup_retention_days7 (raise for prod)MediumToo short for compliance retention.
enable_cloud_armorenable for productionMediumThe UI and API are publicly reachable without WAF protection.

For the foundation behaviour referenced throughout — service identity, scaling and concurrency, ingress and load balancing, CI/CD, Cloud Armor, IAP, Binary Authorization, VPC-SC, backups, and image building — see App_CloudRun. LangFlow-specific application configuration shared with the GKE variant is described in LangFlow_Common.

Need RAD to do something it does not do yet? Request it on the roadmap, or vote on what is already there.