Führen Sie die folgenden Schritte aus, um eine statische IP-Adresse für den Laufzeit-Load-Balancer zu erstellen. Diese Adresse stellt die Hybridlaufzeit für API-Proxy-Anfragen außerhalb des Clusters bereit.
Wenn Sie GKE in AWS (Anthos) verwenden, müssen Sie keine statische IP-Adresse erstellen.
Kopieren Sie die externe IP-Adresse, die Sie gerade reserviert haben. Beispiel: 34.56.78.90. Sie benötigen sie in einem späteren Schritt.
Registrierte Domain abrufen
Wenn Sie bereits eine registrierte Domain haben, können Sie sie für die Apigee-Hybridinstallation verwenden. Andernfalls können Sie einen Domainnamen über Google Domains oder einen anderen Domain-Registrator Ihrer Wahl anmelden.
DNS konfigurieren
So erstellen Sie einen neuen Typ-A-Eintrag in einer Zone Ihres DNS-Servers:
Geben Sie einen Subdomain-Namen für die DNS-Zone an. Wenn die übergeordnete Domain Ihrer Zone z. B. acme.com lautet, könnte der Name der Subdomain myapi lauten. In diesem Beispiel lautet die Adresse myapi.acme.com.
Legen Sie die Adresse des A-Eintrags auf die numerische IP-Adresse Ihrer statischen IP-Adresse im Dezimalformat fest.
Beispiel: 34.56.78.90.
Wenn Sie keine bestehende Domain haben, können Sie in der Kurzanleitung nachlesen, wie Sie mit Google Domains und Google Cloud DNS eine Domain erstellen und eine DNS-Zone einrichten.
Siehe DNS-Kurzanleitung.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-21 (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"]]