Stay organized with collections
Save and categorize content based on your preferences.
Clean up the Google Cloud resources that you created to train your image
classification model and get predictions from it. Follow these steps to avoid
incurring unexpected charges from some of the resources.
Each page assumes that you have already performed the instructions from the
previous pages of the tutorial.
Delete Vertex AI resources
This section describes how to undeploy your model, and then delete the following
project resources: endpoint, model, dataset, and Cloud Storage bucket.
Undeploy your model
Before you can delete your model and endpoint, you must undeploy the model.
In the Google Cloud console, in the Vertex AI section, go to
the Training page.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Hello image data: Clean up your project\n\nClean up the Google Cloud resources that you created to train your image\nclassification model and get predictions from it. Follow these steps to avoid\nincurring unexpected charges from some of the resources.\n\nThis tutorial has several pages:\n\n1. [Set up your project and environment.](/vertex-ai/docs/tutorials/image-classification-automl)\n\n2. [Create an image classification dataset, and\n import images.](/vertex-ai/docs/tutorials/image-classification-automl/dataset)\n\n3. [Train an AutoML image classification\n model.](/vertex-ai/docs/tutorials/image-classification-automl/training)\n\n4. [Evaluate and analyze model performance.](/vertex-ai/docs/tutorials/image-classification-automl/error-analysis)\n\n5. [Deploy a model to an endpoint, and send a\n prediction.](/vertex-ai/docs/tutorials/image-classification-automl/deploy-predict)\n\n6. Clean up your project.\n\nEach page assumes that you have already performed the instructions from the\nprevious pages of the tutorial.\n\nDelete Vertex AI resources\n--------------------------\n\nThis section describes how to undeploy your model, and then delete the following\nproject resources: endpoint, model, dataset, and Cloud Storage bucket.\n\n### Undeploy your model\n\nBefore you can delete your model and endpoint, you must undeploy the model.\n\n1. In the Google Cloud console, in the Vertex AI section, go to\n the **Training** page.\n\n [Go to the Training page](https://console.cloud.google.com/vertex-ai/training)\n2. Select your trained AutoML model. This takes you to the **Evaluate** tab.\n\n3. Click the **Deploy \\& test** tab.\n\n4. Find your model. On your model's row, click the three vertical dots more_vert, then click\n **Undeploy model**.\n\n5. In **Undeploy model** , click **Confirm**.\n\n### Delete your endpoint\n\n1. In the Google Cloud console, in the Vertex AI section, go to\n the **Endpoints** page.\n\n [Go to the Endpoints page](https://console.cloud.google.com/vertex-ai/endpoints)\n2. Find your endpoint, `hello_automl_image`. On that row, click the three\n vertical dots more_vert,\n then click **Remove endpoint**.\n\n3. In **Remove endpoint** , click **Confirm**.\n\n### Delete your model\n\n1. In the Google Cloud console, in the Vertex AI section, go to\n the **Models** page.\n\n [Go to the Models page](https://console.cloud.google.com/vertex-ai/models)\n2. Find your model. On that row, click the three vertical dots more_vert, then click **Delete\n model**.\n\n3. In **Delete model and all of its associated versions** , click **Delete**.\n\n### Delete your dataset\n\n1. In the Google Cloud console, in the Vertex AI section, go to\n the **Datasets** page.\n\n [Go to the Datasets page](https://console.cloud.google.com/vertex-ai/datasets)\n2. Find your dataset. On that row, click the three vertical dots more_vert, then click **Delete\n dataset**.\n\n3. In **Delete dataset** , click **Delete**.\n\nClean up your Cloud Shell session\n---------------------------------\n\nCloud Shell incurs no charges, and it [automatically deletes your home\ndisk after a period of inactivity](/shell/docs/limitations).\n\nDelete your Cloud Storage bucket\n--------------------------------\n\n1. In the Google Cloud console, go to the Cloud Storage **Buckets** page.\n\n [Go to Buckets](https://console.cloud.google.com/storage/browser)\n2. Click the checkbox for the bucket that you want to delete.\n3. To delete the bucket, click delete **Delete**, and then follow the instructions.\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- To learn about additional ways to train ML models on Vertex AI,\n try one of the other [Vertex AI tutorials](/vertex-ai/docs/tutorials).\n\n- Read an [overview of how Vertex AI\n works](/vertex-ai/docs/start/introduction-unified-platform)."]]