Deploying Hyperswitch on Azure AKS: what the work covers
Deploying Hyperswitch on Azure AKS means running the Hyperswitch stack as Helm charts on Azure Kubernetes Service, inside your own Azure subscription, with PostgreSQL, Redis and secrets supplied around it. Regulated payments teams usually choose this path when they want the payments orchestration layer, its data and its keys to sit in infrastructure they control, and when they already operate Kubernetes or have the platform skills to run it. Hyperswitch documents Azure as one of its self-hosting guides, alongside local Minikube, AWS and GCP paths and a Helm chart for Kubernetes in general. The stack the reader will run includes the Router and Scheduler services (the Scheduler has Producer and Consumer roles), PostgreSQL with a master and replica, Redis for caching and the scheduler queue, the Control Center merchant dashboard and the card vault.
A managed alternative, or a hosted Hyperswitch sandbox, may fit a team that does not want to run Kubernetes, PostgreSQL and Redis itself. The AKS path is the better fit when the team needs to own the cluster, network boundaries, database backups and key handling, and when it must show an assessor where card data and keys live. Because the card vault is a separate service that the architecture docs describe as built for PCI DSS requirements, the vault model you choose changes how much of the stack falls inside your PCI DSS scope. Confirm the current Azure guidance in the Hyperswitch self-hosting documentation and the repository before planning. Confirm too whether the Terraform recipe for Azure is still labelled beta, and what it provisions, because that status affects how much of the foundation you build yourself.
Before committing, confirm the exact release you will run, since Hyperswitch ships roughly monthly minor releases and a compatibility matrix for the Control Center and web client versions accompanies each one. Confirm the Kubernetes version Azure offers and the Hyperswitch chart supports, and whether the release requires Superposition, which v1.124.0 made a required configuration dependency. Ask your partner or team to write down which components they will supply (ingress, egress, secrets, monitoring) and which Azure services they will use for PostgreSQL, Redis and key storage, because those decisions drive the rest of the work.
How the Hyperswitch components sit inside an AKS cluster
The diagram starts at client traffic entering through the Azure load balancer and ingress, which reach the Router and Control Center inside the cluster. The Router hands work to the Scheduler producer and consumer, and both reach PostgreSQL and Redis, which sit outside the cluster as Azure managed services. Card data never passes through the Router's own data path: it goes to the card vault in its own trust boundary. Secrets flow from Azure Key Vault into the cluster. Check that the cluster boundary, the data services boundary and the card vault boundary match your own network and PCI scope decisions.
Components inside the AKS cluster, with the managed data services and card vault boundary marked.
Choosing between the Helm guide and the beta Terraform recipe
The Helm path assumes your team already has an AKS cluster, or will build one with its own tooling, and that your team will own everything around the Hyperswitch chart. Hyperswitch documents Helm charts on Kubernetes with a guide for Azure, so the chart is the deployable unit and most of your work sits in values and surrounding services.
- In scope: installing the Hyperswitch chart and customizing
values.yamlfor the router, scheduler, Control Center and any optional components you choose to run. - Your team supplies: the cluster, node pools, virtual networking, ingress, PostgreSQL and Redis (managed or self-run), secrets handling and monitoring.
- Skills assumed: working knowledge of Helm releases, Kubernetes namespaces and RBAC, and Azure networking and identity.
- Upgrade work: Hyperswitch ships roughly monthly minor releases with a compatibility matrix for Control Center and web client versions, and v1.124.0 requires a Superposition service to be running before you upgrade to it.
Confirm that the values reference matches the release you plan to run before you finalize production values.
The Terraform recipe for Azure is a provisioning path, meant to create infrastructure before the Hyperswitch chart is installed. It is labeled beta, so its variables, module layout and resource coverage may change between revisions. The coverage you read in documentation may differ from the code, so treat the current repository as the reference.
- Provisioning scope: confirm in the current repository which Azure resources the recipe creates, such as the cluster, network, and any database, cache or key resources, and which it leaves out.
- Beta status: pin the exact revision you test and expect breaking changes in inputs and outputs between revisions.
- Your team supplies: anything the recipe does not create, plus the remote state backend, pinned Terraform and provider versions, and access control on the state file.
- Skills assumed: Terraform state management, module structure, plan review and the Azure role assignments that the identity running
applyneeds.
Compare the recipe's resource list with the infrastructure list in the Helm tab so you know exactly which layers your team still builds.
The right path depends on what already exists in your Azure estate and how your team ships infrastructure changes. The decision also depends on checks that apply whichever path you pick, because the chart and the cluster share the same security and upgrade obligations.
- Existing cluster: the Helm path fits when your platform team already runs AKS to an internal standard and only needs the Hyperswitch layer.
- New build with infrastructure as code: the Terraform path fits when your team already reviews Terraform plans and accepts the beta risk for the recipe's scope.
- Version window: Kubernetes maintains its three most recent minor releases, with 1.37 end of life on October 28, 2027, so pick a version whose support window covers go-live and your planned upgrades.
- Secrets and access: Kubernetes Secrets are stored unencrypted in etcd by default, so confirm how encryption at rest is set on your cluster and limit list and watch access with least-privilege RBAC on either path.
Ask the Hyperswitch maintainers or your own platform team to confirm recipe coverage on the commit you plan to deploy, because the repository is the source of truth.
Azure service options and when each fits
This table compares the Azure choices you will face around a Hyperswitch cluster: the cluster itself, PostgreSQL, Redis, secrets and ingress. Read each row as a split between what Azure runs for you and what your team still operates. Confirm current Azure service limits, tiers and regional availability for your subscription before you commit to any option.
| Component | What it gives you | What it leaves to you | When it fits |
|---|---|---|---|
| AKS managed cluster | Azure runs the Kubernetes control plane and integrates with Azure networking and identity | Node pool sizing, Kubernetes upgrades on your schedule, add-on choices and cluster hardening | Most teams that want Kubernetes without running the control plane themselves |
| Self-managed Kubernetes on Azure VMs | Full control over control plane layout, etcd and node images | Control plane high availability, etcd backups and restores, upgrades and patching of every component | Teams with an existing platform group that already runs and tests self-managed clusters |
| Azure Database for PostgreSQL | A managed PostgreSQL service with Azure-operated maintenance and backup features | Schema and connection settings for Router and Scheduler, failover testing, and confirming the replica setup Hyperswitch expects | You want Azure to handle database operations and your security team wants managed backup controls |
| PostgreSQL in the cluster | Full control over PostgreSQL versions, extensions and storage layout | Backups, point-in-time recovery, failover, storage classes and major version upgrades | You already operate PostgreSQL well and accept the operational load |
| Azure Cache for Redis | A managed Redis-compatible cache for caching and the scheduler queue | Eviction and memory sizing, network access rules, and checking that the service fits the Redis features Hyperswitch uses | You want Azure to run the cache and your network design keeps it private |
| Redis in the cluster | Control over Redis configuration and deployment alongside the app | Persistence choices, failover, memory limits and upgrades | Your team runs Redis in Kubernetes routinely and can monitor the scheduler queue closely |
| Azure Key Vault with the Secrets Store CSI Driver | Secrets held outside etcd, with access controlled through Azure identity and mounted into pods | Key Vault access policies, rotation procedures, CSI driver upgrades and pod identity setup | Your security team requires secrets outside the cluster or wants audited secret access |
| Kubernetes Secrets | Simple secret objects that the Helm chart can consume directly | Encryption at rest in etcd, least-privilege RBAC on list and watch, and secret rotation | Early evaluation environments or teams that have not yet enabled etcd encryption and RBAC restrictions |
Setup sequence for Hyperswitch on AKS
This sequence takes an empty Azure subscription to a Hyperswitch stack running on AKS, with each layer checked before the next one depends on it. Your team or a partner works through it in order, and the end state is a verified cluster, data services, secrets and an installed Helm release.
Confirm the Kubernetes version and skew limits
Before you create anything, check which Kubernetes minor versions are currently supported on the kubernetes.io releases page and read the version skew policy. Pick a version that is still in support for the full life of your deployment, and confirm that the AKS version you plan to use is one Azure offers in your region. Record the chosen version in your environment notes. This step is done when the version, its end-of-life date and the Azure region availability are written down and approved by the platform owner.
Build the AKS cluster and node pools
Create the AKS cluster in your Azure subscription with the approved Kubernetes version, separate node pools for application workloads and system components, and a network design that fits your ingress and egress plan. Confirm the Hyperswitch Terraform recipe's current status in the Hyperswitch documentation before you reuse it, because it is marked beta. Check that the cluster's identity, RBAC and Azure Policy settings match your security baseline. This step is done when
kubectl get nodesshows all nodes Ready and the cluster passes your admission and policy checks.Provision PostgreSQL and Redis
Provision a PostgreSQL deployment with a primary and replica, and a Redis service, in the same Azure region and virtual network as the cluster. Hyperswitch uses PostgreSQL for its data and Redis for caching and the scheduler queue, so both must be reachable from the Router and Scheduler pods and nowhere else. Confirm backup retention, point-in-time recovery and TLS settings with your database owner, and record the connection endpoints. This step is done when a test connection from a temporary pod in the cluster succeeds over TLS and the backup policy is documented.
Place secrets in a managed store
Store database credentials, Redis passwords, encryption keys and connector secrets in a dedicated secrets store, such as Azure Key Vault, and expose them to pods through the Secrets Store CSI Driver rather than plain Kubernetes Secrets. If you keep native Kubernetes Secrets for any value, enable encryption at rest and restrict list and watch access with least-privilege RBAC, because Kubernetes Secrets are stored unencrypted in etcd by default. Assign each workload identity only the secrets it needs. This step is done when a test pod mounts a secret from the store and no secret value appears in manifests or Git.
Create namespaces and customize values.yaml
Create one namespace per environment, such as sandbox, integration test and production, and add the Hyperswitch Helm chart repository. Start from the chart's default values, then set the image tags, replica counts, resource requests, database and Redis endpoints, secret references and ingress settings for each environment in its own values file. Keep these files in version control so changes are reviewed. Do not reuse production credentials in lower environments. This step is done when
helm templaterenders each environment's manifests without errors and a reviewer has approved the differences between environments.Confirm the Superposition dependency
Check the release notes for the Hyperswitch version you are installing. The v1.124.0 release notes state that Superposition became a required configuration dependency, and deployments must have a Superposition service running before upgrading to that version. If the chosen release requires it, deploy and verify the Superposition service in the same namespace before the Router and Scheduler start. If your chosen release does not require it, record that decision with its source. This step is done when the release notes have been checked, the dependency status is recorded, and the service is healthy if required.
Install the Helm release
Install the Hyperswitch chart into the target namespace with the customized values file for that environment, and watch the rollout until all Router, Scheduler and supporting pods report Ready. Check the Control Center and compatibility matrix for the chosen release so the router, dashboard and client SDK versions line up. Keep the release history and values file together so you can roll back. This step is done when
helm statusreports the release as deployed and every pod in the namespace is Ready.Run the post-install checks
Run the post-deployment checks from the Hyperswitch documentation, then confirm that the Router can connect to PostgreSQL and Redis, that the Scheduler consumes its queue, and that logs show no repeated connection or authentication errors. Test ingress over TLS from outside the cluster, and confirm that Kubernetes API access, Control Center access and the admin endpoints are limited to the networks your policy allows. Record the results and open any findings before traffic is allowed. This step is done when all checks pass in a signed-off test record for that environment.
Provisioning the database, cache and secrets around the cluster
Design the PostgreSQL, Redis and secrets layout before running the Helm install. Hyperswitch's architecture pairs its Router and Scheduler services with PostgreSQL in a master and replica setup, and uses Redis for caching and the scheduler queue. On AKS, that means choosing between Azure Database for PostgreSQL and a self-managed instance, and between Azure Cache for Redis and a Redis deployment inside the cluster, before any pod depends on them. Decide where each sits in the virtual network, how the AKS node subnet reaches them, and how replica failover will behave. Confirm the supported PostgreSQL and Redis versions, and the instance sizes needed for your transaction volume, against the Hyperswitch system requirements before you provision anything. Changing these choices after go-live is far more disruptive than setting them correctly up front.
Plan secrets with the same care. Database credentials, Redis passwords, connector keys and encryption keys all reach the pods through Kubernetes Secrets, and by default those Secrets are stored unencrypted in etcd. Work through the good practices for Kubernetes Secrets guidance: enable encryption at rest for etcd, restrict get, list and watch on Secrets with least-privilege RBAC, and limit which service accounts the Hyperswitch namespaces can use. For higher assurance, keep the source of truth in Azure Key Vault and sync it into the cluster with the Secrets Store CSI Driver, so rotation happens in one place. Ask your AKS team which encryption options are available in your region and tenant before committing to a design.
Security controls to plan on Azure before live traffic
An AKS cluster running Hyperswitch holds card-adjacent data, cluster credentials and connector secrets, so the controls below need decisions before go-live. Each card names a decision or check that you can confirm in your own Azure environment.
Card vault placement and PCI DSS scope
In the self-hosted, in-house PCI model, Hyperswitch stores card data in its own card vault (locker), and the Hyperswitch docs state that the merchant is fully responsible for PCI DSS certification and data handling. Decide before deployment whether the vault runs in your AKS cluster or whether an external PCI vault provider or the SaaS vault keeps cards out of your scope. Confirm with your QSA which network segments, nodes and logs fall into scope.
In-house PCI model docsPod Security Standards for Hyperswitch namespaces
Apply Pod Security Standards to the namespaces that run the router, scheduler, card vault and encryption service, and start with the restricted profile where the charts allow it. Confirm with your chart version which containers need elevated permissions, and document each exception. Enforce the labels in admission so a misconfigured workload cannot be deployed to the same namespace later.
Pod Security Standardsetcd backups and encryption at rest
Kubernetes stores Secrets unencrypted in etcd by default, and Hyperswitch Secrets include database credentials and connector keys. Confirm that AKS encryption of Secrets at rest is enabled with a key you control, and check whether your Azure plan includes etcd backups for the managed control plane. Restrict who can list or watch Secrets through least-privilege RBAC and test a restore before go-live.
Secrets good practicesOIDC for cluster access
Kubernetes does not manage user accounts itself, so cluster access needs an external identity source. Connect Microsoft Entra ID or your chosen OpenID Connect provider to the API server or to the AKS integration, and map groups to RBAC roles that separate cluster administrators, release engineers and read-only auditors. Remove shared kubeconfig administrator access once the mapping works.
Kubernetes authenticationControl Center SSO limits
The Control Center supports single sign-on through 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 the identity provider. Plan the joiner and leaver process for dashboard users around these limits, and review Hyperswitch roles at each access review.
Control Center SSO docsNetwork egress control for connector calls
Hyperswitch sends outbound calls to processors, wallets and external fraud or 3DS services, so the AKS egress path decides which destinations are reachable. Route outbound traffic through a controlled egress point, allow only the endpoints for the connectors you have contracted, and log denied connections. Confirm the list of endpoints with each processor before opening the rule set.
Questions teams ask before deploying Hyperswitch on AKS
How much does it cost to deploy Hyperswitch on AKS?
No fixed price applies, because the cost follows from the written scope. The cost has four parts: Azure consumption for AKS nodes, managed PostgreSQL, Redis, storage and monitoring, which recurs every month; one-time design, Terraform and Helm setup, configuration and go-live testing; ongoing staff time for patching, upgrades and on-call; and PCI DSS work if you run the in-house vault. The main drivers are node count, the number of environments, high availability requirements and the vault model you choose. When you request a quote, ask for an itemized list that separates one-time work from recurring work, states which Azure resources the partner provisions and which your team pays for directly, and names the assumptions behind the node and database sizing.
How long does a Hyperswitch AKS deployment take?
Duration depends on decisions and dependencies more than on the install itself. The main drivers are the number of environments (sandbox, integration test and production), the vault model, the number of processor connectors to configure and test, and how long your processors take to issue live credentials. Internal change approvals, PCI evidence gathering and access requests for the Azure subscription also add time. Your team should set the sequence in the written scope and treat the processor contract and credential timeline as dependencies you do not fully control. Ask for a timeline that lists each milestone, its owner and what must be true before the next step starts.
What must our team provide before starting a Hyperswitch AKS deployment?
Your team supplies access, skills and business decisions. The main inputs are:
- An Azure subscription with rights to create resource groups, virtual networks, AKS clusters, managed identities and database and cache services
- Kubernetes and Helm operating experience, plus Terraform if you use the infrastructure recipe
- Processor contracts and test and live credentials for each connector you plan to enable
- A decision on the vault model, DNS names, TLS certificates, SMTP service and the monitoring stack
- Named owners for on-call, key handling and change approval
Identify these owners early, because missing access or undecided vault choices are common reasons work stops in the middle of a deployment.
Can an internal platform team deploy Hyperswitch on AKS alone?
An internal team can do it if it already runs production Kubernetes, manages PostgreSQL and Redis, handles secrets and can staff an on-call rota. The harder gaps are usually payments-specific: connector configuration, webhook handling, key custodianship for the vault, reconciliation checks and evidence for PCI DSS. Many organizations split the work, with the partner handling design, hardening and go-live checks while the internal team runs the platform. Under a fixed-scope engagement, DeployOpen plans, implements, hardens, backs up, documents and hands over the stack in your Azure environment, and ongoing support, upgrades and testing can be covered by a retainer. Decide which of those responsibilities your team will keep before the scope is signed.
Is the Hyperswitch Terraform recipe for Azure ready for production?
Confirm this before relying on it, because the recipe is described as beta and the supplied facts do not establish that it is production ready. Beta status means you should review exactly which resources it creates, how it manages state, which module and provider versions it pins and how it handles upgrades of AKS and the data services. Check the current status in the Hyperswitch self-hosting documentation and the project's release notes, and ask the Juspay maintainers or your partner which parts they test. Many teams keep the recipe as a starting point and adapt it to their own network, identity and backup standards. Any production use should follow a documented review and a recovery test.
How are Hyperswitch upgrades handled on AKS?
Hyperswitch ships minor releases about monthly, and each release lists a compatibility matrix for the Control Center and web client versions, so check that matrix before every upgrade. Some releases add required dependencies: v1.124.0 made Superposition a required configuration dependency, so a Superposition service must be running before you upgrade to that version. Kubernetes adds its own rules: the project supports the three most recent minor releases, the kube-apiserver must move one minor version at a time before the other control plane components and kubelets, and kubelets may be up to three minor versions older than the API server. Test each upgrade in a non-production environment, use a staged rollout, and keep a rollback plan for database schema changes, because AKS upgrades and Hyperswitch upgrades can run on different schedules.
Which Azure data services should we provision around Hyperswitch?
Hyperswitch needs PostgreSQL and Redis outside the cluster. The architecture uses PostgreSQL with a master and replica setup, and Redis for caching and the scheduler queue, so plan high availability, backups and point-in-time recovery for PostgreSQL and eviction and persistence settings for Redis. Confirm with the Hyperswitch documentation which managed Azure services are supported and what extensions or versions they need. Secrets need their own design: Kubernetes stores Secrets unencrypted in etcd by default, so enable encryption at rest, restrict list and watch access with least-privilege RBAC, and consider an external store through the Secrets Store CSI Driver. Plan separate database instances or schemas per environment so test data never reaches production.
What determines PCI DSS scope in a self-hosted Hyperswitch AKS deployment?
The vault model is the largest factor. In the self-hosted model with the native Hyperswitch Vault, the merchant is fully responsible for PCI DSS certification and data handling, so the AKS cluster, network, databases, logs and people who touch them can fall inside scope. Self-hosted orchestration with an external PCI vault provider, or with the SaaS Hyperswitch Vault, can reduce the cardholder data your environment stores, but your team still needs to confirm the resulting scope with a qualified security assessor. Other scope drivers include network segmentation, administrative access, logging, key management and the environments that hold live data. DeployOpen prepares systems, controls and evidence for an assessment, but it does not issue audit reports or certifications, and the assessor makes the final determination.
How DeployOpen scopes an AKS deployment
DeployOpen plans and delivers a Hyperswitch deployment on Azure Kubernetes Service as a fixed-scope engagement, with the scope, deliverables and timelines written down before any work begins. The first step is a discovery session that fixes the decisions this topic depends on: which Hyperswitch components go into the stack, whether the AKS cluster and its node pools are built from the beta Terraform recipe or by hand, which Azure database and cache services replace the in-cluster options, how Azure Key Vault or another secrets store is wired in, and which vault model the merchant will run. Everything is provisioned inside the client's own Azure subscription, under their resource groups, identities and network controls, so the client's security and platform teams keep ownership of the account and can review every resource afterward. Confirm with DeployOpen which Azure subscription, tenancy and region the work will run in, and who holds the privileged roles needed to create the cluster.
The written scope also defines what the client receives. Deliverables typically include the working AKS environment, the Helm values and Terraform code in the client's repository, documented runbooks for backup, restore and upgrades, and the evidence a compliance or security assessor will ask for, such as configuration records, access reviews and secrets handling notes. DeployOpen prepares that evidence and helps the client's assessor review it, but it does not issue audit reports, attestations or certifications, and independent auditors make those determinations. Where the client needs an independent check of the result, DeployOpen can run security testing against the cluster, ingress and APIs, and its findings report comes with fixes and a retest. Ask for the exact list of test types, the retest window and who receives the report before signing.
Ongoing work after go-live can be covered by an optional retainer for Hyperswitch upgrades, cluster maintenance and continuous testing. Retainers suit teams that expect to follow the monthly release cadence without building that skill in-house, and the upgrade scope should name the compatibility checks to be run for each release. Quotes follow from the written scope rather than from a published price list, so the client should ask for line items covering design, provisioning, configuration, testing, handover and any retainer separately, along with the assumptions behind each one.
How DeployOpen delivers Hyperswitch on Azure
DeployOpen plans and builds the Hyperswitch stack on Azure Kubernetes Service inside your own subscription, network and identity setup. Each engagement starts from a written scope that sets which components, databases, cache and secrets services are in and what your team receives at the end.
How we scope
- Confirm the Azure subscriptions, regions, networking model and Entra ID setup the AKS cluster must fit into.
- Decide whether the beta Terraform recipe is used as a starting point or the cluster is built from your own modules.
- Agree which Hyperswitch components, database, Redis and secrets services are in scope, with written deliverables and timelines before work starts.
How we build
- Provision the AKS cluster, node pools, ingress, managed PostgreSQL, Redis and secrets store around the Helm release.
- Configure the Helm values for your environments, including database connections, secrets references and Control Center access.
- Test the deployment after install, covering health, connectivity, backups and the Control Center sign-in path before go-live.
How we hand over
- Document the Azure resources, Helm values, secret locations, network rules and the Kubernetes upgrade plan in your own repository.
- Walk your platform and security teams through runbooks for scaling, rollback, database recovery and Hyperswitch version upgrades.
- Deliver the evidence your compliance and security reviewers ask for, such as configuration records and access settings, for them to assess.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the initial build is complete.
- Plan Hyperswitch and Kubernetes upgrades against the release notes and version skew rules before each change window.
- Confirm retainer scope, response expectations and included testing in writing before the support period begins.

