Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Pour éviter que les ressources utilisées lors de ce tutoriel soient facturées sur votre compte Google Cloud, supprimez le projet contenant les ressources, ou conservez le projet et supprimez les ressources individuelles.
Cette section explique comment supprimer les ressources Google Cloud et le dépôt Git.
Supprimer le service Cloud Run
Dans la console Google Cloud, accédez à Cloud Run.
Supprimez les enregistrements DNS créés pour l'adresse IP réservée. Vous devrez peut-être contacter l'administrateur de votre domaine pour effectuer cette étape.
Supprimer le dépôt Git
Accédez à votre dépôt Git et cliquez sur Paramètres > Zone de danger > Supprimer ce dépôt.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/11/22 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2024/11/22 (UTC)."],[],[],null,["# Step 6: Clean up your project\n\nTo avoid incurring charges to your Google Cloud account for the resources used\nin this tutorial, either [delete the project containing the resources](/resource-manager/docs/creating-managing-projects#shutting_down_projects), or keep the project and delete the individual resources.\n\nThis section describes how to delete the Google Cloud resources and the Git repository.\n\nDelete the Cloud Run service\n----------------------------\n\n1. In the Google Cloud console, navigate to Cloud Run.\n\n [Go to Cloud Run](https://console.cloud.google.com/run)\n2. Select the checkbox next to `gemini-streamlit-cloudrun`.\n\n3. Click delete**Delete**.\n\n4. To confirm deletion, click **Delete**. This also deletes all revisions of the service.\n\nDelete the load balancer\n------------------------\n\n1. In the Google Cloud console, go to the **Load balancing** page.\n\n [Go to Load balancing](https://console.cloud.google.com/networking/loadbalancing)\n2. Select the checkbox next to `gemini-streamlit-app-lb`.\n\n3. Click delete**Delete**.\n\n4. Select the checkboxes next to all the additional resources, including backend services and SSL certificates.\n\n5. Click **Delete load balancer and the selected resources**.\n\nDelete the Cloud Build trigger\n------------------------------\n\n1. In the Google Cloud console, navigate to the **Triggers** page.\n\n [Go to the Triggers page](https://console.cloud.google.com/cloud-build/triggers)\n2. Click the menu (vertical ellipsis) located at the right end of the trigger, and then click **Delete**.\n\n3. To confirm deletion, click **Delete**.\n\nDelete the network endpoint group\n---------------------------------\n\n1. In the Google Cloud console, go to the **Network endpoint group** page.\n\n [Go to Network endpoint group](https://console.cloud.google.com/compute/networkendpointgroups/list)\n2. Select the checkbox next to `streamlit-app-neg`.\n\n3. Click delete**Delete**.\n\n4. To confirm deletion, click **Delete**.\n\nDelete the reserved IP address and DNS records\n----------------------------------------------\n\n1. In the Google Cloud console, go to the **External IP addresses** page.\n\n \u003cbr /\u003e\n\n [Go to External IP addresses](https://console.cloud.google.com/networking/addresses)\n\n \u003cbr /\u003e\n\n2. Select `genai-app-ip`.\n\n3. Click **Release static address**.\n\n4. Remove the DNS records created for the reserved IP address. You might have to\n contact your domain administrator to complete this step.\n\nDelete Git repository\n---------------------\n\nGo to your Git repository and click **Settings** \\\u003e **Danger Zone** \\\u003e **Delete this repository**."]]