How to use CLI for Managed instance groups ?

We have been using the cloud console to manage the managed instance groups. Let us now learn how to use the command line interface to manage the instance groups. It is important to note that we need to set the project id before we can execute any of these commands mentioned below. Else, you will receive an error. You can use the below command to set the project id.

gcloud config set project <project name>
Read More
Few additional commands in Google Cloud.

Below are few compute instance commands in gcloud.

gcloud compute instances start <instance 1> <instance 2 > //The instance 1 & 2 are created
gcloud compute instances stop <instance 1> < instance 2 > //The instances 1 & are stopped
gcloud compute instances delete <instance 1> // The instance 1 is deleted
gcloud compute instances delete <instance 1 > --delete-disks=<value> //deletes the boot disk along with instance
gcloud compute instances delete <instance 1> --keep-disks=<value> // keeps the boot disk even if the vm is deleted
gcloud compute instances move <instance 1> --zone us-central1-b --destination-zone us-central-f // moves the instance from central-1b zone to central-f zonet out a 
gcloud compute instance
Read More
Compute Engine Live Migration & best practices

Live Migration:

When the host system in needs to be updated live migration of the virtual instance happens. The virtual instance is migrated to a different host system from the same zone. The properties of the instance do not change. However, this is not supported for instances with GPU or for Spot instances. The live migration option can be selected when creating the virtual instance under the availability policy.

Read More
Billing, Discounts & keeping costs low on GCP.

sustained use discounts:

  • Google will provide you sustained discounts in case if the virtual instance is running more than 25% of the month.
  • Sustained discounts are automatically applied usually the discount is between 20-50% on every incremental minute.
  • The sustained use discounts do not apply for certain machine types like E2 & A2
  • The sustained use discounts do not also apply if the Virtual instances are created by App Engine or Data flow.
Read More
Introduction to Google Compute Engine

what is a compute Engine? In simple words it is nothing but a virtual machine in google cloud. the service called compute engine in google cloud allows you to create and manage the life cycle of virtual machine instances. You can manage network connectivity and configuration of VM instances. it also allows you to load balance between 2 or more virtual machines.

Read More
Introduction to Cloud Computing

In the complex world of traditional data centers, businesses grapple with the intricate task of aligning resource provisioning to unpredictable peak loads, such as the holiday season surge faced by e-commerce giants. The constant commitment to resources that often lie idle during off-peak periods, coupled with the challenges of hardware procurement and staffing, places a considerable strain on enterprises.

Read More
error: Content is protected !!