Before you create a stream in Datastream, you must establish network connectivity between Datastream and your source database. Depending on your security requirements and network topology, you can connect using public IP allowlists, an encrypted forward SSH tunnel, or private connectivity.
Use the following table to compare the network connectivity methods and choose the option that best fits your workload:
| Network connectivity method | Description | Things to consider |
|---|---|---|
| IP allowlist | Works by configuring the source database server to allow incoming connections from Datastream's external IP addresses. To find out the IP addresses for your regions, see IP allowlists and regions. |
|
| Forward SSH tunnel |
Establish an encrypted connection over public networks between Datastream and the source, through a forward-SSH tunnel. |
|
| Private Service Connect interfaces | Works by creating a private connectivity configuration. Datastream uses this configuration to communicate with the data source over a private network. This communication happens through a network attachment set up in the customer VPC network. |
|
| VPC peering | Works by creating a private connectivity configuration. Datastream uses this configuration to communicate with the data source over a private network. This communication happens through a Virtual Private Cloud (VPC) peering connection. |
|
What's next
- Learn more about IP allowlists.
- Learn more about Forward SSH tunnel.
- Learn more about Private Service Connect interfaces.
- Learn more about VPC peering.