On September 15, 2026, all Cloud Composer 1 versions and versions 2.0.x of Cloud Composer 2 will reach their planned end of life. You will not be able to use environments with these versions. We recommend planning migration to Cloud Composer 3. Cloud Composer 2 versions 2.1.x and later are still supported and are not impacted by this change.

Delete Cloud Composer environments

Cloud Composer 3 | Cloud Composer 2 | Cloud Composer 1

This page explains how to delete your Cloud Composer environment.

Resources that are not deleted automatically

Deleting your environment does not delete the following data in your project:

  • Your environment's Cloud Storage bucket.
  • Cloud Logging logs.

To avoid incurring charges to your Google Cloud account, export your data and delete the environment's bucket and Cloud Logging logs, as needed.

If you use alerting policies to monitor your environment's metrics, delete these policies before deleting your environment.

Your environment's cluster is deleted automatically

Delete a Cloud Composer environment

Console

  1. Delete the Cloud Composer environment:

    1. In the Google Cloud console, go to the Environments page.

      Go to Environments

    2. Select your environment and click Delete.

    3. Wait until the environment is deleted.

  2. Delete your environment's bucket. Cloud Composer does not delete the environment's bucket automatically.

    1. In the Google Cloud console, go to the Storage > Browser page.

      Go to Storage > Browser

    2. Select the environment's bucket and click Delete. For example, this bucket can be named us-central1-example-environ-c1616fe8-bucket.

gcloud

  1. Delete the Cloud Composer environment:

    gcloudcomposerenvironmentsdeleteENVIRONMENT_NAME\
    --locationLOCATION
    

    Replace:

    • ENVIRONMENT_NAME with the name of the environment.
    • LOCATION with the region where the environment is located.
  2. Delete your environment's bucket. Cloud Composer does not delete the environment's bucket automatically.

    gcloudstoragermgs://BUCKET_NAME--recursive
    

    Replace:

    • BUCKET_NAME with the name of your environment's bucket. For example, this bucket can be named us-central1-example-environ-c1616fe8-bucket.

API

To delete an environment, construct an environments.delete API request with the environment ID.

Terraform

To delete an environment using Terraform, remove the Cloud Composer configuration from your overall resource configuration and run terraform apply.

What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月24日 UTC.