A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/database-migration/docs/postgres/networking-methods below:

Networking methods | Database Migration Service

Networking methods

Stay organized with collections Save and categorize content based on your preferences.


Overview

To create a migration in Database Migration Service, connectivity must be established between the source instance and the Cloud SQL destination instance. There are various methods supported. Choose the one that works best for the specific workload.

Networking method Description Advantages Disadvantages IP allowlist

This method works by configuring the source database server to accept connections from the outgoing IP of the Cloud SQL instance.

If you choose this method, then Database Migration Service guides you through the setup process during the migration creation.

Reverse-SSH tunnel via cloud hosted VM

Establishes connectivity from the destination to the source through a secure reverse SSH tunnel.

Requires a bastion host VM in the Google Cloud Platform project as well as a machine (for example, a laptop on the network) that has connectivity to the source.

Database Migration Service collects the required information at migration creation time, and auto-generates the script for setting it all up.

VPC peering

This method works by configuring the VPCs to communicate with one another.

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-07-09 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[[["Database Migration Service requires establishing connectivity between the source database and the Cloud SQL destination instance for successful migration."],["The IP allowlist method involves configuring the source database to accept connections from the Cloud SQL instance's outgoing IP address, and is recommended for short-lived migrations."],["Reverse-SSH tunnel via cloud hosted VM method creates a secure connection from the destination to the source, requiring a bastion host VM and is also preferred for short lived migrations."],["VPC peering involves configuring VPCs to communicate with each other, and is ideal for long-running or high-volume migrations, but works if both databases are hosted in google cloud or are connected to the same VPC."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4