Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Diese Seite gilt für Apigee und Apigee Hybrid.
Ein Deployment ist eine API-Hub-Entität, die beschreibt, wo eine API gehostet wird. Eine Bereitstellung kann beispielsweise einen Apigee API-Proxy, eine in Google Cloud API Gateway bereitgestellte API oder APIs für andere Google Cloud- oder Nicht-Google Cloud-Dienste darstellen.
Sie können eine API-Version mit mehreren Bereitstellungen verknüpfen, um Szenarien wie Entwicklungs-, Staging-, Akzeptanztests (User Acceptance Testing, UAT) und Produktionsbereitstellungen für eine bestimmte Version zu modellieren.
Außerdem können Sie einer Bereitstellung mehrere Versionen zuordnen, wenn mehrere Versionen einer API (oder möglicherweise verschiedene APIs) zusammen bereitgestellt werden.
Eine Bereitstellungsentität enthält Metadaten wie Name, Anzeigename, Beschreibung, zugehörige Versionen usw. Die folgenden drei Attribute geben Details zur bereitgestellten API an und sind erforderlich, um eine Bereitstellung im API Hub zu erstellen:
Abbildung 1. Eine Bereitstellungseinheit umfasst einen Bereitstellungstyp, einen Ressourcen-URI und Endpunkt-URLs.
Bereitstellungstyp: Gibt den Bereitstellungstyp an, z. B. Apigee, Apigee Hybrid oder Apigee Edge Private Cloud.
Ressourcen-URI: Ein URI zur Deployment-Ressource. Wenn die Bereitstellungsressource beispielsweise ein Apigee API-Proxy ist, muss in diesem Feld der URI zur Verwaltungs-UI des Proxys angegeben werden.
Endpunkte: Die Endpunkte, auf denen die tatsächliche Bereitstellung der API Anfragen überwacht. Dieses Feld kann beispielsweise eine Liste von IP-Adressen oder Hostnamen sein.
Weitere Informationen zum Erstellen und Verwalten von Bereitstellungen finden Sie unter Deployments verwalten.
[[["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-09-04 (UTC)."],[[["\u003cp\u003eThis content is applicable to both Apigee and Apigee hybrid platforms.\u003c/p\u003e\n"],["\u003cp\u003eA deployment, within the context of API Hub, defines where an API is hosted, and may represent various environments like dev, staging, or production.\u003c/p\u003e\n"],["\u003cp\u003eMultiple API versions can be associated with a single deployment, and a single version may have multiple deployments.\u003c/p\u003e\n"],["\u003cp\u003eCreating a deployment requires specifying its type, resource URI, and the endpoints it's listening on.\u003c/p\u003e\n"]]],[],null,["# Introduction to deployments\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\nA deployment is an API hub entity that describes where an API is hosted. For example,\na deployment could represent an Apigee API proxy, an API deployed to Google Cloud API\nGateway, or APIs deployed to other Google Cloud services or non-Google Cloud services.\n\nYou can associate an API version with multiple deployments to model scenarios such as dev,\nstaging, user acceptance testing (UAT), and production deployments corresponding to a\ngiven version.\n\nYou can also associate multiple versions with a deployment in cases where multiple\nversions of an API (or potentially different APIs) are deployed together.\n\nA deployment entity includes metadata such as name, display name, description, associated\nversions, and so on. The following three attributes specify details about the deployed API and\nare required to create a deployment in API hub:\n**Figure 1.** A deployment entity includes a deployment type, a resource URI, and endpoint URLs.\n\n- **Deployment type**: Specifies the type of deployment, such as Apigee, Apigee hybrid, Apigee Edge Private Cloud, and others.\n- **Resource URI** : A URI to the deployment resource. For example, if the deployment resource is an Apigee API proxy, then this field must specify the URI to the management user interface of the proxy. **Note:** For **Apigee** deployment types, we recommend that the Resource URI conforms to the following format: `organizations/([^/]+)/environments/([^/]+)/apis/([^/]+)$`\n |\n |\n | For example, the Resource URI for an Apigee API proxy deployed to the `prod`\n | environment of the `myorg` organization is\n | `organizations/myorg/environments/prod/apis/iloveapis`.\n- **Endpoints**: The endpoints on which the actual deployment of the API is listening to requests. For example, this field could be a list of IP addresses or hostnames.\n\nFor details on creating and managing deployments, see [Manage deployments](./manage-api-deployments)."]]