ステップ 1: API を有効にする

Apigee ハイブリッドには、特定の Google Cloud Service API が必要です。このステップでは、インストール プラットフォームに必要な API を有効にします。

次の手順で説明するように、gcloud を使用して必要な API を有効にします。必要に応じて、Cloud コンソールを使用して API を有効にすることもできます。

  1. 前提条件を満たし、ローカルシェルに gcloud CLI がインストールされていることを確認します。
    gcloud --help
  2. PROJECT_ID 環境変数を作成します。ここで、値は Apigee ハイブリッドに使用する Google Cloud プロジェクトの ID です。プロジェクト ID は、プロジェクトを Google Cloud の他のすべてのプロジェクトと区別するために使用する一意の文字列です。必要に応じて、プロジェクト ID を確認するをご覧ください。
    export PROJECT_ID=YOUR_PROJECT_ID
  3. 目的のインストールのタブを選択すると、API を有効にするコマンドが表示されます。

    Google Kubernetes Engine(GKE)でクラスタを実行する場合は、次のコマンドを実行して必要な API を有効にします。

    名前 タイトル 説明
    apigee.googleapis.com Apigee API プロジェクトと他のハイブリッド サービスまたは Google Cloud APIs 間の通信を可能にします。
    apigeeconnect.googleapis.com Apigee Connect API Apigee 管理プレーンとランタイム プレーン間の通信を可能にします。
    pubsub.googleapis.com Cloud Pub/Sub API Apigee の割り当て機能を使用するために必要です。
    cloudresourcemanager.googleapis.com Cloud Resource Manager API ハイブリッドがサービス アカウントを検証するために使用します。
    container.googleapis.com Kubernetes Engine API ハイブリッド ランタイムのインストールに Google Kubernetes Engine(GKE)またはソフトウェアのみの Google Distributed Cloud を使用する場合は有効にします。 Google Cloud
    compute.googleapis.com Compute Engine API クラスタ管理に使用されます(GKE ベースと OpenShift ベースのクラスタのみ)。
    Cloud Consolegcloud

    Enable the Apigee, Apigee Connect, Cloud Pub/Sub, Cloud Resource Manager, Kubernetes Engine, Compute Engine APIs.

    Enable the APIs

    gcloud services enable \
        apigee.googleapis.com \
        apigeeconnect.googleapis.com \
        cloudresourcemanager.googleapis.com \
        compute.googleapis.com \
        container.googleapis.com \
        pubsub.googleapis.com --project $PROJECT_ID
    

    次のいずれかのプラットフォームでクラスタを実行する場合は、次のコマンドを実行して必要な API を有効にします。

    • AKS
    • EKS
    • GKE on AWS
    • OpenShift
    • VMware またはベアメタル上のソフトウェアのみの Google Distributed Cloud
    名前 タイトル 説明
    apigee.googleapis.com Apigee API プロジェクトと他のハイブリッド サービスまたは Google Cloud APIs 間の通信を可能にします。
    apigeeconnect.googleapis.com Apigee Connect API Apigee 管理プレーンとランタイム プレーン間の通信を可能にします。
    pubsub.googleapis.com Cloud Pub/Sub API Apigee の割り当て機能を使用するために必要です。
    cloudresourcemanager.googleapis.com Cloud Resource Manager API ハイブリッドがサービス アカウントを検証するために使用します。
    Cloud Consolegcloud

    Enable the Apigee, Apigee Connect, Cloud Pub/Sub, Cloud Resource Manager APIs.

    Enable the APIs

    gcloud services enable \
        apigee.googleapis.com \
        apigeeconnect.googleapis.com \
        cloudresourcemanager.googleapis.com \
        pubsub.googleapis.com  --project $PROJECT_ID
  4. (省略可)必要な API が有効になっていることを確認するには、次のコマンドを実行します。返されたリストに含まれている場合、その API は有効になっています。
    gcloud services list --project $PROJECT_ID

次のステップ

ステップ 2: 組織を作成するに進む。