Monday, July 15, 2024
HomeC#Deployment Supervisor and Monitoring in Google Cloud Platform ~ IT Tutorials with...

Deployment Supervisor and Monitoring in Google Cloud Platform ~ IT Tutorials with Instance


On this article, we’ll be taught The way to use the Deployment Supervisor to deploy VM Occasion in addition to monitor them within the Google Cloud Platform. In case you are new to this collection of Google Cloud Platform, I’ll suggest you to undergo the beneath articles of this collection:

Let’s Start:

Step 1:

Log in to the Google Cloud Platform by visiting https://console.cloud.google.com/ (Google gives $300 as a free trial, however for that, you must hyperlink your bank card).

As soon as logged in, you may be redirected to the dashboard of the Google Cloud Platform.

Step 2:

Go to APIs & Companies, And Click on on Dashboard

Make sure that Cloud Deployment Supervisor V2 API, Cloud Runtime Configuration, Stack Driver Monitoring API (If you wish to monitor, troubleshoot & enhance utility efficiency in your Google Cloud)

Step 3:

.yaml file comprises the configuration for the VM Occasion like VM Title, Sort, Zone, Machine Sort, and so forth. as proven within the beneath picture.

As soon as every little thing is configured, mydeploy.yaml will appear to be as proven beneath

Step 4:

Run the beneath command in google cloud shell as talked about beneath:

gcloud deployment-manager deployments create my-first-depl –config mydeploy.yaml

–config flag is the relative path to your yaml configuration file. As soon as the above command executed efficiently, a listing with the useful resource identify talked about within the yaml file and its state will likely be proven to the consumer. We are able to additionally test the VM Cases within the Compute Engine menu as proven within the beneath picture.

Step: 5

Click on on the VM Occasion Title, Examine the Startup-Script part. 

Let’s edit the startup-scripts within the deployment.yaml config file as proven within the beneath picture:

Run the beneath command with a purpose to replace the deployment/VM occasion

gcloud deployment-manager deployments replace my-first-depl –config mydeply.yaml

As soon as up to date, Go to the VM Occasion once more, you will note that startup-script below the custom-metadata part can also be up to date.

Monitoring of Google Cloud Companies:

Step 1:

Click on on the Overview submenu of the Monitoring menu.

Then click on on View GCE Dashboard as proven within the beneath picture:

Examine Monitoring Agent Standing, in case of not detected, Set up Agent by clicking on the Set up Agent button.

You’ll be able to observe CPU Utilization, Acquired & ship bytes, and so forth.

I hope this may article show you how to in getting the fundamental understanding of Deployment Supervisor and Monitoring instruments in Google Cloud Platform.

Thanks

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments