Create and configure the Cloud SQL for SQL Server destination instance
Stay organized with collections
Save and categorize content based on your preferences.
For homogeneous SQL Server migrations to Cloud SQL,
Database Migration Service requires that you first create and configure your
Cloud SQL destination instance. Perform the following steps:
Create and configure a dedicated migration user in your destination
Cloud SQL instance. This user is required for Database Migration Service to successfully
connect to your destination instance and monitor your data. You need to provide
the username and password for this account at a later stage, when you
create the destination connection profile.
Create the database user account in your destination Cloud SQL for SQL Server
instance. See
Create and manage users in the Cloud SQL documentation.
Assign the following privileges to the user account:
For SQL Server 2019: VIEW ANY DEFINITION and VIEW SERVER STATE
For later versions: VIEW ANY DEFINITION and VIEW SERVER PERFORMANCE STATE
For information on how to assign privileges to user accounts, see
Changing permissions for users in the Cloud SQL documentation.
Grant the Cloud Storage permissions to the service account associated
with your destination instance. This account is created after you create the
destination instance.
Check the email address associated with this service account on the
Cloud SQL instance detail page. See
View instance information in the Cloud SQL documentation.
Add the storage.objects.get, and storage.objects.list
permissions to the service account. For information on how to manage access
with Identity and Access Management, see
Manage access to projects, folders, and organizations
in the IAM documentation.
[[["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-08-07 UTC."],[[["\u003cp\u003eDatabase Migration Service requires a pre-configured Cloud SQL destination instance for homogeneous SQL Server migrations.\u003c/p\u003e\n"],["\u003cp\u003eYou must create a dedicated migration user within the destination Cloud SQL instance with specific privileges: \u003ccode\u003eVIEW ANY DEFINITION\u003c/code\u003e and \u003ccode\u003eVIEW SERVER STATE\u003c/code\u003e for SQL Server 2019, or \u003ccode\u003eVIEW ANY DEFINITION\u003c/code\u003e and \u003ccode\u003eVIEW SERVER PERFORMANCE STATE\u003c/code\u003e for later versions.\u003c/p\u003e\n"],["\u003cp\u003eGrant the service account associated with your destination instance \u003ccode\u003estorage.objects.get\u003c/code\u003e, and \u003ccode\u003estorage.objects.list\u003c/code\u003e permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe destination instance must be configured with sufficient compute and memory resources to meet migration demands, while also following the requirements listed in the known limitations.\u003c/p\u003e\n"]]],[],null,[]]