Moving a Hyperswitch evaluation from Docker Compose to production Kubernetes

A Docker Compose or Helm quickstart is for evaluation only. This page explains what production needs added, how to build it with Terraform and Argo CD, and the checks before go-live.

On this page

Why a Hyperswitch evaluation stack cannot simply be promoted to production

The Docker Compose setup and the Helm quickstart got your team to a working Hyperswitch stack quickly, but the Hyperswitch production certification guide states that both are for evaluation only and that neither is a production path. Treat the local stack as a reference for how the pieces fit together, not as a base image to promote. The short answer on effort is that moving to production is a rebuild of the deployment layer around the same components, and the work is driven by how many of those components you must now run, secure and recover yourself. Confirm the current effort and sequencing with your own platform team or with a partner's written scope, since no duration is set by the evaluation documentation.

The components that must be designed for production are the Router and Scheduler (Producer and Consumer) app services, PostgreSQL with a master and replica, Redis for caching and the scheduler queue, the card vault, the encryption service for key management, and the Control Center. Each one needs its own sizing, replicas, secrets, network policy, backup and restore path. A quickstart typically runs these as single instances with development credentials and default storage, so none of those choices carry over automatically. Ask your team to list every component, the owner of each, and where its state lives before any cluster is provisioned.

Several decisions are upstream of the Kubernetes work and should be settled first: which vault model you run, whether card data enters your PCI DSS scope, how the Control Center authenticates users, and which release and compatibility matrix you pin. The architecture and vault documentation makes these choices visible, and the release notes for v1.124.0 show that a required dependency can appear between releases, so the upgrade path must be planned alongside the first deployment. Confirm each choice in writing, because a production stack built before these answers exist usually has to be rebuilt.

Which evaluation components carry over and which need production design

This table sets each element of a Docker Compose or Helm quickstart against its production counterpart in a self-hosted Hyperswitch stack. Read the middle column as what you have today and the right column as what your cloud design has to supply. The main takeaway is that the quickstart proves the application runs, while database resilience, the card vault, secrets and identity are separate production decisions that the docs leave to you.

ComponentEvaluation setupProduction design to confirm
Router and Scheduler servicesSingle container or Helm release with default valuesSeparate Router and Scheduler (Producer and Consumer) deployments sized and scaled independently, per the architecture docs
PostgreSQLOne database instance in Compose or a chart-managed podManaged or highly available PostgreSQL with a master and replica, backups and tested restore; confirm the replica setup with your chosen cloud
RedisSingle container for cache and scheduler queueRedis service with failover and persistence settings your platform team has approved; confirm eviction and memory behavior
Card vault and encryption serviceUsually not deployed, or deployed with sandbox defaultsSeparate card vault and encryption service with keys held outside the cluster; confirm which vault model you chose before go-live
SecretsLocal environment files or values set in the chartExternal secret store with rotation, access logging and least-privilege service accounts; confirm the integration your platform supports
Ingress and TLSPlain HTTP on localhost or a self-signed certificatePublic or internal ingress with managed certificates, enforced TLS and separate hostnames for API, Control Center and webhooks
Processor credentials and sandbox keysHosted sandbox test credentialsLive processor credentials stored in the secret store, with separate test and live configuration per environment
Control Center loginDefault administrator accountSingle sign-on through OpenID Connect, with users invited first and roles managed in Hyperswitch; SAML is not supported

What the evaluation setups leave out

Docker Compose and the Helm quickstart are built to get a working stack running quickly, not to survive production traffic or an audit. The cards below cover the gaps that most often separate an evaluation from a production deployment, and each one is a decision the team has to make and document before real card data or merchant traffic arrives.

Database high availability

The evaluation setup runs a single PostgreSQL instance. Production needs a primary with a replica, failover that the team has tested, and a clear decision on how the Router and Scheduler reconnect after a switchover. Confirm which PostgreSQL topology the chosen Helm chart or cloud guide expects, and who owns failover when it fails at night. The replica setup is not optional once payments depend on the database.

Self-hosting docs

Router and scheduler scaling

Compose runs one of each service, so any restart stops payment processing. In production the Router (the payment API) and the Scheduler (Producer and Consumer, which handles queued work) need separate replica counts, resource requests and health probes. Redis backs the scheduler queue, so its availability affects scheduled work too. Ask the vendor which settings must change together when you scale either service.

Encryption key custody

Evaluation setups generate keys locally and store them where the team can easily reach them. Production requires a documented answer to who holds the master key, where it is stored, how it is rotated, and who can recover it if a custodian leaves. Decide this before the vault holds live data, because changing key custody later is far harder than setting it up correctly the first time.

Vault network boundaries

The card vault is a separate service, and in production it should sit in its own network segment with tightly limited paths from the Router. Only the services that need to tokenize or detokenize should reach it, and administrative access should be separate from application traffic. Map every allowed connection on paper before you build the network policies, since these boundaries determine which systems fall into PCI DSS scope.

Vault deployment models

Backup and restore testing

A backup that has never been restored is an assumption, not a control. Evaluation stacks typically have no scheduled backups for PostgreSQL, the vault storage or the encryption keys. Production needs backups of each component, copies stored outside the cluster, and a restore rehearsal that brings the whole stack back in a separate environment. Confirm the restore order, because the vault and its keys must be recoverable together.

Observability and alerting

Compose gives you container logs and little else. Production needs metrics, logs and traces from the Router, Scheduler, vault, PostgreSQL and Redis, with alerts on payment failures, queue backlog and certificate expiry. Hyperswitch documents a monitoring chart, so check what it covers and what your team must add. Agree on who receives each alert and how fast they must respond before go-live.

How the production components connect

The diagram starts at the Git repository, which holds the Terraform code and the manifests Argo CD syncs. Terraform bootstraps Argo CD, and Argo CD deploys the Router and Scheduler into the production cluster, so every change arrives through a reviewed commit. Inside the cluster, the Router and Scheduler share the PostgreSQL primary, which streams to a replica, and Redis for caching and the scheduler queue. Card data moves from the Router into the card vault, which sits in its own trust zone with the encryption service. Operators reach the Control Center only after signing in through an OIDC identity provider. Check that the vault zone is network-isolated and that each environment has its own state and sync targets.

Production components, trust zones and the Git-driven delivery path.

How Terraform and Argo CD split the work

Terraform owns the resources that exist before any Hyperswitch pod starts. That usually means the Kubernetes cluster, its networking and ingress path, the managed PostgreSQL service with a primary and replica arrangement, the Redis instance used for caching and the scheduler queue, secret stores, and the key management access that the encryption service and card vault need. Because these resources hold state and carry cost, they change less often and deserve stricter review.

  • Cluster and network: node pools, subnets, egress rules and the load balancer that fronts the Router.
  • Stateful services: PostgreSQL with replication and backups, and Redis, sized and placed in private subnets.
  • Secrets and keys: secret store entries and IAM bindings that let workloads read them, without values committed to code.
  • KMS or HSM access: key policies and roles for the encryption service and vault, with key custodians named outside Terraform.
  • State handling: a remote state backend with locking and per-environment state files.

Confirm with your team which Hyperswitch Helm chart version you will deploy, then check that the database, Redis and secret names it expects match what Terraform outputs.

Setting up separate environments without sharing card data

Dev, staging and production should differ in data, keys, credentials and access, and production keys and vault data must never be copied into a lower environment. A Docker Compose or Helm quickstart tends to share one set of secrets, one database and one encryption key across everything, which is fine for evaluation but becomes a scope problem once real cards arrive. Give each environment its own PostgreSQL instance, Redis, encryption service key material and processor sandbox credentials, and keep production processor credentials out of any pipeline that deploys to dev or staging. Lower environments should hold only synthetic or sandbox test cards. If a team needs to reproduce a production defect, the answer is a sanitized reproduction, not a restored production database or a copied vault. Confirm with your QSA or PCI advisor which systems are in the cardholder data environment before you decide what staging may touch.

Pin an exact Hyperswitch release for each environment in version-controlled configuration, so the router, Scheduler, Control Center and client SDKs move forward through a deliberate promotion path rather than whatever the latest chart resolves to. The GitHub releases page lists a compatibility matrix for Control Center and web client versions with each release, so read that matrix for the exact tags you plan to run before promoting. Promote a version through dev, then staging, then production, and record which versions are running where. Check the release notes for required dependencies before each step, since the v1.124.0 notes made Superposition a required service that must be running before upgrading. Confirm with Juspay's release notes and your own test results that the mobile and web SDK versions in your apps still match the backend you are promoting.

Sequence from quickstart to go-live

This sequence turns a Docker Compose or Helm evaluation into a production Hyperswitch stack that your team can operate, test and roll back. Each step produces an artifact or check that the next step depends on, so the go-live decision rests on evidence rather than on the quickstart having worked once.

  1. Inventory quickstart configuration and secrets

    Your team lists every setting the evaluation stack uses: environment variables, database and Redis connections, connector credentials, keys, the card vault configuration and any Superposition settings. Each item is marked as a value to keep, a value to regenerate, or a secret to move into your secret manager, and the list names an owner for each. The step is done when every quickstart value is accounted for and no production secret is still sitting in a local file or a Compose override.

  2. Build cluster and data services with Terraform

    Your platform team provisions the Kubernetes cluster, PostgreSQL with a primary and replica, Redis, networking, object storage for backups and the secret store as code in infrastructure you control. Network boundaries and access for the card vault are designed in this step, because they determine which workloads can reach it. The step is done when the Terraform plan applies cleanly in a non-production account, the database and cache endpoints are reachable only from the intended namespaces, and a restore test of the database backup has been recorded.

  3. Deploy the stack through Argo CD to staging

    Helm chart values for the Router, Scheduler, Control Center, Superposition if you run it, and the vault are committed to Git and synced into a staging environment by Argo CD. Environment-specific values stay in separate overlays so staging and production differ only where intended. The step is done when all workloads report healthy, the Argo CD application shows no drift, and a fresh sync from Git reproduces the same running state.

  4. Run functional and failure tests

    Your QA and security engineers run payment flows against sandbox connectors, including authorization, capture, refund, webhook delivery and saved-card paths. They also test failures on purpose: restarting a Router pod, interrupting a database failover, dropping Redis, and blocking a connector endpoint, then checking retries, error handling and alerts. The step is done when each flow and each failure has a written result, and every defect found has a tracked fix that has been retested in staging.

  5. Configure Control Center SSO and roles

    Your identity team configures OpenID Connect for the Control Center, since the Hyperswitch docs state that SAML is not supported. Users are invited into Hyperswitch first because there is no JIT or SCIM provisioning, and roles are assigned inside Hyperswitch rather than mapped from the identity provider. The step is done when a test user signs in through SSO, the least-privileged role is confirmed for each test account, and an offboarding procedure removes access in both the identity provider and Hyperswitch.

  6. Complete production certification checks

    Your team works through the production certification guide for your cloud, which states that the Docker Compose local setup and the Helm quickstart are for evaluation only. The checks cover the production path, the cloud-specific settings, and the components your chosen vault model requires. Your compliance lead confirms which PCI DSS responsibilities sit with you under the chosen vault model before any live card data reaches the environment. The step is done when every check has an owner, a result and evidence, and open exceptions are approved in writing.

  7. Perform controlled go-live with rollback

    Traffic is moved in stages, starting with a limited set of merchants or transactions, while dashboards and alerts are watched against the staging baseline. The rollback path is rehearsed beforehand, including the database state, the DNS or routing switch and the Argo CD revision to return to. If upgrades are in scope, confirm the Superposition service is running before moving to v1.124.0, since the release notes list it as a required dependency. The step is done when the staged traffic runs for the agreed observation window with no unresolved severity issues, and the go-live record is signed by the owners.

  8. Decommission evaluation resources

    Once production is stable, your team removes the Docker Compose hosts, the quickstart Helm releases, any sandbox credentials and test data, and the temporary staging overrides that are no longer needed. Access granted for evaluation is revoked and the removal is recorded in the change log. The step is done when an inventory check shows no evaluation workloads, test credentials or unused storage remain, and the production configuration is the only source of truth in Git.

Checks before go-live

These gates decide whether the stack you built from the evaluation setup is ready for live payments. Each one tests a gap that Docker Compose and the Helm quickstart leave open. Confirm each item with the Hyperswitch documentation, your own environment, and the assessor who will review your PCI DSS scope.

Backup and restore tested

Taking backups is not the same as restoring them. Restore the PostgreSQL database and the Redis state you depend on into a separate environment, then start the Router and Scheduler against it and confirm payments, refunds and stored references resolve. Record how long the restore took and who runs it. If your assessor asks for evidence, a dated restore log is stronger than a backup policy.

PostgreSQL failover tested

The architecture docs describe PostgreSQL with a master and replica setup. Test a controlled failover on a non-production copy and confirm the Router and Scheduler reconnect without manual edits. Check that the scheduler queue in Redis recovers cleanly and that no payment state is lost or replayed. Ask Juspay documentation which failover behavior it assumes for your version.

Architecture docs

Secrets and keys outside Git

Helm values files in a Git repository often hold database passwords, API keys and encryption keys in plain text. Move every secret into your cluster's secret store or an external secrets manager, and let Argo CD reference them by name only. Confirm that encryption keys for the card vault and the encryption service are generated, stored and backed up under a named key custodian, with rotation rules written down.

SSO limits accepted

The Control Center supports OpenID Connect only. SAML is not supported, there is no JIT or SCIM provisioning, users must be invited first, and roles are managed in Hyperswitch rather than mapped from your identity provider. Record these limits in your access review, and assign an owner for inviting and removing users. Confirm the current behavior in the Control Center SSO documentation before you sign off.

SSO setup docs

Monitoring and alerting live

Before launch, confirm that metrics, logs and alerts cover the Router, Scheduler, PostgreSQL, Redis and the card vault. Alerts should reach an on-call person for failed payments, webhook delivery errors, database replication lag and pod restarts. Run one alert end to end, from a simulated fault to a page, and keep the evidence with your go-live record.

Vault model confirmed

Choose one vault model and write it down before go-live: the native in-house PCI vault, an external PCI vault provider, or the SaaS Hyperswitch Vault. In the in-house model, the Hyperswitch docs state that the merchant is fully responsible for PCI DSS certification and data handling. Check that your scope document and your assessor's understanding match the model you deployed, and confirm the details with Juspay documentation and your assessor.

In-house PCI model

Questions teams ask before moving Hyperswitch to production

How much effort does moving Hyperswitch from Docker Compose to production Kubernetes take?

The effort depends on how far the evaluation stack is from production, and no fixed figure applies to every team. The Hyperswitch production certification guide says the Docker Compose local setup and the Helm quickstart are for evaluation only, so the work is more than a deployment: it covers the Router and Scheduler services, PostgreSQL with a master and replica, Redis, secrets, networking, backups and the Control Center. Drivers include how many environments you need, whether you self-host the card vault, how many processors you connect, and how much of your infrastructure is already codified. Ask any partner for a written scope that lists each component and each environment before accepting a timeline.

Can our own platform team move Hyperswitch to production without a partner?

Yes, if your team already runs stateful services on Kubernetes and has time to own the design decisions. The main risks are not the Helm chart itself but the choices around it: database topology, secret handling, Terraform state, Argo CD project boundaries, and the vault model you select. Teams without recent experience running PostgreSQL high availability or GitOps delivery often find the review and go-live checks take longer than the build. A useful test is whether someone on your team can explain, in writing, how a failed replica or a bad Argo CD sync would be detected and reversed.

What does the move need from our platform and security teams?

Platform teams own the cluster, ingress, storage classes, managed or self-run PostgreSQL and Redis, the Terraform and Argo CD pipelines, and the monitoring stack. Security teams own identity for the Control Center, secret storage, network policy, key custody, logging, and the evidence trail for any PCI DSS assessment. Plan these reviews early, because they often set the schedule. For single sign-on, note that the Control Center supports OpenID Connect only, with no SAML, no JIT or SCIM provisioning, and roles managed in Hyperswitch, so access reviews will be manual unless you build a process for them.

How do Hyperswitch upgrades affect the production move?

Upgrades change the move because the target stack must be upgradeable from day one. Hyperswitch ships roughly monthly minor releases with a compatibility matrix for Control Center and web client versions, so the router, dashboard and SDK versions must be tracked together. Some releases add hard dependencies: the v1.124.0 release notes state that Superposition became a required configuration dependency, and a Superposition service must be running before upgrading to that version. Build the pipeline to pin versions, test upgrades in a non-production environment, and record which release notes require action before go-live.

Can we harden the Helm quickstart instead of rebuilding it?

Often you can reuse parts of it, but treat the quickstart as a reference rather than a production baseline. The Helm quickstart is documented for evaluation, so review every default: database and Redis configuration, replica handling, resource requests, secret references, ingress and TLS, and the image sources you pull from. Keep the chart values you can justify, move environment-specific settings into version-controlled values, and replace anything that stores credentials in plain configuration. Document each change so an auditor or a future upgrade can trace why it exists.

What does a fixed-scope DeployOpen engagement cover for this move?

DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms in your own cloud accounts, data centers or air-gapped networks. For this move, a fixed-scope engagement would typically cover the target architecture, Terraform and Argo CD delivery, environment separation, secrets and identity setup, backup and restore procedures, go-live checks and documentation. Scope, deliverables and timelines are agreed in writing before work starts, and a quote follows from that written scope. DeployOpen does not issue audit reports or certifications, so any PCI DSS evidence you need still comes from your assessor. Ask for the exclusions in writing too, including processor connector work and any vault provider integration.

Who carries PCI DSS obligations in the self-hosted in-house vault model?

In the self-hosted, in-house PCI model, the merchant carries the obligations. The Hyperswitch docs state that the merchant is fully responsible for PCI DSS certification and data handling, even though the card vault is a separate service built for PCI DSS requirements. Hosting the vault in your own cloud means your environment, access controls, key management, logging and network segmentation fall inside your assessed scope. If you want to keep cards out of your scope, the documented alternatives are orchestration with an external PCI vault provider or with the SaaS Hyperswitch Vault. Confirm the scope boundary with your qualified security assessor before you choose a model.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For this move, we start from your Docker Compose or Helm evaluation, agree a written scope for the production Kubernetes stack, and build it in your infrastructure with separate environments and go-live checks.

How we scope

  • Inventory the evaluation setup and list every component it leaves out, such as database high availability, secrets and backups.
  • Agree which cloud or cluster the production stack runs on, and which environments sit between development and production.
  • Confirm the Hyperswitch components in scope, including the router, scheduler, card vault and Control Center, in a written scope.

How we build

  • Write Terraform for cluster, network, database and cache resources, and deploy Hyperswitch through Argo CD from version-controlled manifests.
  • Keep separate environments with their own configuration, secrets and access, so test changes never reach production by accident.
  • Test the stack against your go-live checklist, including backup restores, health checks, failover and the upgrade path for the release you chose.

How we hand over

  • Deliver the Terraform modules, Argo CD configuration, runbooks and environment documentation to your team in your repositories.
  • Walk your platform and security engineers through deployment, rollback, secret rotation and how to read the monitoring views.
  • Record which PCI DSS responsibilities stay with your organization and which controls you must evidence for an assessor.

How we support

  • Support is available as a retainer for upgrades, which must follow the compatibility matrix for each Hyperswitch release.
  • Retainers can also cover continuous testing and changes to the Terraform and Argo CD path as your environments grow.
  • Ask any provider to confirm response times, upgrade windows and ownership of secrets and keys in writing before you sign.

Sources and further reading

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.