Untuk menggunakan Apigee hybrid, Anda harus mengaktifkan API berikut untuk project di konsol Google Cloud:
Apigee API: Menyediakan komunikasi antara project Anda dan layanan campuran lainnya serta Google Cloud API.
Apigee Connect API: Menyediakan komunikasi antara platform pengelolaan
Apigee dan layanan MART di platform runtime.
Cloud DNS API: Digunakan untuk komunikasi dengan proses eksternal.
Cloud Pub/Sub API: Diperlukan agar kuota dapat beroperasi.
Cloud Resource Manager API: Digunakan oleh hybrid untuk memvalidasi akun layanan.
Compute Engine API: Digunakan untuk pengelolaan cluster (khusus cluster berbasis GKE).
Kubernetes Engine API: Aktifkan jika Anda berencana menggunakan Google Kubernetes Engine (GKE),
atau GKE on-prem (Anthos) on-prem untuk penginstalan runtime campuran.
Aktifkan API yang diperlukan untuk project Google Cloud Anda:
Anda dapat menggunakan CLI atau UI konsol Google Cloud untuk mengaktifkan API.
UI Google Cloud
Untuk mengaktifkan API menggunakan UI, lakukan langkah-langkah berikut:
Dari Navigation menu, pilih APIs & Services > Library.
Di tampilan API Library, telusuri "Apigee".
Google Cloud menampilkan daftar API yang cocok dengan "Apigee"
Temukan layanan Apigee API, lalu klik layanan tersebut.
Di tampilan Apigee API, klik Enable.
Google Cloud mengaktifkan Apigee API untuk project Google Cloud Anda.
Aktifkan Apigee Connect API:
Di tampilan API Library, telusuri "Apigee Connect".
Temukan Apigee Connect API dan aktifkan.
Google Cloud mengaktifkan Apigee Connect API untuk project Google Cloud Anda.
Aktifkan Cloud DNS API:
Di tampilan Library API, telusuri "Cloud DNS API".
Temukan Cloud DNS API dan aktifkan.
Google Cloud mengaktifkan Cloud DNS API untuk project Google Cloud Anda.
Aktifkan Cloud Pub/Sub API:
Di tampilan Library API, telusuri "Cloud Pub/Sub API".
Temukan Cloud Pub/Sub API dan aktifkan.
Google Cloud mengaktifkan Cloud Pub/Sub API untuk project Google Cloud Anda.
Aktifkan Cloud Resource Manager API:
Di tampilan API Library, telusuri "Cloud Resource Manager".
Temukan Cloud Resource Manager dan aktifkan.
Google Cloud mengaktifkan Cloud Resource Manager API untuk project Google Cloud Anda.
(Khusus cluster berbasis GKE) Aktifkan Compute Engine API:
Di tampilan API Library, telusuri "Compute Engine".
Temukan Compute Engine API dan aktifkan.
Google Cloud mengaktifkan Compute Engine API untuk project Google Cloud Anda.
(Khusus cluster berbasis GKE) Aktifkan Google Kubernetes Engine API:
Di tampilan API Library, telusuri "Google Kubernetes Engine".
Temukan Google Kubernetes API dan aktifkan.
Google Cloud mengaktifkan Google Kubernetes API untuk project Google Cloud Anda.
Untuk mengonfirmasi bahwa Anda telah mengaktifkan API, pilih APIs & Services >
Dashboard.
API yang baru saja Anda tambahkan akan ditampilkan dalam daftar API yang diaktifkan:
Apigee API
Apigee Connect API
Cloud DNS API
Cloud Pub/Sub API
Cloud Resource Manager API
Compute Engine API
Kubernetes Engine API
gcloud CLI
Untuk mengaktifkan API menggunakan CLI, lakukan langkah-langkah berikut:
Buka jendela terminal di perangkat yang Anda gunakan untuk mengelola Apigee.
Pastikan Anda telah menginstal gcloud di shell lokal dengan menjalankan perintah
berikut. Alat gcloud menyediakan antarmuka command line utama untuk Cloud.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-03 UTC."],[[["\u003cp\u003eThis documentation version (1.3) for Apigee hybrid is end-of-life, necessitating an upgrade to a newer version for continued support and features.\u003c/p\u003e\n"],["\u003cp\u003eTo use Apigee hybrid, several Google Cloud APIs must be enabled, including Apigee API, Apigee Connect API, Cloud DNS API, Cloud Pub/Sub API, and Cloud Resource Manager API.\u003c/p\u003e\n"],["\u003cp\u003eCompute Engine API and Kubernetes Engine API are additionally required if using GKE-based clusters for Apigee hybrid.\u003c/p\u003e\n"],["\u003cp\u003eAPIs can be enabled either through the Google Cloud console UI by searching for each API in the API library and clicking "Enable," or via the \u003ccode\u003egcloud\u003c/code\u003e CLI, using the \u003ccode\u003egcloud services enable\u003c/code\u003e command for the required APIs.\u003c/p\u003e\n"],["\u003cp\u003eAfter enabling the necessary APIs, they can be verified in the Google Cloud console under \u003cstrong\u003eAPIs & Services > Dashboard\u003c/strong\u003e or by running the command \u003ccode\u003egcloud services list\u003c/code\u003e in the CLI.\u003c/p\u003e\n"]]],[],null,["# Step 3: Enable APIs\n\n| You are currently viewing version 1.3 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\nTo use Apigee hybrid, you must enable the following APIs for the project in the Google Cloud console:\n\n- **Apigee API:** Provides communication between your project and other hybrid services and Google Cloud APIs.\n- **Apigee Connect API:** Provides communication between the Apigee management plane and the MART service in the runtime plane.\n- **Cloud DNS API:** Used for communication with external processes.\n- **Cloud Pub/Sub API:** Required for quota to operate.\n- **Cloud Resource Manager API:** Used by hybrid to validate service accounts.\n- **Compute Engine API:** Used for cluster management (GKE-based clusters only).\n- **Kubernetes Engine API:** Enable if you plan to use Google Kubernetes Engine (GKE), or GKE on-prem (Anthos) on-prem for your hybrid runtime installation.\n\n### Enable the required APIs for your Google Cloud project:\n\n\nYou can use the CLI or the Google Cloud console UI to enable the APIs. \n\n### Google Cloud UI\n\n\nTo enable the APIs using the UI, perform the following steps:\n\n1. Open the [Google Cloud console](https://console.cloud.google.com) and log in with the account you created in [Step 1: Create a Google Cloud account](/apigee/docs/hybrid/v1.3/precog-gcpaccount).\n2. Select the project that you created in [Step 2: Create a Google Cloud project](/apigee/docs/hybrid/v1.3/precog-gcpproject).\n3. Enable the **Apigee API** as follows:\n 1. From the **Navigation menu** , select **APIs \\& Services \\\u003e Library** .\n\n 2. In the **API Library** view search for \"Apigee\".\n\n Google Cloud displays a list of APIs matching \"Apigee\"\n 3. Locate the **Apigee API** service and click it.\n 4. \n 5. In the Apigee API view click **Enable** .\n\n Google Cloud enables the **Apigee API** for your Google Cloud project.\n4. Enable the **Apigee Connect API**:\n 1. In the **API Library** view, search for \"Apigee Connect\".\n 2. Locate the **Apigee Connect API** and enable it.\n\n Google Cloud enables the **Apigee Connect API** for your Google Cloud project.\n5. Enable the **Cloud DNS API** :\n 1. In the **API Library** view, search for \"Cloud DNS API\".\n 2. Locate the **Cloud DNS API** and enable it.\n\n Google Cloud enables the **Cloud DNS API** for your Google Cloud project.\n6. Enable the **Cloud Pub/Sub API** :\n 1. In the **API Library** view, search for \"Cloud Pub/Sub API\".\n 2. Locate the **Cloud Pub/Sub API** and enable it.\n\n Google Cloud enables the **Cloud Pub/Sub API** for your Google Cloud project.\n7. Enable the **Cloud Resource Manager API** :\n 1. In the **API Library** view, search for \"Cloud Resource Manager\".\n 2. Locate the **Cloud Resource Manager** and enable it.\n\n Google Cloud enables the **Cloud Resource Manager API** for your Google Cloud project.\n8. (GKE-based clusters only) Enable the **Compute Engine API** :\n 1. In the **API Library** view, search for \"Compute Engine\".\n 2. Locate the **Compute Engine API** and enable it.\n\n Google Cloud enables the **Compute Engine API** for your Google Cloud project.\n9. (GKE-based clusters only) Enable the **Google Kubernetes Engine API** :\n 1. In the **API Library** view, search for \"Google Kubernetes Engine\".\n 2. Locate the **Google Kubernetes API** and enable it.\n\n Google Cloud enables the **Google Kubernetes API** for your Google Cloud project.\n10. To confirm that you have enabled the APIs, select **APIs \\& Services \\\u003e\n Dashboard** .\n\n The APIs you just added are displayed in the list of enabled APIs:\n - Apigee API\n - Apigee Connect API\n - Cloud DNS API\n - Cloud Pub/Sub API\n - Cloud Resource Manager API\n - Compute Engine API\n - Kubernetes Engine API\n\n### gcloud CLI\n\n\nTo enable the APIs using the CLI, perform the following steps:\n\n1. Open a terminal window on the device you are using to manage Apigee.\n2. Be sure you have `gcloud` installed in your local shell by running the following command. The `gcloud` tool provides the primary command-line interface for Cloud. \n\n gcloud -h\n\n\n If you do not have `gcloud` installed,\n [install the Cloud SDK](https://cloud.google.com/sdk/install).\n3. Make sure you have the `PROJECT_ID` variable defined with the ID of the project you created in [Step 2: Create a Google Cloud project](/apigee/docs/hybrid/v1.3/precog-gcpproject): \n\n ```\n echo $PROJECT_ID\n ```\n\n\n If it is not, define the `PROJECT_ID` environment variable with the following\n command: \n\n ```\n export PROJECT_ID=your_project_id\n ```\n | **Note:** Do not include the period after the project ID.\n4. Select the tab for your intended installation to see the command to enable the APIs:\n\n ### GKE\n\n\n If you will be running your clusters in Google Cloud (GKE), enable the APIs with the\n following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n dns.googleapis.com \\\n pubsub.googleapis.com \\\n cloudresourcemanager.googleapis.com \\\n compute.googleapis.com \\\n container.googleapis.com --project $PROJECT_ID\n ```\n\n ### GKE on-prem\n\n\n If you will be running your clusters in GKE on-prem (Anthos), enable the APIs with the\n following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n cloudresourcemanager.googleapis.com \\\n dns.googleapis.com \\\n pubsub.googleapis.com --project $PROJECT_ID\n ```\n\n ### AKS\n\n\n If you will be running your clusters in Azure Kubernetes Service (AKS), enable the APIs\n with the following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n dns.googleapis.com \\\n pubsub.googleapis.com \\\n cloudresourcemanager.googleapis.com --project $PROJECT_ID\n ```\n\n ### GKE on AWS\n\n\n If you will be running your clusters in GKE on AWS, enable the APIs\n with the following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n dns.googleapis.com \\\n pubsub.googleapis.com \\\n cloudresourcemanager.googleapis.com --project $PROJECT_ID\n ```\n\n ### EKS\n\n\n If you will be running your clusters in Amazon EKS, enable the APIs\n with the following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n dns.googleapis.com \\\n pubsub.googleapis.com \\\n cloudresourcemanager.googleapis.com --project $PROJECT_ID\n ```\n5. Verify that all APIs are enabled using the following command: \n\n ```\n gcloud services list\n ```\n\n\n The following is returned: \n\n ```verilog\n NAME TITLE\n apigee.googleapis.com Apigee API\n apigeeconnect.googleapis.com Apigee Connect API\n bigquery.googleapis.com BigQuery API\n bigquery.googleapis.com BigQuery API\n bigquerystorage.googleapis.com BigQuery Storage API\n cloudapis.googleapis.com Google Cloud APIs\n clouddebugger.googleapis.com Cloud Debugger API\n cloudresourcemanager.googleapis.com Cloud Resource Manager API\n cloudtrace.googleapis.com Cloud Trace API\n compute.googleapis.com Compute Engine API\n container.googleapis.com Kubernetes Engine API\n containeranalysis.googleapis.com Container Analysis API\n containerregistry.googleapis.com Container Registry API\n datastore.googleapis.com Cloud Datastore API\n dns.googleapis.com Cloud DNS API\n iam.googleapis.com Identity and Access Management (IAM) API\n iamcredentials.googleapis.com IAM Service Account Credentials API\n logging.googleapis.com Cloud Logging API\n monitoring.googleapis.com Cloud Monitoring API\n oslogin.googleapis.com Cloud OS Login API\n pubsub.googleapis.com Cloud Pub/Sub API\n servicemanagement.googleapis.com Service Management API\n serviceusage.googleapis.com Service Usage API\n sql-component.googleapis.com Cloud SQL\n storage-api.googleapis.com Google Cloud Storage JSON API\n storage-component.googleapis.com Cloud Storage\n ```\n\nFor more information about enabling APIs in the Google Cloud console, see\n[Enabling an\nAPI in your Google Cloud project](https://cloud.google.com/endpoints/docs/openapi/enable-api) in the Cloud documentation.\n[1](/apigee/docs/hybrid/v1.3/precog-gcpaccount) [2](/apigee/docs/hybrid/v1.3/precog-gcpproject) [3](/apigee/docs/hybrid/v1.3/precog-enableapi) [(NEXT) Step 4: Create an organization](/apigee/docs/hybrid/v1.3/precog-provision) [5](/apigee/docs/hybrid/v1.3/precog-add-dns) [6](/apigee/docs/hybrid/v1.3/precog-add-environment)\n\n\u003cbr /\u003e"]]