Ikuti langkah-langkah di bawah ini untuk membuat alamat IP statis bagi load balancer runtime. Alamat ini
mengekspos runtime campuran ke permintaan proxy
API yang berasal dari luar cluster.
Jika menggunakan GKE di AWS (Anthos), Anda tidak perlu membuat alamat IP statis.
Salin alamat IP eksternal yang baru saja Anda cadangkan. Misalnya: 34.56.78.90. Anda akan
memerlukannya di langkah berikutnya.
Mendapatkan domain terdaftar
Jika sudah memiliki domain terdaftar, Anda dapat menggunakannya
untuk penginstalan hybrid Apigee. Jika tidak, Anda dapat mendaftarkan nama domain melalui Google Domains atau registrar domain lain pilihan Anda.
Mengonfigurasi DNS
Buat data jenis A baru di zona di server DNS Anda sebagai berikut:
Tentukan nama subdomain zona DNS. Misalnya, jika domain induk zona Anda adalah acme.com, nama subdomainnya mungkin
myapi. Dalam contoh ini, alamatnya adalah:
myapi.acme.com.
Tetapkan alamat data A ke alamat IP numerik IP statis Anda, dalam format desimal bertitik.
Contoh: 34.56.78.90.
Jika Anda tidak memiliki domain yang tersedia untuk digunakan, kami menyediakan contoh memulai cepat yang menunjukkan cara menggunakan Google Domains dan Google Cloud DNS untuk membuat domain dan menyiapkan zona DNS.
Lihat panduan memulai DNS.
[[["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) is end-of-life and users should upgrade to a newer, supported version.\u003c/p\u003e\n"],["\u003cp\u003eA static IP address must be created for the runtime load balancer to ensure that API traffic is not interrupted during pod restoration or upgrades.\u003c/p\u003e\n"],["\u003cp\u003eThe external IP address you reserve will be the IP exposed outside the cluster; name it accordingly, and GKE users can reserve an external IP by following the provided link, as well as on prem GKE users.\u003c/p\u003e\n"],["\u003cp\u003eA registered domain is required for Apigee hybrid installation and if you don't have one, you can register one through a domain registrar like Google Domains.\u003c/p\u003e\n"],["\u003cp\u003eYou need to create an A record in your DNS server, pointing a subdomain to the static IP address of your load balancer.\u003c/p\u003e\n"]]],[],null,["# Step 5: Configure your DNS\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\nReserve a static IP\n-------------------\n\nFollow the steps below to create a static IP address for the runtime load balancer. This\naddress exposes the hybrid runtime to API proxy\nrequests coming from outside the cluster.\n| **Note:**It's important to create a static IP address, because when pods are restored or when you upgrade, it's possible that the external IP will change, causing an interruption in API traffic. By creating a static IP, the address exposed outside the cluster address will never change unless you release it.\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. If you have not already done so, enable the **Cloud DNS API** . See [Enabling APIs](https://cloud.google.com/apis/docs/getting-started#enabling_apis).\n4. Create a static IP address: **Note:** The static IP address will be the IP address that is exposed outside the cluster, so give it a name that makes sense to you for that purpose. For example: `apigee-loadbalancer`\n - If you are on GKE, follow the instructions in\n [Reserving a static external IP address](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address#reserve_new_static) to create a static IP address.\n\n - If you are on GKE on-prem (Anthos), follow the instructions in the [Installing using static IP addresses](https://cloud.google.com/anthos/gke/docs/on-prem/how-to/install-static-ips) to create a static IP address.\n - If you are on GKE on AWS (Anthos), you don't need to create a static IP address.\n5. Copy the external IP address you just reserved. For example: `34.56.78.90`. You will need it in a later step.\n\nGet a registered domain\n-----------------------\n\n\nIf you already have a registered domain, you can use it\nfor the Apigee hybrid installation. If not, you can register a domain\nname through [Google Domains](https://domains.google/) or another\ndomain registrar of your choice.\n\nConfigure your DNS\n------------------\n\n\nCreate a new A type record in a zone in your DNS server as follows:\n\n- Specify a DNS zone subdomain name. For example, suppose your zone's parent domain is `acme.com`, the subdomain name might be `myapi`. In this example, the address would be: `myapi.acme.com`.\n- Set the A record address to the numeric IP address of your **static IP** , in dotted decimal format. For example: `34.56.78.90`.\n\n\nIf you do not have an existing domain available to use, we provide a quickstart example that\nshows how to use Google Domains and Google Cloud DNS to create a domain and set up a DNS zone.\nSee [DNS quickstart](/apigee/docs/hybrid/v1.3/dns-quickstart).\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) [4](/apigee/docs/hybrid/v1.3/precog-provision) [5](/apigee/docs/hybrid/v1.3/precog-add-dns) [(NEXT) Step 6: Create an environment group](/apigee/docs/hybrid/v1.3/precog-add-environment)\n\n\u003cbr /\u003e"]]