Cloud Deploy 설정

이 페이지에서는 Cloud Deploy 설정 단계를 설명합니다. Cloud Deploy 요금에 대한 자세한 내용은 가격 책정을 참조하세요.

  1. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  2. Verify that billing is enabled for your Google Cloud project.

  3. Enable the Cloud Deploy API.

    Roles required to enable APIs

    To enable APIs, you need the Service Usage Admin IAM role (roles/serviceusage.serviceUsageAdmin), which contains the serviceusage.services.enable permission. Learn how to grant roles.

    Enable the API

    Google Kubernetes Engine, Cloud Storage, Cloud Build API를 포함하여 Cloud Deploy 기능을 사용하려면 다른 API를 사용 설정해야 할 수 있습니다. 사용 설정하려면Google Cloud 콘솔에서 API 라이브러리로 이동하여 해당 API를 검색하세요.
  4. Google Cloud CLI를 설치합니다. 설치 후 다음 명령어를 실행하여 Google Cloud CLI를 초기화합니다.

    gcloud init

    외부 ID 공급업체(IdP)를 사용하는 경우 먼저 제휴 ID로 gcloud CLI에 로그인해야 합니다.

  5. 이미 gcloud CLI를 설치한 경우 사용 가능한 최신 버전인지 확인합니다.

     gcloud components update
    

다음 단계