Check provider logo

DocumentDB cluster has Multi-AZ enabled

documentdb_cluster_multi_az_enabled

Severitymedium
Servicedocumentdb
by Prowler

Amazon DocumentDB clusters with Multi-AZ (multi_az) indicate deployment of a primary and one or more replicas across Availability Zones.

Risk

Without Multi-AZ, the cluster depends on a single AZ/instance. An AZ or node failure-or maintenance-can stop reads and writes, causing downtime, timeouts, and SLA breaches. Availability degrades, RTO rises, and applications may experience failed or retried transactions until replacement capacity is created.

Run this check with Prowler CLI

prowler aws --checks documentdb_cluster_multi_az_enabled

Recommendation

Enable Multi-AZ for DocumentDB and distribute instances across distinct AZs.

  • Maintain at least one replica
  • Set promotion priorities to guide failover
  • Test failover regularly and use resilient client retries

This builds fault tolerance and preserves service availability.

Remediation

CLI

aws docdb create-db-instance --db-instance-identifier <example_resource_id> --db-cluster-identifier <example_resource_id> --db-instance-class <INSTANCE_CLASS> --engine docdb --availability-zone <OTHER_AZ>

Native IaC
Terraform
Other
  1. In the AWS Console, go to Amazon DocumentDB and open your cluster
  2. Click Create instance
  3. Set Instance class and choose an Availability Zone different from the primary
  4. Click Create to add the replica
  5. Verify the cluster now shows Multi-AZ enabled

Source Code

Resource Type

AwsRdsDbCluster

References