Dify high availability

Dify high availability means removing single points of failure across the API, workers, metadata database, cache, vector store and file storage. This page explains which parts need clustering, what Dify Enterprise on Kubernetes requires and what the Community Compose stack cannot provide.

On this page

Dify high availability for teams whose AI apps cannot go down

High availability for Dify means that no single server, process or data store can stop your workflows, knowledge base apps and agents from answering. Dify is made of several stateless services (the api, worker and web containers, plus the plugin daemon) and several stateful dependencies (a metadata database, Redis, a vector store and file storage). Each one needs its own redundancy plan. The Community edition's Docker Compose stack, documented in the Dify Docker Compose guide, starts all of these on one host, which is fine for evaluation or a single team but leaves the whole platform exposed to one machine failing. The Dify deployment overview describes Kubernetes-based high availability as part of Dify Enterprise, so confirm with Dify which HA features and deployment artifacts your Enterprise contract includes before you design around them.

The difficulty is less in running extra copies than in keeping them consistent. Replicas of the api and worker must share the same SECRET_KEY, because that value signs session cookies and JWTs and encrypts OAuth credentials, and changing it later logs out every user. Replicas also need one shared metadata database, shared Redis state for queues and caching, and shared object storage for uploaded documents. Where the database, Redis or vector store is clustered, you must confirm how failover behaves for in-flight ingestion jobs and how long a knowledge base may be unavailable during a node loss. Ask for those answers in writing, and test a node failure in a staging copy before go-live.

The third difficulty is change. Dify ships minor releases about monthly (the releases page lists 1.16.0 on July 17, 2026 and 1.17.0 on August 25, 2026), and a release can add environment variables, change the plugin daemon or alter the deployment layout. An HA cluster has to be upgraded one component at a time without losing sessions or queued jobs, so plan a rolling upgrade path, a tested backup of the database, vector store and object storage before each change, and a rollback procedure. Confirm the Enterprise resource requirements, such as the Kubernetes, Helm, PostgreSQL, Redis and Qdrant versions listed in the Dify Enterprise resources checklist, against your own cluster before you size anything.

Which Dify components need redundancy and which hold state

A Dify deployment is only as available as its weakest stateful component. Stateless services such as api, worker and web can usually run as several replicas, while the metadata database, cache, vector store, object storage and sandbox hold data or session state that must survive a node loss. Map each component to one of these two groups before you choose a topology.

Api service

The api container serves the Dify console and application endpoints. It is the main candidate for horizontal replicas behind a load balancer, provided every replica reads the same SECRET_KEY, database and Redis settings. Check that session behavior and token-based service authentication hold across replicas before you scale out.

Environment variables

Worker service

The worker processes background jobs such as document indexing and knowledge base ingestion. Its queue lives in Redis and its results in the database, so workers are replicable, and adding more of them raises indexing throughput. Confirm that queue depth and failed jobs are monitored, since a stalled worker looks healthy from the web tier.

Web frontend

The web container serves the static interface that users load in the browser. It holds no data, so it can be replicated freely behind the same ingress as the api. Confirm how the console and web app URLs are routed to each tier, because a single ingress hostname is a common point of failure.

PostgreSQL metadata database

PostgreSQL stores apps, workflows, accounts, dataset metadata and job records. It is the component whose loss would stop the platform and whose recovery point matters most, so it must sit on a managed or clustered deployment with replication and tested restores. The Enterprise checklist requires PostgreSQL 14 or later. Ask who owns failover and backup verification.

Resources checklist

Redis and the vector store

Redis holds caching and queue state, while the vector store holds embeddings for knowledge bases. Redis should be external and highly available, and Dify's Enterprise checklist calls for Redis 6 or later. The Community stack defaults to Weaviate, while the Enterprise checklist names Qdrant as a three-node cluster, so the vector store needs its own replication and restore plan.

Object storage and sandbox

Uploaded files and documents are kept in object storage, which should be S3-compatible or cloud storage with versioning or replication. The code sandbox and SSRF proxy are supporting services that run generated code and filter outbound requests. Both can be replicated, but confirm how their configuration and network policies are kept identical across instances.

How the HA parts of Dify connect

The diagram starts at the load balancer or ingress, which spreads user traffic across replicated web and api pods. The api pods hand background work to worker pods through Redis, and both read and write state in an external PostgreSQL service. Knowledge base retrieval goes to a clustered Qdrant store, and files move to S3-compatible object storage. The dashed trust boundary marks the SSRF proxy and code sandbox, which handle outbound and code execution requests. Check that every shared store is reachable from all replicas and that the boundary blocks internal addresses.

Shared stores and the trust boundary in a Dify HA layout.

Which HA decisions shape the design and what each one costs you

This table compares the main high availability decisions for Dify, from the deployment model to the state services behind it. Read each row as a choice that sets how much you operate yourself and where failures can still take the platform down. The main takeaway is that Community Compose is a single-host stack, so real redundancy depends on moving state and workers onto infrastructure you can scale and recover independently.

DecisionWhen it fitsWhat it costs you operationally
Community Compose versus Dify Enterprise on Kubernetes with HelmCompose fits evaluation and single-workspace use on one host. Kubernetes with Helm fits when you need high availability, SSO and multiple workspaces.Compose is simple but runs core services on one host. Enterprise on Kubernetes needs a cluster team, Helm 3.14 or later and a commercial license quote.
PostgreSQL in the cluster versus external serviceIn-cluster suits lab use. An external managed or dedicated PostgreSQL 14 or later fits production where backups and failover are owned by a database team.In-cluster ties database recovery to cluster storage. External adds network, credential and backup ownership, plus the need to confirm failover behavior with your provider.
Redis as a single instance versus clustered or managedA single instance may suit a pilot. Clustered or managed Redis 6 or later fits production workloads that cannot lose sessions or task queues on one node failure.A single instance is a single point of failure for queue and cache traffic. Clustered or managed options add cost and require confirming Dify's supported topology with the vendor.
Qdrant clustered versus Weaviate defaultsWeaviate is the Community default and works for many knowledge bases. A clustered Qdrant fits Enterprise deployments, which the resources checklist names with a three-node example.Qdrant clustering adds nodes, storage and monitoring. Switching stores later requires rebuilding knowledge bases, since document content is not exported with app DSL files.
S3-compatible storage versus local volumesLocal volumes suit single-host Compose. S3-compatible or cloud object storage fits multi-node setups where pods or workers must share uploaded files.Object storage adds bucket policies, lifecycle rules and access keys to manage. Local volumes tie file availability to one node and complicate restores.
In-house operation versus fixed-scope partner buildIn-house fits teams already running Kubernetes, PostgreSQL and vector databases at production standard. A fixed-scope partner build fits teams that need the cluster designed and documented before go-live.In-house carries ongoing upgrades, monthly minor releases and backup testing. A partner build front-loads design and scope, with ongoing support priced separately through a written quote.

How to build an HA Dify in sequence, with the check that closes each step

This sequence moves a Dify deployment from single-host containers to an Enterprise install on Kubernetes where state lives in external services and every stateless component can be replaced or scaled. Each step ends with a check you can run before moving on.

  1. Confirm the Kubernetes and Helm baseline

    Your platform team confirms the cluster runs Kubernetes 1.24 or later and that the workstation or pipeline used for installs has Helm 3.14 or later. Confirm this against the Dify Enterprise resources checklist before ordering infrastructure, since the chart depends on these versions. Check is complete when kubectl version and helm version both report at or above those minimums and a test namespace can be created and deleted without errors.

  2. Provision external PostgreSQL and Redis

    Create a PostgreSQL instance on version 14 or later and a Redis instance on version 6 or later, both outside the Dify containers and reachable from the cluster's private network. Use a managed service or a self-run HA pair according to your standards, and confirm backup and failover behavior with the provider. Check is complete when you can connect to both from a debug pod using the credentials you will store in the cluster's secret store, and the database accepts a write and read round trip.

  3. Provision the Qdrant cluster and S3-compatible storage

    Stand up a three-node Qdrant cluster, which is the layout in Dify's Enterprise checklist, and an S3-compatible or cloud object storage bucket for uploaded documents and generated files. Restrict bucket access to a dedicated service identity and enable versioning or retention only after confirming it does not conflict with Dify's file handling. Check is complete when a test object can be written and read through the storage endpoint and each Qdrant node reports healthy in the cluster status.

  4. Move metadata, file and vector settings out of local containers

    Point the Dify configuration at the external PostgreSQL database, the object storage bucket and the Qdrant cluster instead of the local PostgreSQL, file volume and Weaviate containers used in Docker Compose. Keep these values in Helm values or a secret, reviewed like any other infrastructure change. Check is complete when a freshly started api pod logs successful database migration and storage connection, and a test knowledge base created after the change indexes a sample document into Qdrant rather than a local volume.

  5. Set one shared SECRET_KEY and inter-service token configuration

    Generate a single SECRET_KEY and set the same value on every api, worker and web replica, since it signs session cookies and JWTs and encrypts OAuth credentials. Configure the token-based authentication between services with values that all replicas share. Store both in your secret manager and document the rotation procedure, because changing SECRET_KEY after deployment logs out all users. Check is complete when a user who signs in through one api replica stays signed in when requests are routed to another replica.

  6. Install the Enterprise chart with Helm

    Install the Dify Enterprise chart into a dedicated namespace using the values from the previous steps, and confirm the image versions match the release your license covers. Include the SSRF proxy and sandbox settings your security review requires rather than leaving them at defaults. Check is complete when all pods reach Ready, the readiness probes pass, and helm status reports a deployed release with no failed hooks.

  7. Scale api and worker deployments and test pod restarts

    Set replica counts for the api and worker deployments and enable autoscaling only after you have measured load. Dify's Enterprise production example uses six worker nodes with 8 CPUs and 32 GB of RAM each, labelled as Dify's example. Your sizing will depend on your workflows, document volume and model latency, so treat that figure as a reference point, not a recommendation. Check is complete when you delete one api pod and one worker pod during a running workflow, and the workflow either completes or retries without user-visible data loss.

  8. Configure SSO and verify a knowledge base query after failover

    Connect the identity provider using the protocol your organization standardizes on, such as OpenID Connect, SAML or OAuth2, and test workspace access and web app access separately. Then run a knowledge base query while a Qdrant node and a web pod are restarted. Check is complete when sign-in succeeds through the identity provider on every replica, and the knowledge base query returns the same cited passages before and after the restarts.

How Community Compose and Enterprise Kubernetes differ for availability

The Docker Compose deployment starts the whole Dify stack on one host: the api, worker, web and plugin daemon services, plus PostgreSQL, Redis, Weaviate, Nginx, the code sandbox and the SSRF proxy. It is the quickest route to a working instance and suits evaluation, internal pilots and teams that accept one machine as the unit of failure. The documented minimum is 2 CPU cores, 4 GB of RAM and Docker Compose 2.24.0 or later, which is a starting point for testing rather than a production sizing.

  • Single-host dependency: every core service, including the metadata database, cache and vector store, shares one machine's disk, memory and network path.
  • Single workspace: the Community edition is free and limited to one workspace, so separate business units cannot be isolated as tenants on this edition.
  • Upgrade path: upgrades follow the guide for the target version on the releases page, a backup is recommended before every upgrade, and .env.example should be checked for new variables.
  • No Enterprise high availability: the Kubernetes high availability design, SSO and multi-workspace management belong to the Enterprise edition, not to Community Compose.

Before treating a Compose instance as production, check the host sizing, the backup location and the time a restore takes against the outage your users can tolerate.

What drives HA effort and cost, and how to keep each one down

This table compares the main drivers of high availability work for a self-hosted Dify deployment, with what raises effort and how to hold it down. Read it as a checklist for scoping: each driver changes infrastructure spend, licensing, build labor or ongoing operations, and most of them are decided before any build starts.

DriverWhat raises effortHow to keep it down
Workspaces and usersEach extra workspace needs multi-workspace support, which the Community edition does not provide. Larger user counts raise worker and database sizing.Confirm the workspace model early. Decide whether Enterprise licensing is needed before designing the cluster.
Knowledge base data volumeLarge document sets raise vector store memory, storage and reindexing time. Clustered vector databases add nodes to run and monitor.Size a sample corpus first and measure growth. Keep document ingestion scheduled rather than continuous where possible.
Model providers and pluginsEach provider credential, plugin daemon change and outbound endpoint adds testing and firewall rules across the cluster.Limit providers to those the business approved. Test each plugin in staging before it reaches the highly available production setup.
Environments (dev, test, production)Three environments mean three sets of databases, object buckets, vector clusters and secrets to build and keep aligned.Use one reproducible Helm values set with per-environment overrides. Confirm which environments need full redundancy.
SSO and identity integrationOIDC, SAML or OAuth2 setup, separate workspace and web app SSO scopes and session policy all need joint testing with the identity team.Agree protocol, scopes and session duration in writing before configuration. Test with a pilot group before cutover.
Compliance evidence requirementsAssessors may ask for architecture diagrams, failover test records, backup restore evidence and access logs, which take time to produce and keep current.Ask the assessor which evidence they expect. Schedule failover and restore tests so records are generated as part of routine operations.
Sandbox and plugin customizationCustom code nodes, tools and plugins run in sandboxed or networked contexts that must be validated on each upgrade and scaled with the workers.Keep custom code minimal and documented. Include customizations in the upgrade test plan and confirm their resource needs.
Cost componentsInfrastructure (cluster nodes, databases, storage), licensing (Community or Enterprise, custom priced), build labor and ongoing operations (upgrades, monitoring, on-call).Ask for a quote that separates one-time build work from recurring operations and names each infrastructure component.

What must stay consistent across replicas for security

Does every Dify replica need the same SECRET_KEY?

Yes. SECRET_KEY signs session cookies and JWTs and encrypts OAuth credentials, so replicas holding different values cannot validate each other's sessions or read stored OAuth credentials. Changing the value after deployment logs out all users, which makes it a value you set once and protect. Store it in your secrets manager and inject the same value into every api and worker pod through your Helm values or a Kubernetes secret reference. Before each upgrade, confirm the value has not changed. If you ever rotate it, plan a maintenance window and tell users they will need to sign in again. Ask your rollout team where the value lives, who can read it, and whether it is included in your configuration backups. Confirm the exact effects of a change in the Dify environment variable reference.

Why must the SSRF proxy stay on every outbound path?

The SSRF proxy routes outbound requests through a proxy that blocks internal and private IP ranges, which limits what workflows, tools and model calls can reach from inside your network. If any replica, worker or tool path bypasses it, that protection no longer applies to the requests made from that path. Set the SSRF_PROXY settings consistently across every component that makes outbound calls, and verify each deployment uses the same values after every change. Include the proxy in your network policy review, since a misrouted egress path is easy to miss in a multi-replica setup. A practical check is to build a test workflow that requests an internal address and confirm the request is refused. Ask your team to show the proxy configuration for each workload and the test results.

What is token-based API authentication between Dify services?

The Dify 1.16.1 release notes describe token-based API authentication between services, so internal calls between components carry a credential that the receiving service checks. In a high availability setup, every replica of each service must run a version that understands this check and must be configured with matching values. During a rolling upgrade, mixed versions can exist for a period, so confirm how the upgrade handles that window before you start. Verify the exact variable names and any new settings in the environment variable reference and the upgrade guide for your target version, rather than copying settings from a blog post or an older install. Ask your team to document which services authenticate to which, and to show the test results after an upgrade. The Dify releases page lists each version and its notes.

How does agent sandbox network isolation work in Dify?

The Dify 1.16.1 release notes describe agent sandbox network isolation through a Squid proxy, which controls the network destinations that sandboxed agent code can reach. For high availability, the proxy is part of the outbound path, so if it runs as a single instance, it becomes a single point of failure for sandbox egress. Confirm from the release notes and your deployment files whether the Squid proxy runs as its own workload, how it is scaled or made redundant, and how allowed destinations are configured. Then test the behavior: run an agent that attempts a destination you have not allowed and confirm it is refused, and confirm an allowed destination still works. Ask your engineers to record the proxy version, its configuration and the test results as part of your change records.

Where are Dify workspace encryption keys stored?

Workspace encryption keys can be stored locally or in Azure Key Vault, according to the Dify environment variable reference. The choice decides who holds the key material and how it is recovered after a failure. Local storage keeps keys inside your deployment, so every replica must reach the same key material and that material must be covered by your backups and restore tests. Azure Key Vault moves custody to a managed service, which can fit organizations that already govern keys in Azure, but it adds a dependency, network paths and access policies that you must plan for. Ask your team how replicas authenticate to the vault, how key access is logged, how rotation is handled, and how a restore is tested. Confirm the settings in the environment variable reference for your version.

How do workspace and web app SSO scopes differ in Dify?

Dify Enterprise SSO documentation lists separate SSO scopes for workspace access and web app access, so you can configure who signs in to the workspace console separately from who uses published web apps. Enterprise SSO supports OpenID Connect, SAML and OAuth2, with identity providers such as Microsoft Entra ID, Okta and GitHub. Set both scopes explicitly and test each one with a non-administrator account, so you know what each group can reach. For high availability, the identity provider settings must be identical on every replica, and every ingress path must reach the identity provider. Ask the rollout team to document the mapping from identity groups to workspace roles, the session duration, and how sign-out behaves across replicas. The Dify Enterprise SSO introduction covers the protocols and scopes.

How to test that Dify stays up and fails safely

Start with a failure test plan run against the staging copy of the Enterprise Kubernetes deployment before go-live, and write down the expected result for each test before running it. Begin with the stateless tier. Delete individual api and worker pods during a live session and confirm that the user's session survives, since session state should sit in the shared database and cache rather than in a pod. Then submit a document batch to a knowledge base, delete worker pods while the jobs are queued and running, and confirm that every job reaches a completed or clearly failed state with no documents silently missing. Check the job counts against the workspace before and after. Run the same tests at the worker count you plan to use in production, not a smaller test size, because the scaling behavior is what you are testing.

Next, test the stateful dependencies one at a time. Fail the active Redis or PostgreSQL primary and measure how long the apps take to return, then compare the observed behavior with the failover and reconnection behavior in your chosen service's own documentation, since the managed or operator-based product defines what recovery is supposed to look like. For the Qdrant cluster, take one node offline and run a fixed set of retrieval queries with known expected answers. The goal is that retrieval slows or returns fewer results but does not return wrong content or crash the workflow. Separately, make the object store unreachable and confirm that uploads and file-dependent steps return clear errors in the console and logs, and that no document is marked as indexed without its stored file. Finally, attempt a SECRET_KEY change on a running deployment and confirm that your change process blocks it, because changing the key logs out all users and the procedure should be a planned event, not an accident.

Before go-live, run and document a restore drill from backup into a separate environment. Restore the PostgreSQL database, the object storage content and the Qdrant data, bring the application up against them, and check that a known app, workflow, knowledge base and user can be used. Record the elapsed time and every manual step, and confirm that the restored environment still uses the original SECRET_KEY and workspace encryption configuration. Ask your provider to confirm which of these stores are included in the backup scope, how the vector data is captured, and whether a restore has been tested against the exact versions you run. Repeat the drill after each upgrade, because the upgrade guide recommends a backup before every upgrade and the drill proves that the backup is usable.

What to monitor, back up, upgrade and document after go-live

A highly available Dify is only as reliable as the operations around it. The cards below cover what your team watches, what it restores, how it upgrades, and what it writes down so that the topology survives staff changes. Each item addresses a different failure mode, and together they decide whether an outage is a short event or a long one.

Monitor pods, queues and connections

Watch pod health for the api, worker, web and plugin daemon deployments, not just the ingress. Track the backlog of the worker queue, since a growing queue shows that document indexing or workflow jobs are falling behind even when the web tier looks healthy. Also watch PostgreSQL connection counts from the api and worker pools, because connection exhaustion is a common way a multi-replica setup fails under load. Confirm alert thresholds with your platform team and your own traffic profile.

Back up database, objects and vectors

Back up PostgreSQL, the object storage bucket that holds uploaded files, and the vector store behind knowledge bases. Restoring only the database leaves documents or embeddings out of step with the metadata that references them. Take a backup before every upgrade and test a restore into a non-production namespace on a schedule your risk owners accept. Confirm the vector store's own snapshot options with your vendor, since the supported method depends on the store you chose.

Plan upgrades by version

Minor releases of Dify arrive roughly monthly, so an upgrade is a recurring task, not a one-time project. Follow the upgrade guide published for each target version on the GitHub releases page, and schedule upgrades in a staging environment first. The releases from 1.16.0 on July 17, 2026 through 1.17.1 on September 10, 2026 show the pace to plan around. Keep a rollback path tied to the backup taken for that upgrade.

Dify releases

Check .env.example after each upgrade

New releases can add environment variables that the running deployment does not yet set. After each upgrade, compare your .env file with the .env.example shipped for the target version and record every new key with its chosen value. Pay particular attention to variables that govern storage, the vector store, the SSRF proxy and the sandbox, since defaults in those areas affect availability and security. Store the reviewed file in version control so changes are traceable.

Document topology and secrets ownership

Record which components run in your cluster, which are managed services, and where each one sits across availability zones. Name an owner for the SECRET_KEY, the database credentials, the object storage keys and the model provider keys, and record how each is rotated. Note that changing SECRET_KEY after deployment logs out all users, so rotation needs a planned window. Keep the record next to the runbooks for failover, restore and scaling.

Write and rehearse runbooks

Write short runbooks for the events your team is most likely to face: a worker queue backlog, a failed API rollout, a lost database node, and a restore from backup. Each runbook should name the person who acts, the commands or console steps used, and the check that confirms recovery. Rehearse at least the restore path before go-live and after major changes, because an untested backup is an assumption. Confirm the support boundaries of your Dify edition before writing escalation steps.

What buyers ask before hiring help for Dify high availability

How much does a high availability Dify project cost?

No price is published for a high availability project, and the cost depends on the written scope. The Community edition is free to download and run, but it is limited to a single workspace and has no published high availability path. The self-hosted Enterprise edition is custom priced on the Dify pricing page, so the license is a separate line from the engineering. Cost components usually include discovery of your current environment, Kubernetes and Helm packaging, external PostgreSQL, Redis, the clustered vector database and S3 storage, testing of failover, and handover documentation. One-time work covers the build and cutover. Recurring costs cover the Enterprise subscription, cloud infrastructure, model usage, and upgrades. Ask any partner for a quote that separates these items, names who pays Dify for the license, and lists what is excluded.

How long does a high availability Dify deployment take?

Duration depends on how much of the target platform already exists and how many decisions are still open. The main drivers are whether Kubernetes 1.24 or later and Helm 3.14 or later are already running, whether PostgreSQL 14 or later, Redis 6 or later and a Qdrant cluster can be provisioned, and whether S3-compatible storage is available. Timelines also stretch when identity integration, network policy and change approval are on the critical path. Dify ships minor releases roughly monthly, so the version you target and the upgrade path matter. Ask for a schedule that ties each phase to a client dependency and a test gate, and confirm the timeline is written into the fixed scope before work starts.

Can our in-house platform team build a highly available Dify without a partner?

Yes, if your team already operates Kubernetes, Helm charts, managed PostgreSQL and Redis, and object storage in production. The harder parts are not the install commands but the failure testing: draining nodes, losing a database replica, restarting workers under load, and confirming that sessions, background jobs and knowledge base indexing recover. Your team also needs to track release changes, the .env variables introduced between versions, and the plugin daemon. Many organizations split the work, keeping operations in house and bringing in a partner for the initial design, the cluster build and a retest. Decide based on the people who will be on call, not only on the first deployment.

What does the client need to provide for a high availability Dify project?

The engagement depends on access and decisions that only you can supply. Expect to provide the following:

  • Cluster access to a Kubernetes environment that meets the Enterprise resource checklist, with namespaces, storage classes and network policies you approve
  • Your identity provider administrator, for OpenID Connect, SAML or OAuth2 with Entra ID or Okta, if SSO is in scope
  • Named data owners who decide retention, backup scope and which knowledge bases are migrated
  • Change windows for cutover, plus a rollback plan approved by your change board
  • Access to object storage buckets, database services and a secrets store for the SECRET_KEY and other credentials

Without these, schedules slip. Confirm each item in the written scope.

Can Dify Community Docker Compose be made highly available?

No. The Community Docker Compose stack runs the api, worker, web, plugin daemon, PostgreSQL, Redis, Weaviate, Nginx, the code sandbox and the SSRF proxy on a single host. Restarting containers or adding replicas on that host does not remove the host as a single point of failure, and it does not give you a multi-node control plane. Making the platform resilient means moving the stateful services to managed or clustered systems, running stateless components across several nodes, and storing files in shared object storage. The Dify deployment overview positions Enterprise on Kubernetes as the high availability option, so the practical route is that Enterprise path or a supported design you can verify yourself.

What should we confirm with Dify before signing an Enterprise contract?

Ask Dify to confirm the items that determine whether the Enterprise path fits your environment. Confirm the supported Kubernetes, Helm, PostgreSQL, Redis and Qdrant versions, and whether other vector stores are supported in the high availability configuration. Ask how Enterprise upgrades are delivered, how the Enterprise version relates to the monthly community releases, and what support covers after go-live. Confirm the SSO scopes and session behavior for workspace and web app access, the licensing terms for multiple workspaces and any branding changes, and the commercial terms, including term length and renewal. Request these answers in writing and attach them to the contract.

How DeployOpen scopes, builds and hands over HA Dify

DeployOpen plans and implements self-hosted open-source platforms inside the client's own cloud accounts, data centers or air-gapped networks. For Dify high availability, we start from the written scope, build the Kubernetes deployment with its external dependencies, and leave your team with documentation and tested runbooks.

How we scope

  • Confirm which Dify edition and deployment model fits the required availability target before any build work starts.
  • Inventory the target Kubernetes version, Helm version, PostgreSQL, Redis, vector store and S3-compatible storage your environment provides.
  • Agree the written scope, deliverables and timeline in writing before work begins, as engagements are fixed-scope by default.

How we build

  • Deploy Dify on Kubernetes with Helm, with worker scaling, external PostgreSQL, Redis and clustered vector storage configured.
  • Set up SECRET_KEY handling, S3 object storage, backups and network paths so that no single component holds the platform up.
  • Test failover of each stateful dependency and worker node, then record the results against the agreed scope.

How we hand over

  • Deliver architecture documentation covering each component, its replicas, its recovery path and its configuration owner.
  • Provide runbooks for upgrades, backup restores and node or database failover, written for your platform team to operate.
  • Walk your engineers through the deployment and failover tests so the knowledge stays with your team after go-live.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the build.
  • Support can cover reviewing each Dify minor release and its upgrade guide before your team applies it to the cluster.
  • Ask any support provider to confirm response expectations and coverage in writing before the retainer is signed.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.