Managing deployments

After you launch deployments from GCP Marketplace, you can use Google Cloud Platform tools to view, modify, and monitor your deployment.

For example, you can use Deployment Manager to add resources to a deployment, or remove software deployments that you no longer need.

Managing your deployments

Return to your solutions by revisiting the page for the solution on the GCP Marketplace page. From there, you'll see a dropdown that shows your previous deployments. For services, you can update service options directly from the GCP Marketplace solution page.

Otherwise, if your deployment is running a VM instance, you can use the Deployment Manager to manage your deployments. It displays a tree view of all the Google Cloud Platform resources that comprise your deployment, as well as letting you SSH directly into your VM instance or manage the instance from the VM Instances page. From either of those pages you can connect to the individual instances to manually install additional software or modify the software packages. (You cannot deploy multiple solutions to a single instance.)

Use Google Cloud Monitoring to track the performance and availability of your cloud-powered applications. If a deployment is integrated with Google Cloud Monitoring, the instances for that solution already include monitoring agents that provide solution-specific dashboards and alerts.

Modifying and scaling your deployments

After your software package is deployed, you might need to add additional storage, create additional instances, or include additional software on your existing instances. To learn more, refer to the following Google Compute Engine topics.

Managing Stackdriver logging for your deployment

Some GCP Marketplace applications include a Stackdriver agent, which collects metrics, events, and metadata from your deployment. Depending on the volume of monitoring data that your deployment uses, you might exceed the Stackdriver free usage allotment, after which you are charged for using Stackdriver.

If you want to disable Stackdriver Monitoring, do the following:

  1. For each VM instance in your deployment, run the following gcloud command to disable Stackdriver Monitoring:

    gcloud compute instances add-metadata [YOUR_INSTANCE_NAME] \
      --metadata google-monitoring-enable=0,google-logging-enable=0
    
  2. Sign in to each of your VMs using SSH, and restart the Stackdriver agent using the following commands:

    sudo service stackdriver-agent restart
    sudo service google-fluentd restart
    

For information on Stackdriver pricing, and for tips on controlling your costs, see the Stackdriver documentation.

Removing your software deployments

If you decide you no longer need your software deployments, you can remove them.

To remove a deployment:

  • Go to the Deployment Manager 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.

Some software packages require you to use Cloud Storage resources which do not get deleted when you delete your deployment. You can view and delete those resources on the Cloud Storage browser in the GCP Console.

Σας βοήθησε αυτή η σελίδα; Πείτε μας τη γνώμη σας:

Αποστολή σχολίων σχετικά με…

Αυτή η σελίδα