[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):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."]]