Determine if your Google Cloud virtual machine instances have the desired type(s) established by your organization based on the workload deployed. The desired instance type(s) must be defined in the conformity rule settings, on the Trend Cloud One™ – Conformity account console.
A machine type is a set of virtualized hardware resources available to a virtual machine (VM) instance, including the system memory size, virtual CPU (vCPU) count, and persistent disk limits. In Google Cloud Platform (GCP), virtual machine types are grouped and curated by families for different workloads. You can choose from general-purpose, memory-optimized, and compute-optimized families. Setting limits for the type(s) of the virtual machine instances provisioned in your cloud account can help you to manage better your compute power, address internal compliance requirements and prevent unexpected charges on your Google Cloud bill.
Note: For VM instances, you can change the machine type without affecting the instance's persistent disk data (including installed applications and application data), SSH keys, or other instance configurations such as instance metadata. If your instance uses an ephemeral external IP address, there is a possibility that the IP address might change. To keep the IP address from changing, promote it to a static external IP address.
Audit
To determine if all your virtual machine instances have the desired type(s), perform the following operations:
Remediation / Resolution
To resize your existing Google Cloud virtual machine instances to the VM type established by your organization, perform the following actions:
References
- Google Cloud Platform (GCP) Documentation
- Virtual machine instances
- Machine types
- Changing the machine type of an instance
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud compute instances list
- gcloud compute instances describe
- gcloud compute instances stop
- gcloud compute instances set-machine-type
- gcloud compute instances start