在其他情況下,如果您的部署作業正在運行 VM 執行個體,您可以利用 Deployment Manager 管理部署作業。這項工具會以樹狀檢視形式顯示部署作業內含的所有 Google Cloud資源,並讓您直接透過 SSH 登入 VM 執行個體,或在 VM 執行個體頁面上管理執行個體。您可以經由上述任一頁面連線至各執行個體,手動安裝其他軟體或修改軟體套件 (您無法將多個產品部署至單一執行個體)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Managing deployments\n\nAfter you launch deployments from Cloud Marketplace, you can\nuse Google Cloud tools to view, modify, and monitor your deployment.\n\nFor example, you can use [Cloud Deployment Manager](/deployment-manager/docs)\nto add resources to a deployment, or remove software deployments that you no\nlonger need.\n| **Note:** When you deploy a VM solution from Cloud Marketplace, the deployment is created with several default *labels* , which are a way to organize your deployments. Typically, the labels include a solution ID, and the partner ID. One of the labels is `marketplace-suppress-benign-warnings`, which blocks warnings that are typically not relevant for Cloud Marketplace solutions.\n|\n| If you want to see the warnings, remove the label from the deployment.\n|\n| For information about labels in your deployments, see\n| [Adding labels to a deployment](/deployment-manager/docs/creating-managing-labels).\n\nManaging your deployments\n-------------------------\n\nReturn to your products by revisiting the page for the product on the\n[Cloud Marketplace](https://console.cloud.google.com/marketplace) page.\nFrom there, you'll see a dropdown that shows your previous\ndeployments. For services, you can update service options directly from\nthe Cloud Marketplace product page.\n\nOtherwise, if your deployment is running a VM instance, you can use\n[Deployment Manager](https://console.cloud.google.com/deployments) to manage your\ndeployments. It displays a tree view of all the Google Cloud\nresources that\ncomprise your deployment, as well as letting you SSH directly into\nyour VM instance or manage the instance from the\n[VM Instances page](https://console.cloud.google.com/compute/instances). From either\nof those pages you can connect to the individual instances to manually\ninstall additional software or modify the software packages. (You\ncannot deploy multiple products to a single instance.)\n\nUse [Cloud Monitoring](/monitoring/docs) to track the performance and\navailability of your cloud-powered apps. If a deployment is integrated\nwith Cloud Monitoring, the instances for that product already include\nmonitoring agents that provide product-specific dashboards and alerts.\n\nUpdating your deployments\n-------------------------\n\nTo update a software package included in a deployment, deploy a newer version\nof the product from the **Product Details** page in\n[Cloud Marketplace](https://console.cloud.google.com/marketplace).\n\nFor example, if you deployed a LAMP stack that runs on an older version of\nPHP and you want to update that instance of PHP, open the LAMP Stack\n**Product Details** page and\n[deploy a version of the product](/marketplace/docs#deploying_software_packages)\nthat includes an updated version of PHP.\n\nModifying and scaling your deployments\n--------------------------------------\n\nAfter your software package is deployed, you might need to add additional\nstorage, create additional instances, or include additional software on your\nexisting instances. To learn more, refer to the following Compute Engine\ntopics.\n\n- [Create additional instances](/compute/docs/instances/creating-and-starting-an-instance)\n- [Connect Cloud Storage to instances](/compute/docs/disks#gcsbuckets)\n- [Add persistent disks to your instances](/compute/docs/disks/persistent-disks#attachdiskrunninginstance)\n\nManaging logging and monitoring for your deployment\n---------------------------------------------------\n\nSome Cloud Marketplace apps include the Cloud Logging and\nCloud Monitoring agents, which collect metrics, events, and metadata from\nyour deployment.\nDepending on the volume of monitoring data that your deployment uses, you might\nexceed the free usage allotment, after which you are charged for using\nMonitoring and Logging.\n\nIf you want to disable Monitoring and Logging,\ndo the following:\n\n1. For each VM instance in your deployment, run the following `gcloud` command\n to disable Cloud Monitoring:\n\n gcloud compute instances add-metadata [YOUR_INSTANCE_NAME] \\\n --metadata google-monitoring-enable=0,google-logging-enable=0\n\n2. Sign in to each of your VMs using SSH, and restart the\n agents using the following commands:\n\n sudo service stackdriver-agent restart\n sudo service google-fluentd restart\n\nFor tips on controlling your costs, see the\n[pricing information](/stackdriver/pricing).\n\nRemoving your software deployments\n----------------------------------\n\nIf you decide you no longer need your software deployments, you can remove\nthem.\n\nTo remove a deployment:\n\n- Go to [Deployment Manager](https://console.cloud.google.com/deployments) and delete the individual deployment. When you delete a deployment, it removes all of the instances of that deployment, and any persistent disks that you created when you first launched the deployment.\n\nSome software packages require you to use Cloud Storage resources which do\nnot get deleted when you delete your deployment. You can view and delete those\nresources on the\n[Cloud Storage browser](https://console.cloud.google.com/storage/browser) in the\nGoogle Cloud console."]]