무료 체험판 인스턴스를 만들고 샘플 데이터 가져오기

이 Bigtable 무료 체험판 인스턴스 빠른 시작에서는 Bigtable 무료 체험판 인스턴스를 설정하고 Bigtable 기능을 살펴보는 초기 단계를 안내합니다.

Bigtable 무료 체험판 인스턴스를 사용하면 90일 동안 무료로 Bigtable 기능에 대해 알아보고 탐색할 수 있습니다. Bigtable 무료 체험판 및 Bigtable 무료 체험판 인스턴스에 대한 자세한 내용은 무료 체험판 개요를 참고하세요.

이 빠른 시작에서는 다음 작업을 수행합니다.

  • Google Cloud 콘솔에서 Bigtable 무료 체험판 인스턴스를 만듭니다.
  • Bigtable Studio를 사용하여 예시 데이터에 대해 쿼리를 실행합니다.
  • 성능 테스트를 위해 100GB의 샘플 데이터를 가져옵니다.
  • Cloud Shell을 사용하여 Bigtable 무료 체험 인스턴스로 자체 데이터를 가져옵니다.

시작하기 전에

  • Google 계정이 있는 모든 사용자는 10일간 무료로 체험할 수 있습니다.
  • Bigtable 무료 체험판 인스턴스가 있는 프로젝트에서 Cloud Billing을 사용 설정하면 10일의 체험 기간을 90일로 연장할 수 있습니다. Bigtable 무료 체험판 인스턴스를 유료 인스턴스로 업그레이드하기로 선택하지 않으면 요금이 청구되지 않습니다.
  • Bigtable 무료 체험판 인스턴스를 삭제하면 90일 무료 체험 기간이 아직 활성 상태이더라도 다른 인스턴스를 다시 만들 수 없습니다.
  • API를 사용 설정하고 IAM 역할을 할당합니다.
    1. Google Cloud 계정에 로그인합니다. Google Cloud를 처음 사용하는 경우 계정을 만들고 Google 제품의 실제 성능을 평가해 보세요. 신규 고객에게는 워크로드를 실행, 테스트, 배포하는 데 사용할 수 있는 $300의 무료 크레딧이 제공됩니다.
    2. 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 role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

      Go to project selector

    3. Enable the Cloud Bigtable and Cloud Bigtable Admin APIs.

      Roles required to enable APIs

      To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

      Enable the APIs

    4. Make sure that you have the following role or roles on the project: roles/bigtable.admin

      Check for the roles

      1. In the Google Cloud console, go to the IAM page.

        Go to IAM
      2. Select the project.
      3. In the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.

      4. For all rows that specify or include you, check the Role column to see whether the list of roles includes the required roles.

      Grant the roles

      1. In the Google Cloud console, go to the IAM page.

        Go to IAM
      2. Select the project.
      3. Click Grant access.
      4. In the New principals field, enter your user identifier. This is typically the email address for a Google Account.

      5. Click Select a role, then search for the role.
      6. To grant additional roles, click Add another role and add each additional role.
      7. Click Save.
    5. 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 role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

      Go to project selector

    6. Enable the Cloud Bigtable and Cloud Bigtable Admin APIs.

      Roles required to enable APIs

      To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

      Enable the APIs

    7. Make sure that you have the following role or roles on the project: roles/bigtable.admin

      Check for the roles

      1. In the Google Cloud console, go to the IAM page.

        Go to IAM
      2. Select the project.
      3. In the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.

      4. For all rows that specify or include you, check the Role column to see whether the list of roles includes the required roles.

      Grant the roles

      1. In the Google Cloud console, go to the IAM page.

        Go to IAM
      2. Select the project.
      3. Click Grant access.
      4. In the New principals field, enter your user identifier. This is typically the email address for a Google Account.

      5. Click Select a role, then search for the role.
      6. To grant additional roles, click Add another role and add each additional role.
      7. Click Save.

Bigtable 무료 체험판 인스턴스 만들기

다음 단계에서는 Google Cloud 콘솔을 사용하여 Bigtable 무료 체험판 인스턴스를 만드는 방법을 설명합니다.

  1. Google Cloud 콘솔에서 Bigtable 시작하기 페이지를 엽니다.

    Bigtable에 오신 것을 환영합니다

  2. 무료로 약정 없이 Bigtable 체험하기 섹션에 다음을 입력합니다.

    1. 인스턴스 이름에 인스턴스 이름을 입력합니다. 예를 들면 Free trial instance입니다.
    2. (선택사항) 인스턴스 ID에서 자동 생성된 인스턴스 식별자를 검토하고 필요한 경우 변경합니다. 이 가이드의 예시에서는 free-trial-instance ID를 사용합니다.
    3. 리전으로 가까운 리전을 선택합니다.
    4. 영역에서 모두를 선택합니다.
  3. 무료 인스턴스 만들기를 클릭합니다.

Bigtable 기본사항 알아보기

Google Cloud 콘솔의 Bigtable 무료 체험 인스턴스 인터페이스는 Bigtable 기본사항을 배우고 사용해 보는 여정을 안내하는 선택사항인 대화형 튜토리얼을 제공합니다.

선택적으로 Bigtable 무료 체험판 인스턴스의 개요에서 이 4분 길이의 소개 동영상을 시청할 수 있습니다.

  1. Google Cloud 콘솔에서 Bigtable 인스턴스 목록을 엽니다.

    인스턴스 목록 열기

  2. Bigtable 무료 체험판 인스턴스 (free-trial-instance)를 클릭합니다.

  3. 탐색 창에서 개요를 클릭합니다.

  4. 무료 인스턴스 최대한 활용하기 섹션에서 Bigtable 기본사항을 선택한 다음 동영상 재생을 클릭합니다.

  5. 이 튜토리얼 단계를 완료하려면 완료로 표시를 클릭합니다.

샘플 데이터 쿼리

Google Cloud 콘솔에서 Bigtable 무료 체험판 인스턴스를 만들면 Bigtable에서 사용자가 Bigtable 기능과 기능을 탐색하고 익숙해질 수 있도록 샘플 테이블과 샘플 쿼리를 만듭니다.

weather-data 테이블에는 전 세계 공항에서 보고한 샘플 날씨 데이터가 포함되어 있습니다. Bigtable Studio에서 이 테이블에 대한 예시 쿼리를 실행하려면 다음 단계를 따르세요.

  1. Google Cloud 콘솔에서 Bigtable 인스턴스 목록을 엽니다.

    인스턴스 목록 열기

  2. Bigtable 무료 체험판 인스턴스 (free-trial-instance)를 클릭합니다.

  3. 탐색 창에서 개요를 클릭합니다.

  4. 무료 인스턴스 최대한 활용하기 섹션에서 테이블 쿼리를 선택한 다음 테이블 쿼리를 클릭합니다.

    간단한 시작 둘러보기에서 Bigtable Studio의 SQL 쿼리 기본사항을 설명합니다.

  5. 샘플 데이터에 대한 다음 쿼리는 Bigtable Studio에서 생성됩니다.

    SELECT