[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-05。"],[[["\u003cp\u003eDatabase Migration Service requires establishing connectivity between the source database and the Cloud SQL destination instance for migrations.\u003c/p\u003e\n"],["\u003cp\u003eThe IP allowlist method involves configuring the source server to accept connections from the Cloud SQL instance's outgoing IP, making it easy to configure but less secure.\u003c/p\u003e\n"],["\u003cp\u003eReverse-SSH tunnel via a cloud-hosted VM creates connectivity from the destination to the source through a secure SSH tunnel and is good for short-lived migrations.\u003c/p\u003e\n"],["\u003cp\u003eVPC peering enables VPCs to communicate with each other, offering high bandwidth and is ideal for long-running or high-volume migrations, but only if both the source and destination databases are in Google Cloud or connected to the same VPC.\u003c/p\u003e\n"]]],[],null,["# Networking methods\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nMySQL \\| [PostgreSQL](/database-migration/docs/postgres/networking-methods \"View this page for the PostgreSQL version of Database Migration Service.\") \\| [PostgreSQL to AlloyDB](/database-migration/docs/postgresql-to-alloydb/networking-methods \"View this page for the PostgreSQL to AlloyDB version of Database Migration Service.\")\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nOverview\n--------\n\nTo 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."]]