When you plan the network connectivity setup for your migration, it's important to carefully consider the infrastructure requirements, including what limitations your networking decisions might introduce to the end state of the migrated database instance. For example, if you want to use a private connection for the destination database connectivity, you need to create your destination Cloud SQL instance with private IP enabled. You can't later disable the private IP on your Cloud SQL instance.
There are multiple different methods you can use to establish the necessary network connections. Both source and destination connectivity can be established with the use of public or private IP addresses. You can combine any source and destination connectivity methods to best match your infrastructure requirements.
In this example, you have the following database instances:
For the source database connectivity, you use the IP allowlist method to establish a connection over the public internet. You secure this connection with an SSL/TLS certificate.
For the destination database connectivity, you use Private Service Connect to establish a private connection over the Google Cloud network. This internal connection is automatically encrypted by Database Migration Service.
In this example, you have the following components:
For the source database connectivity, you use a private connectivity configuration to establish a VPC peering connection between Database Migration Service and the VPC where you have your Cloud VPN instance. You use Cloud VPN to create an IPsec tunnel between Google Cloud and the cloud network where you have the source Oracle database.
For the destination database connectivity, you use the public IP connectivity method to establish a connection over the public internet. Database Migration Service automatically secures this connection with SSL/TLS.
There are many different connectivity methods you can use. Each method can be further adjusted with proxy servers, ssh tunnels, and bastion VMs.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-17 UTC.