Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite werden die Schritte zum Aktivieren und Deaktivieren von Infrastructure Manager beschrieben.
Informationen zu Gebühren für Infra Manager finden Sie unter Preise.
Dienst aktivieren
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Installieren und initialisieren Sie die Google Cloud CLI, falls sie nicht bereits installiert ist. Aktualisieren Sie für eine vorhandene Installation die Komponenten der Google Cloud CLI mit dem Befehl:
gcloud components update.
Führen Sie den folgenden Befehl aus, um die Version der gcloud CLI zu prüfen:
gcloud version
Aktivieren Sie die API über die Google Cloud Console oder mit dem folgenden gcloud-Befehl:
gcloud services enable config.googleapis.com
Optional: Wenn Sie die Kontingentvalidierung mit Infra Manager verwenden möchten, aktivieren Sie die API über die Google Cloud -Konsole oder mit dem folgenden gcloud-Befehl:
gcloud services enable cloudquotas.googleapis.com
Dienst deaktivieren
Wenn Sie die Infra Manager API deaktivieren, sind alle zugehörigen Ressourcen weiterhin im Projekt vorhanden. Nach der Deaktivierung können Sie den Dienst nicht mehr verwenden, um Änderungen an Bereitstellungen und Ressourcen im Projekt vorzunehmen.
Wenn Sie die API wieder aktivieren, können Sie den Dienst weiterhin so nutzen wie beim ersten Aktivieren der API.
So deaktivieren Sie die API in der Google Cloud Console:
Console
Rufen Sie die Seite API-Übersicht für Infra Manager auf.
Wählen Sie das Projekt aus, für das die API aktiviert ist.
Klicken Sie auf Verwalten.
Klicken Sie auf API deaktivieren.
gcloud
Führen Sie den folgenden Befehl aus, um die API für Ihr aktuelles Projekt zu deaktivieren:
[[["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 page outlines how to enable and disable the Infrastructure Manager service.\u003c/p\u003e\n"],["\u003cp\u003eEnabling the service requires installing or updating the Google Cloud CLI and enabling the necessary API via the console or with the \u003ccode\u003egcloud\u003c/code\u003e command, with an optional second API for quota validation.\u003c/p\u003e\n"],["\u003cp\u003eDisabling the service can be done through the Google Cloud console or with the \u003ccode\u003egcloud services disable config.googleapis.com\u003c/code\u003e command, and any existing resources remain unchanged.\u003c/p\u003e\n"],["\u003cp\u003eDisabling prevents any further changes to deployments and resources in the project, but enabling the API again will resume normal service.\u003c/p\u003e\n"]]],[],null,["# Enable and disable the service\n\nThis page describes the steps to enable and disable Infrastructure Manager.\n\nSee [Pricing](../pricing) for information about charges for Infra Manager.\n\nEnabling service\n----------------\n\n- Sign in to your Google Cloud account. If you're new to Google Cloud, [create an account](https://console.cloud.google.com/freetrial) to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n1. Install and initialize [Google Cloud CLI](/sdk/docs) if it is not already installed. For an existing installation, update components of the Google Cloud CLI with the command: `gcloud components update`.\n\n To check your version of the gcloud CLI, run the command: \n\n ```\n gcloud version\n ```\n | **Note:** On Ubuntu, use the [Debian package](/sdk/docs/install#deb) to install gcloud CLI. The gcloud CLI snap package does not include `kubectl` or extensions to authenticate with Infra Manager using the gcloud CLI.\n2. Enable the API from [Google Cloud console](https://console.cloud.google.com/flows/enableapi?apiid=config.googleapis.com) or with the following `gcloud` command: \n\n ```\n gcloud services enable config.googleapis.com\n ```\n3. Optional: In order to use [quota validation](/infrastructure-manager/docs/quotas#quota_validation) with Infra Manager, enable the API from [Google Cloud console](https://console.cloud.google.com/flows/enableapi?apiid=cloudquotas.googleapis.com) or with the following `gcloud` command: \n\n ```\n gcloud services enable cloudquotas.googleapis.com\n ```\n\nDisabling service\n-----------------\n\nWhen you disable the Infra Manager API, any related resources will\ncontinue to exist in the project. Once disabled, you cannot use the service\nto make any changes to deployments and resources in the project.\n\nIf you enable the API again, you can continue to use the service in the same\nway as when you first enabled the API.\n\nTo disable the API from the Google Cloud console: \n\n### console\n\n1. Go to the [API Overview](https://console.cloud.google.com/apis/library/config.googleapis.com) page for Infra Manager.\n2. Select the project where the API is enabled.\n3. Click **Manage**.\n4. Click **Disable API**.\n\n### gcloud\n\nRun the following command to disable the API for your current project: \n\n gcloud services disable config.googleapis.com\n\nWhat's next\n-----------\n\n- Learn more about [Terraform with Google Cloud](/docs/terraform).\n- [Deploy infrastructure using Infra Manager](/infrastructure-manager/docs/deploy-resources).\n- [Update a deployment](/infrastructure-manager/docs/update-deployment).\n- [View the state of a deployment](/infrastructure-manager/docs/view-deployments)."]]