How to Configure Amazon Redshift Multi-az Port Requirements

Published
Length
3 min read

Luis Felipe Dias

All posts

Setting up amazon redshift multi az port requirements controls how clients and nodes talk across zones. You set it up safely by opening the cluster port only to trusted security groups. A multi-zone warehouse spreads compute nodes across two separate cloud zones. When one zone fails, the cluster shifts traffic to the other zone. If your port rules do not match across both zones, queries will drop during a failover. Network teams must set up clear inbound and outbound port rules before putting 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 port requirements controls how clients and nodes talk across zones. You set it up safely by opening the cluster port only to trusted security groups.

A multi-zone warehouse spreads compute nodes across two separate cloud zones. When one zone fails, the cluster shifts traffic to the other zone. If your port rules do not match across both zones, queries will drop during a failover. Network teams must set up clear inbound and outbound port rules before putting workloads into production.

How amazon redshift multi az port requirements work in practice

Your data warehouse uses one main TCP port to take in SQL traffic from client apps. In a multi-zone setup, the service places an endpoint across subnets in both zones. Client apps, data tools, and analysts send queries to this single endpoint on your chosen port. Both zones must share the exact same subnet and security group port rules.

Beyond client traffic, the compute nodes inside each zone also talk to each other. They send data blocks back and forth over private network links to finish complex joins. You must allow all ports inside the cluster security group so nodes can talk to each other. At the same time, you should block public internet traffic on the main database port.

Safe defaults start with picking a non-default port number when you build the cluster. Next, lock the inbound rule to specific security groups or small private IP ranges. Never open the database port to the whole internal network just to make testing easier. Every subnet in your subnet group also needs matching network access control list port rules.

Checking port rules and closing session gaps

Network teams should check port rules in both zones before running a live failover test. You can read virtual private cloud flow logs to see if any subnet drops packets. Check that both zones accept traffic on the cluster port from your app subnets. Also check that return traffic can flow back out on ephemeral ports in your subnet rules.

Multi-Factor Authentication (MFA) + Redshift Security: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

While port rules control network paths, they stop working once a user logs in. A valid port rule cannot tell a safe query from a bad table drop command. Shared database users also make it hard to see which person ran a specific query. Static network rules leave full table data open to anyone with a valid password.

Teams also struggle when engineers need quick access to fix a broken data pipeline. Opening firewall ports for home IP addresses creates drift and leaves wide network holes behind. Even with tight port rules, someone with a valid role can read emails or card numbers. You need runtime controls that check every query and mask sensitive fields in the results.

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 availability zones use the same database port?

Yes, the cluster endpoint uses the exact same TCP port across both availability zones. Your security groups and subnet rules must allow that port in every single zone.

Why do queries fail after a zone failover?

Queries often fail after a failover when the second subnet has stricter network rules. Check that route tables and network access lists match across all subnets in the group.

Do port rules protect sensitive data inside the tables?

No, port rules only decide which network addresses can reach the database login prompt. Once a session starts, you need query policies and data masking to protect sensitive columns.

The query runs. The emails stay hidden.