IP allowlists let Datastream connect to a source database over a public network by allowing incoming traffic from Datastream public IP addresses. This connectivity method works best when your source database is external to Google Cloud and has an externally accessible IPv4 address and TCP port.
Set up IP allowlists
If your source database is external to Google Cloud, then add the Datastream public IP addresses as an inbound firewall rule on the source network:
Open your source database machine's network firewall rules.
Create an inbound rule.
Set the source IP addresses for the rule to the Datastream IP addresses for your region.
Set the protocol to
TCP.Set the port associated with the
TCPprotocol. The default values are:1521for an Oracle database3306for a MySQL database5432for a PostgreSQL database1433for a SQL Server database27017for a MongoDB database
Save the firewall rule, and then exit.
What's next
- Learn how about other network connectivity methods.