Compute Engine Flashcards
What is Compute Engine?
Compute Engine is a scalable and flexible virtual machine service that offers computing capabilities in the cloud, with options to utilize certain CPUs, GPUs, or Cloud TPUs.
Source - https://cloud.google.com/terms/services
What is a Cloud TPU?
A Cloud Tensor Processing Unit. It is used to speed up ML workloads.
Can you store metadata onn Compute Engine instaces?
No. Though you can specific metadata for a VM, the metadata is stored on a metadata server that the instance automatically has access to.
What wold you use Comute Engine metadata for?
Common variable between instances (Database IP)
Is Compute Engine VM Metadata secure?
No. Any process that can query the metadata url will have access to the metadata values, so storing sensitive information there is not advised.
What are the different types of Metadata?
Project (with subtypes of Project-wide & zonal)
Instance metadata
How would you access VMmetadata?
By using one of the following directories:
For project-wide: http://metadata.google.internal/computerMetadats/v1/project/
For project zonal: http://metadata.google.internal/computerMetadats/v1/instance/
Can you create nested VM Metadata directories?
Yes, by adding a trailing slash to the metadata’s key name.
What is a managed instance Group?
A managed instance group (MIG) creates managed instances according to configurations set by the you. Each managed instance represented the intended state of a VM.