You need to increase the vCPU and memory allocated to an existing standalone Compute Engine virtual machine (VM) instance by changing its machine type. Which action must be taken on the VM instance before its machine type can be updated?
- Stop the VM instance.Cevap
- BSubmit a quota increase request via the Cloud Console.
- CAssign the primitive Owner role to the instance service account.
- DConvert the VM instance into a Spot VM.
Cevap
Stop the VM instance prior to modifying its machine type attribute.
To modify the machine type of a standalone Compute Engine instance, the instance must be shut down and placed in the STOPPED (TERMINATED) state. Once stopped, the vCPU and memory configuration can be modified using the Cloud Console or gcloud compute instances set-machine-type, after which the instance can be restarted.
Adım Adım Çözüm
Anahtar Kavram
Modifying Compute Engine Instance Attributes