대상 Cloud SQL 인스턴스에 전용 마이그레이션 사용자를 만들고 구성합니다. 이 사용자는 Database Migration Service가 대상 인스턴스에 연결하고 데이터를 모니터링하는 데 필요합니다. 나중에
대상 연결 프로필을 만들 때 이 계정의 사용자 이름과 비밀번호를 제공해야 합니다.
대상 SQL Server용 Cloud SQL 인스턴스에서 데이터베이스 사용자 계정을 만듭니다. Cloud SQL 문서의
사용자 만들기 및 관리를 참고하세요.
사용자 계정에 다음 권한을 할당합니다.
SQL Server 2019: VIEW ANY DEFINITION 및 VIEW SERVER STATE
이후 버전: VIEW ANY DEFINITION 및 VIEW SERVER PERFORMANCE STATE
사용자 계정에 권한을 할당하는 방법에 대한 자세한 내용은 Cloud SQL 문서의
사용자 권한 변경을 참고하세요.
대상 인스턴스와 연결된 서비스 계정에 Cloud Storage 권한을 부여합니다. 대상 인스턴스를 만든 후에 이 계정이 생성됩니다.
Cloud SQL 인스턴스 세부정보 페이지에서 이 서비스 계정과 연결된 이메일 주소를 확인합니다. Cloud SQL 문서의
인스턴스 정보 보기를 참고하세요.
서비스 계정에 storage.objects.get 및 storage.objects.list 권한을 추가합니다. Identity and Access Management로 액세스 권한을 관리하는 방법에 대한 자세한 내용은 IAM 문서의
프로젝트, 폴더, 조직에 대한 액세스 관리를 참고하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-18(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,["# Create and configure the Cloud SQL for SQL Server destination instance\n\nFor homogeneous SQL Server migrations to Cloud SQL,\nDatabase Migration Service requires that you first create and configure your\nCloud SQL destination instance. Perform the following steps:\n\n1. [Create your destination instance](/sql/docs/sqlserver/create-instance). Make sure you use enough compute\n and memory resources to cover your migration needs and follow the requirements\n listed in\n [known limitations](/database-migration/docs/sqlserver/known-limitations).\n\n2. Create and configure a dedicated migration user in your destination\n Cloud SQL instance. This user is required for Database Migration Service to successfully\n connect to your destination instance and monitor your data. You need to provide\n the username and password for this account at a later stage, when you\n [create the destination connection profile](/database-migration/docs/sqlserver/create-destination-connection-profile).\n\n 1. Create the database user account in your destination Cloud SQL for SQL Server\n instance. See\n [Create and manage users](/sql/docs/sqlserver/create-manage-users) in the Cloud SQL documentation.\n\n 2. Assign the following privileges to the user account:\n\n - For SQL Server 2019: `VIEW ANY DEFINITION` and `VIEW SERVER STATE`\n - For later versions: `VIEW ANY DEFINITION` and `VIEW SERVER PERFORMANCE STATE`\n\n For information on how to assign privileges to user accounts, see\n [Changing permissions for users](/sql/docs/sqlserver/users#changing-permissions) in the Cloud SQL documentation.\n3. Grant the Cloud Storage permissions to the service account associated\n with your destination instance. This account is created after you create the\n destination instance.\n\n 1. Check the email address associated with this service account on the\n Cloud SQL instance detail page. See\n [View instance information](/sql/docs/sqlserver/instance-info#service_account) in the Cloud SQL documentation.\n\n 2. Add the `storage.objects.get`, and `storage.objects.list`\n permissions to the service account. For information on how to manage access\n with Identity and Access Management, see\n [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access)\n in the IAM documentation.\n\nWhat's next?\n------------\n\n- [Create a migration job](/database-migration/docs/sqlserver/create-migration-job)"]]