Google Compute Engine (GCE) Flashcards
To learn about the Google Compute Engine service
With respect to billing for virtual networking instances, what are you not billed for?
Traffic ingress (into the network from the Internet).
VM to VM traffic within a single zone.
Traffic to GCP services, although limits apply.
With respect to billing for virtual networking instances, what are you billed for?
Traffic egress (out to the Internet). From one region to another (North America to Europe),. Rates will vary depending on whether data is going to one part of the same region to another, or to another continent
What is a Bastion Host?
It is a virtual machine that act as an entry point to the GCP network from an external computer/network. It can serve as a NAT Gateway or for a site to site VPN.
What is a managed instance group?
It is a group of virtual machine instances that created using a single instance template which contain all of the configuration info on the machines (i.e. # of CPUs, storage, RAM, etc.). As a result, you control/manage this group of instances as a single unit. Two types are Zonal and Regional. Useful for recovery after a failure, scaling per user needs, migrating instance.
True or False:
An instance template is always a global resource, not bound to a zone or region.
False.
While instance templates are not bound to zones or regions, some GCP resources are. Therefore, if you include a zonal or regional resource in your instance template, it becomes bound to the specific zone(s) or region(s) where that service is available.
What is an Unmanaged Instance group?
It is a group of virtual machine instances that are not all the same which you can arbitrarily add or remove from a group. Unmanaged Instances do not offer autoscaling, rolling update support, or use of instance templates. Google recommends against their usage.
What is the use case for an Unmanaged Instance
Use only for applying load balancing to your pre-existing configurations or to groups of dissimilar instances.
What are the 4 virtual machine disk types
Persistent disk HDD, Persistent disk SSD, Local SSD disk, and RAM disk
True or False:
It is okay to use a virtual machine with a local SSD.
False.
Local SSDs cannot be backed up and will just be discarded. Snapshots are not available for SSDs.