This page describes how to use the IP allowlists connectivity method so that Datastream can transfer data from a source database to a destination.
Public IP connectivity is most appropriate when the 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 IP address of the source database to Datastream's IP addresses.
Set the protocol to
TCP
.Set the port associated with the
TCP
protocol. The default values are:1521
for an Oracle database3306
for a MySQL database5432
for a PostgreSQL database1433
for a SQL Server database27017
for a MongoDB database
Save the firewall rule, and then exit.
What's next
- Learn how about other network connectivity methods.