Static IP addresses
Your Materialize region initiates connections from a static set of IP addresses. When connecting Materialize to services in your private networks (e.g., Kafka clusters or PostgreSQL databases), you must configure any firewalls to allow connections from these IP addresses.
Details
Your Materialize region is associated with a static set of egress IP addresses. Most regions have four egress IP addresses, but this is not guaranteed. All connections to the public internet initiated by a source or sink in your region will originate from one of these egress IP addresses.
We do not allocate unique IP addresses for each Materialize region. Multiple regions may share the same egress IP addresses.
When connecting Materialize to services in your private networks (e.g., Kafka clusters or PostgreSQL databases), you must configure any firewalls to allow connections from your region’s egress IP addresses. You must allow connections from all egress IP addresses associated with your region. Connections may originate from any one of the egress IP addresses.
To find the egress IP addresses associated with your region, you can query the
mz_egress_ips
system table.
Example
Show the static egress IPs associated with a region:
SELECT * FROM mz_egress_ips;
egress_ip
----------------
1.2.3.4
5.6.7.8