How to Configure Amazon Redshift Multi-az Network Port Requirements
Setting up amazon redshift multi az network port requirements controls which apps reach your data warehouse across zones. You keep traffic safe by opening the cluster port only to trusted subnets and internal nodes. A multi-zone setup spreads database nodes across two separate cloud zones. If one zone fails, the system shifts work to the healthy zone. For this shift to work, network rules must allow both client queries and node sync traffic. Missing a port rule in one zone will break failover w
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Setting up amazon redshift multi az network port requirements controls which apps reach your data warehouse across zones. You keep traffic safe by opening the cluster port only to trusted subnets and internal nodes.
A multi-zone setup spreads database nodes across two separate cloud zones. If one zone fails, the system shifts work to the healthy zone. For this shift to work, network rules must allow both client queries and node sync traffic. Missing a port rule in one zone will break failover when an outage hits.
How amazon redshift multi az network port requirements work
Every cluster listens on a single custom port that you pick during setup. Client apps, data tools, and analysts send queries to this main port. In a multi-zone layout, both zones use one shared endpoint name. That endpoint routes traffic to the active zone on the cluster port.
Your subnet groups need identical rules across every zone in the virtual network. If you open the main port in zone A, you must open it in zone B. You also need self-referencing security group rules so cluster nodes talk to each other. Compute nodes share data blocks and status checks across zones all day.
Start with safe defaults when you build your security group rules. Never open the database port to the public internet or broad address ranges. Lock inbound rules down to specific app security groups or private subnet ranges. For outbound traffic, allow the cluster to reach cloud storage services for backups and data loads. Use a virtual network endpoint so storage traffic stays off the public internet.
Routing and subnet checks across zones
Security groups are only half of the network picture for a dual-zone warehouse. You also need to check route tables and network access control lists for each subnet. Every subnet in the cluster group must sit in the same virtual network. Each zone needs a clear route back to your client apps and peer networks.
Stateless subnet firewalls check both inbound and outbound packets at the subnet edge. If your team uses these subnet firewalls, you must allow high return ports for client responses. A missing return port rule drops query results before they reach the app. Most teams stick to stateful security groups to avoid dropping return packets.
Multi-Factor Authentication (MFA) + Redshift Security: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
You also need to plan for IP address capacity in each subnet. A multi-zone cluster places network interfaces in both zones at the same time. Make sure both subnets have enough free IP addresses for your node count plus future growth.
Checking port rules and limits of static setup
After you apply your network rules, test the setup before loading production data. Run a connection check from an app server to the shared cluster endpoint. Then trigger a test failover to confirm the second zone accepts traffic on the same port. Check your cloud network flow logs to spot any dropped packets between zones.
Flow logs show if a security group or subnet rule blocked a connection attempt. They record the source IP, destination port, and action taken by the network. Reviewing these logs helps you fix broken routes fast during setup.
Keep in mind that network ports only control where traffic comes from on the wire. Once a client passes the port check and logs in, the firewall stops looking. Port rules cannot tell if a user runs a safe report or drops a table. They also cannot rewrite sensitive fields like emails, phone numbers, or card numbers in query results. To control what happens inside an active database session, you need query-level checks and data masking.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
Do both zones use the same database port during a failover?
Yes, the shared cluster endpoint keeps the exact same port number after a zone switch. Client apps reconnect to the same address and port once the backup zone takes over.
Why do cluster nodes need to talk to each other across ports?
Leader and compute nodes exchange query plans, data blocks, and health signals over private links. Without a self-referencing security group rule, the cluster cannot sync data across zones.
Can port rules mask sensitive data in query results?
No, network port rules only allow or block packets at the subnet and host level. Rewriting fields like national IDs or card numbers requires a tool that inspects database queries.
Related guides
In this post