Running Wazuh on Kubernetes and Amazon EKS

How to run Wazuh on Kubernetes and Amazon EKS with the vendor manifests, what each StatefulSet and service does, and what to confirm about storage, agent ports and Kubernetes upgrades before you build.

On this page

Running Wazuh on Kubernetes and Amazon EKS: when the cluster is the right home

Running Wazuh on Kubernetes makes sense when a platform team already operates clusters, has the storage and ingress skills to run stateful workloads, and wants Wazuh delivered with the same tooling as its other services. The vendor Kubernetes deployment runs the master node and the workers as StatefulSets built from the wazuh/wazuh-manager image, the Wazuh indexer as a StatefulSet, and the Wazuh dashboard as a Deployment. Services such as wazuh-master, wazuh-workers and dashboard expose them inside the cluster. The master hosts the authd enrollment service, which is the entry point for agents that register with the manager.

The cluster option fits best when the team already manages persistent volumes, network policies and rolling upgrades for stateful applications. If the team has no Kubernetes experience, a single-host installation, the Docker deployment or a planned distributed layout on virtual machines will usually be easier to run and troubleshoot. Confirm with the team whether they will need AWS-specific storage driver setup for EKS, how agent traffic reaches the enrollment and manager ports from endpoints outside the cluster, and who owns the indexer's data volumes. Check the Wazuh Kubernetes configuration guide against the release you plan to run, since manifests change between patch releases.

Before choosing this path, ask who will handle indexer disk growth, certificate rotation and upgrades across the StatefulSets, because those tasks differ from routine application operations. Also decide whether the Wazuh release line will track the patch cadence of the 4.14 line, which has shipped several patch releases in 2026, and whether your upgrade window can absorb that cadence. The cluster is the right home when Wazuh will be operated as a platform service with defined owners, not as a one-off security tool installed by hand.

How the Wazuh components map onto Kubernetes objects

The diagram starts with agents on endpoints outside the cluster, which reach the wazuh-master service for enrollment and the agent ports, then hand event data to the wazuh-workers service. Both run as StatefulSets built from the wazuh-manager image. Workers forward analyzed data to the Wazuh indexer StatefulSet, which writes to persistent volumes, and the dashboard Deployment reads from the indexer through its own service. Check that agent traffic crosses the trust boundary only through the ports you intentionally expose, and that each StatefulSet has storage bound to it.

Agent traffic enters through services, flows into manager StatefulSets, and lands in the indexer on persistent volumes.

Which Kubernetes setup fits your environment

An existing self-managed cluster suits organizations that already run Kubernetes in their own data centers or cloud accounts and have a platform team that operates the control plane. Your team owns the nodes, the control plane, etcd, the container network and the storage backend that provides persistent volumes for the Wazuh indexer and manager. The Wazuh manifests run unchanged in principle, but your team decides how volumes are provisioned and how the cluster is upgraded around them.

  • Control plane ownership: Your team patches, upgrades and backs up the control plane and etcd, following the Kubernetes version skew and etcd backup guidance.
  • Storage provisioning: You select the CSI driver or storage class that backs the indexer StatefulSet, and you confirm it supports the volume expansion and snapshots your retention plan needs.
  • Network exposure: You decide how agent ports reach the wazuh-master and wazuh-workers services, through a load balancer, node port or ingress path that your network team controls.
  • Secrets and access: You configure encryption at rest for Secrets and least-privilege RBAC, since Kubernetes stores Secrets unencrypted in etcd by default.

Before choosing this model, confirm which Kubernetes minor version you run and whether it is still in support, and ask who holds on-call responsibility for the control plane at 2 a.m.

Wazuh Kubernetes objects and what each one is for

This table maps each Kubernetes object in the Wazuh deployment to its role, the state it holds and the storage or exposure decisions that follow from it. Read it before writing manifests, because the state column decides which objects need persistent volumes and which can be recreated. Confirm the exact object names and volume claims against the vendor manifests for your release.

ObjectRoleState it holdsStorage or exposure decision
Master StatefulSet (wazuh/wazuh-manager)Runs the Wazuh server master node and hosts the authd enrollment service that agents register withAgent keys, enrollment state, configuration and cluster coordination dataNeeds stable identity and a persistent volume; decide how agents reach authd and plan key backups
Worker StatefulSets (wazuh/wazuh-manager)Run Wazuh server workers that analyze agent data and scale the server horizontallyAgent-related analysis state and local queues tied to each worker's identityStable pod names matter for agent assignment; size replicas with the master's cluster design in mind
Indexer StatefulSetRuns the Wazuh indexer, the search and analytics engine that stores alertsAlert and archive indices, the largest and most durable data set in the stackRequires persistent volumes sized for retention; confirm storage class behavior on EKS before deployment
Dashboard DeploymentServes the Wazuh web interface that analysts use to query alerts and manage the stackLittle or no durable state; sessions and settings are kept elsewhereUsually exposed through an ingress or load balancer; restrict access and plan TLS certificates
wazuh-master serviceGives stable network access to the master node, including the enrollment and API portsNo data; routes traffic to the master podDecide whether agents reach it from inside the cluster, from a VPC network or from the internet, and restrict the source ranges
wazuh-workers serviceGives agents and internal components a stable address for the worker podsNo data; routes traffic to worker podsAgent-facing ports need load balancer or node exposure; confirm the service type for your agent network
dashboard serviceExposes the dashboard inside the cluster or through an ingressNo data; routes traffic to dashboard podsKeep it internal where possible and place user access behind your identity controls

Deploying Wazuh on Kubernetes step by step

This sequence takes a platform team from version checks to a running Wazuh stack on Kubernetes, with a verification checkpoint after each stage so that agent enrollment is confirmed before the deployment is treated as ready.

  1. Confirm release line and Kubernetes compatibility

    The platform lead confirms which Wazuh release line the team will deploy and checks that the target Kubernetes version is supported by both the Wazuh manifests and the cluster distribution. The current release line is 4.14, with 4.14.9 released on 14 October 2026, but the team should confirm the exact tag it will pin against the Wazuh release notes before writing any manifest changes. Kubernetes minor versions also have defined support windows, so the team should check the version skew policy and the support end dates on the Kubernetes releases page. Checkpoint: a written record of the pinned Wazuh image tag, the Kubernetes version and the cluster distribution, approved by the platform owner.

  2. Prepare namespace and storage classes

    The cluster administrator creates a dedicated namespace for the Wazuh stack and confirms that a storage class with dynamic provisioning exists for the indexer, manager and worker volumes. On Amazon EKS, this usually means confirming that the EBS CSI driver add-on is installed and that its IAM role is bound to the service account, since the indexer's StatefulSet volumes depend on it. Checkpoint: the namespace exists, the chosen storage class is listed as available, and a test PersistentVolumeClaim binds successfully and is then deleted.

  3. Apply the vendor manifests

    The engineer applies the Wazuh Kubernetes manifests from the vendor configuration, which define the master and worker StatefulSets from the wazuh-manager image, the indexer as a StatefulSet and the dashboard as a Deployment, along with their services. Before applying, the engineer reviews image references, replica counts and storage requests so they match the sizing decided for the agent count. Checkpoint: all objects are created in the namespace, and kubectl get statefulsets and kubectl get deployments show the expected resource names and replica counts, even if pods are not yet ready.

  4. Configure certificates and secrets

    The engineer generates the certificates the indexer, server and dashboard use to talk to each other, stores them as Kubernetes Secrets, and replaces every default credential with a generated value kept in the team's secrets manager. Kubernetes stores Secrets unencrypted in etcd by default, so the team should confirm that encryption at rest is enabled for the cluster and that RBAC restricts who can read these Secrets. Checkpoint: the Secrets exist with the expected keys, no default passwords remain in manifests or ConfigMaps, and an access review confirms that only the workloads and named administrators can read them.

  5. Expose agent enrollment and reporting ports

    The engineer exposes the ports agents need through the wazuh-master and wazuh-workers services, typically for enrollment through the authd service and for event reporting to the workers. The choice between a LoadBalancer service, an internal load balancer or a node-level path depends on where the endpoints sit relative to the cluster, so the network team should confirm routing, security group rules and any firewall rules before testing. The dashboard service should be reachable only from approved administrative networks. Checkpoint: from a test host inside the allowed network, the enrollment and reporting ports accept connections, and the dashboard is unreachable from outside that network.

  6. Verify pod readiness and indexer health

    The engineer waits for each StatefulSet to report its pods as ready, reads the logs of the master and indexer for startup errors, and checks indexer cluster health through its API using the credentials from the secrets store. A yellow or red cluster status, or pods restarting repeatedly, means the storage, certificates or resource limits need attention before any agent is connected. Checkpoint: every pod is ready without restarts, the indexer reports a healthy cluster status, and the dashboard login succeeds with a non-default administrative account.

  7. Confirm agent enrollment and event flow

    The engineer enrolls one test agent from a host on the allowed network, pointing it at the exposed enrollment address, and confirms that the agent appears as active in the Wazuh API and dashboard. The engineer then generates a known test event on that host and confirms it arrives as an alert in the indexer. Checkpoint: the test agent shows as active, the test event is searchable in the dashboard, and the results are recorded in the change record before any production endpoints are enrolled.

Persistent volumes and the EKS storage driver requirements

The first thing to settle is that the Wazuh indexer and the Wazuh server master hold state that must survive pod rescheduling. The indexer stores the alerts and indexed data that the dashboard and compliance views read, and the master keeps agent registration and configuration data. The Kubernetes deployment runs the indexer as a StatefulSet, so each pod expects its own stable volume that follows it when Kubernetes restarts or moves it. If a pod comes back with an empty volume, agents can appear to lose their enrollment and the indexer can rebuild from nothing. Before applying the manifests, confirm which PersistentVolumeClaim each StatefulSet requests, which storage class it names, and that the claim is bound to a volume in the same Availability Zone as the node the pod will run on.

On Amazon EKS, the storage class only works if the cluster has the required storage driver installed and the node or service account permissions to create and attach EBS volumes. Check that the EBS CSI driver add-on is present, that its IAM role is attached through IAM Roles for Service Accounts, and that the storage class uses a volume binding mode that waits for the pod to be scheduled. Install and test this with a throwaway claim before the Wazuh StatefulSets are applied, because a claim stuck in Pending looks like a Wazuh failure but is a storage failure. Ask your AWS team to confirm the EBS volume type, encryption key, and whether the volumes must be tagged for cost allocation or backup inclusion.

Several values need agreement with your AWS and storage owners before go-live rather than being copied from a sample. Volume size should follow the expected alert retention and agent count, and the Wazuh indexer management guidance is the right reference for growth, so plan for expansion, which requires a driver and storage class that allow volume expansion. Confirm the snapshot schedule and who owns restore testing, since snapshots are only useful if a restored indexer volume has been checked. Set the reclaim policy deliberately: a Delete policy can remove indexed data when a claim is deleted, while Retain leaves volumes that someone must clean up. Record the decision in the runbook.

Security controls to plan before the cluster goes live

A Wazuh cluster on Kubernetes holds enrollment credentials, indexed security alerts and agent-facing ports, so the same platform controls protect all of it. The cards below cover the decisions to settle before the first agent connects, and each one names what to check in your own cluster.

Encrypt Secrets at rest

Kubernetes stores Secrets unencrypted in etcd by default, and Wazuh deployments keep credentials for the indexer, API and dashboard in them. Configure encryption at rest for the API server before loading these values, then confirm that existing Secrets were rewritten after the change. Ask whether your EKS plan uses envelope encryption with a KMS key and who controls that key.

Secrets good practices

Restrict list and watch access

Any identity that can list or watch Secrets in the Wazuh namespace can read every credential in it, even if it never calls get directly. Bind RBAC roles to the specific service accounts and operators who manage the StatefulSets, and avoid cluster-wide bindings for these verbs. Review role bindings after each upgrade, because chart changes can add new subjects.

Current Wazuh release line
4.14

Apply Pod Security Standards

The Wazuh manager, indexer and dashboard run as long-lived workloads that handle security data, so a compromised pod would expose that data. Label the Wazuh namespace with the Pod Security Standards level your controls allow, starting with restricted where the images run without privilege. Test the indexer first, because it may need specific kernel or volume settings that the restricted profile blocks.

Plan certificates for component traffic

The indexer, server, dashboard and agents exchange traffic that Wazuh secures with certificates, and each component needs its own certificate chain. Decide who issues and rotates these certificates before deployment, whether that is a cluster-internal CA or your enterprise PKI. Confirm the rotation procedure in the vendor documentation so an expiring certificate does not break agent enrollment.

Limit networks that reach agent ports

Agents connect to the Wazuh master and workers on enrollment and event ports, and those ports are the main way endpoints reach the cluster. Expose them through a load balancer with source ranges limited to your endpoint networks, and keep the dashboard and indexer off public addresses. Use Kubernetes NetworkPolicy to restrict pod-to-pod traffic, and confirm your EKS load balancer and security group rules match the same list.

Questions buyers ask before running Wazuh on Kubernetes

What drives the cost of running Wazuh on Kubernetes?

The Wazuh software itself carries no license fee, because the self-hosted product is open source under the GNU General Public License version 2. The cost comes from the infrastructure and the people. You pay for the Kubernetes cluster (or the EKS control plane and worker nodes), persistent storage for the indexer, compute sized to your agent count and log volume, backups, and the staff time to build, test and operate it. Cluster ownership matters most: if your platform team already runs a supported cluster, the marginal cost is lower than standing one up. Storage and sizing usually dominate recurring spend because indexed alert data grows with retention. Ask any partner for a quote that lists each of these components separately, with one-time work and recurring work shown apart.

How long does a Wazuh Kubernetes build take?

Duration depends on how much of the platform is already in place. The main factors are whether a supported cluster exists, how many components you run (master, workers, indexer and dashboard), how storage is provisioned on your cloud or data center, how much you customize rules and decoders, and how much testing and identity integration the rollout needs. A build on a ready cluster with standard storage and a small agent fleet is much shorter than a build that must first add an EKS storage driver, design network paths for agent ports and integrate SSO. No duration should be accepted without a written scope that lists these items, because the schedule follows from the scope.

What must our team provide before a Wazuh Kubernetes build starts?

Plan to supply the following before work begins:

  • Cluster access, with a role that can create namespaces, StatefulSets, services and persistent volume claims
  • AWS accounts and IAM permissions for EKS, EBS storage and load balancers, if you run on Amazon EKS
  • DNS names for the dashboard and for the agent-facing master service
  • Certificates from your certificate authority or an agreed issuance method for the dashboard and indexer
  • An identity provider and a named owner for SAML single sign-on, if you want SSO from the first day
  • A named technical owner who approves network rules for agent ports and makes decisions during the build

Missing items are the most common cause of delay, so confirm each one during scoping.

Can an internal team deploy Wazuh on Kubernetes without a partner?

Yes, a capable internal team can deploy Wazuh on Kubernetes with the vendor manifests, provided it has working Kubernetes operations experience, storage engineering skills and someone who understands Wazuh agent enrollment and certificates. The harder parts are usually not the first deployment but the ongoing work: upgrading in the right order, keeping persistent volumes healthy, reviewing exposed ports, testing backups and restoring them, and aligning the setup with your security and compliance reviews. Ask yourself whether those skills will be available after go-live. If they will not, a fixed-scope engagement or a retainer can cover the gap while your team learns the platform.

What does a DeployOpen engagement cover for Wazuh on Kubernetes?

DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a Wazuh Kubernetes engagement, that means agreeing a written scope that can include cluster and storage design, the StatefulSet and service layout, agent port exposure, identity integration, backup and restore checks, and handover documentation. Most engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts. Ongoing upgrades and testing are available as retainers. DeployOpen prepares systems and evidence for compliance assessments but does not issue audit reports or certifications.

What recurring work comes after a Wazuh Kubernetes deployment?

After go-live, the recurring work includes patching and upgrading Wazuh on the vendor's cadence, which in the 4.14 line has produced several patch releases in a single year, so plan for regular maintenance windows. You also maintain the Kubernetes cluster itself, including its own upgrade and version skew rules, storage capacity growth as indexed data expands, certificate renewal, backup verification, and access reviews. Ask any partner which of these are in the fixed-scope build and which move to a retainer.

Which security checks matter most for Wazuh on Kubernetes?

Start with what a Kubernetes cluster exposes by default. Kubernetes stores Secrets unencrypted in etcd unless you configure encryption at rest, so enable it and restrict list and watch access with least-privilege RBAC. Limit which Services expose agent ports and the dashboard, and place the dashboard behind your identity provider. Apply Pod Security Standards to the Wazuh namespaces, review service account permissions, and confirm that default credentials are changed before production use. Treat certificates and enrollment as security controls too, because they decide which agents can join the manager.

What a fixed-scope Wazuh on Kubernetes engagement covers

A fixed-scope engagement for Wazuh on Kubernetes starts with written scope, agreed before any cluster change is made. DeployOpen reviews the target cluster and storage first: the Kubernetes version and its support window, the node pools that will host the master, worker and indexer StatefulSets, the storage class and the EKS storage driver that will provision their persistent volumes, and how the cluster is reached from the networks where agents sit. The output is a short list of decisions your team signs off on, such as which namespace model to use, how many workers to start with and whether the cluster is shared with other workloads. Confirm with your platform team which Kubernetes minor version your EKS control plane runs and how long your organization supports it, because that determines the upgrade path the Wazuh manifests must follow.

The next stages cover the manifests and the network. DeployOpen adapts the vendor manifests for wazuh/wazuh-manager workers and master, the indexer and the dashboard, then designs agent port exposure: which service type carries the enrollment service and agent traffic, whether a load balancer is used, and which security group or network policy rules allow only the endpoint ranges you name. Security configuration covers replacing default credentials, certificate handling, restricting access to the dashboard, and reviewing the Secrets used by the deployment. Verification means enrolling test agents, checking that alerts reach the indexer, and confirming that a pod restart does not lose data. Handover includes runbooks for the operations your team will perform.

A managed option is also available. Wazuh Cloud is the vendor's cloud-delivered XDR and SIEM service, sold in Small, Medium, Large and Custom tiers, and it is a separate choice from running the self-hosted software in your own cluster. Compare the two on data residency, who operates the platform, and who carries the upgrade work. A quote from DeployOpen follows from the written scope, so ask for each stage above to be priced and dated separately, and ask which items are one-time and which recur, such as support or upgrade work. Confirm the current release line in the Wazuh release notes before the scope is fixed.

How DeployOpen delivers Wazuh on Kubernetes

DeployOpen plans and implements self-hosted Wazuh inside your own cloud accounts, data centers or air-gapped networks, including Kubernetes and Amazon EKS clusters you control. The work moves from a written scope through a tested build to documentation and handover your platform team can run.

How we scope

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • The written scope names the cluster target, the Wazuh release line, and which StatefulSets, services and volumes are in scope.
  • Scope records how agents reach the master, workers and indexer, and which network paths your security team must approve.

How we build

  • We deploy the master, worker, indexer and dashboard components from the vendor manifests into your cluster.
  • We configure persistent volumes, storage classes and EKS storage driver settings so indexed data survives pod rescheduling.
  • We expose agent enrollment and event ports through services and load balancers, then test agent connectivity end to end.

How we hand over

  • You receive documented manifests, configuration values and a record of every change made to the cluster during the build.
  • We provide runbooks covering restarts, scaling, certificate handling and recovery of the indexer and master node.
  • Handover includes a verification checklist your team can rerun after Wazuh patch releases or cluster upgrades.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover Wazuh patch upgrades and Kubernetes version changes, scheduled against your change windows.
  • Ask any partner to confirm how the retainer covers cluster upgrades, storage driver changes and incident response access.

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.