이 페이지에서는 Google Cloud CLI를 시작하여 이를 통해 Database Migration Service 연결 프로필 및 이전 작업을 관리하는 방법을 설명합니다.
Google Cloud CLI는 Database Migration Service 및 기타 Google Cloud 서비스와 상호작용할 수 있도록 Google Cloud CLI를 제공합니다. gcloud CLI는 API를 사용하여 Database Migration Service에 액세스하므로 이 도구를 사용하려면 먼저 API를 사용 설정해야 합니다.
Google Cloud CLI 시작
gcloud CLI를 시작하려면 Google Cloud CLI 문서를 검토하세요.
--help 플래그를 사용하면 도구, 리소스, 명령어에 관한 도움말을 볼 수 있습니다.
[[["이해하기 쉬움","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-09-05(UTC)"],[[["\u003cp\u003eThis guide outlines how to use the Google Cloud CLI for managing Database Migration Service connection profiles and migration jobs.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Cloud CLI interacts with Database Migration Service through its API, which must be enabled beforehand.\u003c/p\u003e\n"],["\u003cp\u003eYou can find comprehensive information on the Google Cloud CLI in the official documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--help\u003c/code\u003e flag provides assistance with the tool, resources, and specific commands within the Google Cloud CLI.\u003c/p\u003e\n"],["\u003cp\u003eYou can configure a default project for your Google Cloud CLI environment using the \u003ccode\u003egcloud config list\u003c/code\u003e and \u003ccode\u003egcloud config set project [PROJECT_ID]\u003c/code\u003e commands.\u003c/p\u003e\n"]]],[],null,["# Use the gcloud CLI\n\n\u003cbr /\u003e\n\n[MySQL](/database-migration/docs/mysql/use-the-cloud-sdk \"View this page for the MySQL version of Database Migration Service.\") \\| [PostgreSQL](/database-migration/docs/postgres/use-the-cloud-sdk \"View this page for the PostgreSQL version of Database Migration Service.\") \\| PostgreSQL to AlloyDB\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nOverview\n--------\n\nThis page describes how to get started with the\n[Google Cloud CLI](/sdk/docs)\nso you can use it to manage Database Migration Service connection profiles and migration jobs.\n\nThe Google Cloud CLI\nprovides the Google Cloud CLI to interact with\nDatabase Migration Service and other Google Cloud services. The gcloud CLI\nuses the API to access Database Migration Service, so you must enable the API before you\ncan use the tool.\n\nGet started with the Google Cloud CLI\n-------------------------------------\n\nTo start with the gcloud CLI, review the\n[Google Cloud CLI Documentation](/sdk/docs).\nYou can get help for the tool, resources, and\ncommands by using the `--help` flag: \n\n```bash\ngcloud database-migration --help\ngcloud database-migration connection-profiles create --help\ngcloud database-migration migration-jobs promote --help\n```\n\n\nFinally, configure a project as your default project with\ntwo commands. The first command below lists the\nconfiguration for the gcloud CLI, including any default project\nalready set. The second command sets the default project. \n\n```bash\ngcloud config list\ngcloud config set project [PROJECT_ID]\n```"]]