Menyiapkan project dan izin

Halaman ini menunjukkan cara membuat project Google Cloud, mengaktifkan AI AML, membuat kredensial autentikasi, dan memberikan satu atau beberapa peran IAM ke akun Anda.

  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  2. Install the Google Cloud CLI.
  3. To initialize the gcloud CLI, run the following command:

    gcloud init
  4. Create or select a Google Cloud project.

    • Create a Google Cloud project:

      gcloud projects create PROJECT_ID

      Replace PROJECT_ID with a name for the Google Cloud project you are creating.

    • Select the Google Cloud project that you created:

      gcloud config set project PROJECT_ID

      Replace PROJECT_ID with your Google Cloud project name.

  5. Make sure that billing is enabled for your Google Cloud project.

  6. Enable the required APIs:

    gcloud services enable financialservices.googleapis.com bigquery.googleapis.com cloudkms.googleapis.com
  7. If you're using a local shell, then create local authentication credentials for your user account:

    gcloud auth application-default login

    You don't need to do this if you're using Cloud Shell.

  8. Grant roles to your user account. Run the following command once for each of the following IAM roles: roles/financialservices.admin, roles/cloudkms.admin, roles/bigquery.admin

    gcloud projects add-iam-policy-binding PROJECT_ID --member="user:USER_IDENTIFIER" --role=ROLE
    • Replace PROJECT_ID with your project ID.
    • Replace USER_IDENTIFIER with the identifier for your user account. For example, user:myemail@example.com.

    • Replace ROLE with each individual role.
  9. Install the Google Cloud CLI.
  10. To initialize the gcloud CLI, run the following command:

    gcloud init
  11. Create or select a Google Cloud project.

    • Create a Google Cloud project:

      gcloud projects create PROJECT_ID

      Replace PROJECT_ID with a name for the Google Cloud project you are creating.

    • Select the Google Cloud project that you created:

      gcloud config set project PROJECT_ID

      Replace PROJECT_ID with your Google Cloud project name.

  12. Make sure that billing is enabled for your Google Cloud project.

  13. Enable the required APIs:

    gcloud services enable financialservices.googleapis.com bigquery.googleapis.com cloudkms.googleapis.com
  14. If you're using a local shell, then create local authentication credentials for your user account:

    gcloud auth application-default login

    You don't need to do this if you're using Cloud Shell.

  15. Grant roles to your user account. Run the following command once for each of the following IAM roles: roles/financialservices.admin, roles/cloudkms.admin, roles/bigquery.admin

    gcloud projects add-iam-policy-binding PROJECT_ID --member="user:USER_IDENTIFIER" --role=ROLE
    • Replace PROJECT_ID with your project ID.
    • Replace USER_IDENTIFIER with the identifier for your user account. For example, user:myemail@example.com.

    • Replace ROLE with each individual role.
  16. Peran ini memenuhi izin yang diperlukan berikut:

    Izin yang diperlukan

    Izin berikut diperlukan untuk menyelesaikan panduan memulai dan diperlukan untuk melakukan banyak operasi penting di AML AI.

    Izin Deskripsi
    resourcemanager.projects.getMendapatkan project Google Cloud
    resourcemanager.projects.listMencantumkan project Google Cloud
    cloudkms.keyRings.createMembuat key ring Cloud KMS
    cloudkms.cryptoKeys.createMembuat kunci Cloud KMS
    financialservices.v1instances.createMembuat instance AML AI
    financialservices.operations.getMendapatkan operasi AML AI
    cloudkms.cryptoKeys.getIamPolicyMendapatkan kebijakan IAM pada kunci Cloud KMS
    cloudkms.cryptoKeys.setIamPolicyMenetapkan kebijakan IAM pada kunci Cloud KMS
    bigquery.datasets.createMembuat set data BigQuery
    bigquery.datasets.getMendapatkan set data BigQuery
    bigquery.transfers.getMendapatkan transfer BigQuery Data Transfer Service
    bigquery.transfers.updateMembuat atau menghapus transfer BigQuery Data Transfer Service
    bigquery.datasets.setIamPolicyMenetapkan kebijakan IAM pada set data BigQuery
    bigquery.datasets.updateMemperbarui set data BigQuery
    financialservices.v1datasets.createMembuat set data AML AI
    financialservices.v1engineconfigs.createMembuat konfigurasi mesin AML AI
    financialservices.v1models.createMembuat model AML AI
    financialservices.v1backtests.createMembuat hasil backtest AML AI
    financialservices.v1backtests.exportMetadataMengekspor metadata dari hasil uji balik AI AML
    financialservices.v1instances.importRegisteredPartiesMengimpor pihak terdaftar ke instance AML AI
    financialservices.v1predictions.createMembuat hasil prediksi AML AI
    bigquery.jobs.createMembuat tugas BigQuery
    bigquery.tables.getDataMendapatkan data dari tabel BigQuery
    financialservices.v1predictions.deleteMenghapus hasil prediksi AI AML
    financialservices.v1backtests.deleteMenghapus hasil uji balik AML AI
    financialservices.v1models.deleteMenghapus model AML AI
    financialservices.v1engineconfigs.deleteMenghapus konfigurasi mesin AML AI
    financialservices.v1datasets.deleteMenghapus set data AML AI
    financialservices.v1instances.deleteMenghapus instance AML AI
    bigquery.datasets.deleteMenghapus set data BigQuery