GCP Compute Flashcards
If you run an instance (VM) on GCP cloud compute for 1 hr 5 min, are you charged for 1 hr 5min or 2hrs?
GCP compute engine is per min billing, you will be charged 1hr 5min.
To avail of discounts on GCP compute engine, do you need to make an upfront commitment?
No, provided you keep the resource running for more than 25% of billing month you will automatically receive discount.
Can you avail of discount if you leave you VM instance turned on 100% of the time during a month?
Yes, there is a sustained usage discount you get provided you instance is running all month.
Can i use capatial letter for instance name?
No only lowercase letter numbers and hyphen
Do I have to have a uniques name for an instance?
Yes, but only within the project.
I have an instance in zone us-east1 and zone A, How can I easily move it to a new zone, us-east1 zone B
Take a snapshot and use a snapshot to create a new image in zone B.
What are the types of instances you can have?
Standard, High-CPU-to-Memory and High-Memory-to-CPU
What is unique about the F1Micro
Instance qualifies for free tier
Is the trial account limited for instances?
Yes 8CPU per instance
Are standard persistant disks HDD or SSD?
HDD
Are persistent disks located in the same physical server as the computer|?
No, the disks are parts of a separate storage service and physically located in separate hardware?
Do persistent disk increase performance when you increase the size of the disk?
Yes
What is an instance service account used for?
To enable the inctance access other services such as GCP Cloud Storage API, you have to give the instance an identity, to do this you asign the instance a service account that will be used when accessng other services in GCP.
What is instance access scope used for?
It is a lagacy functtion that was there before IAM and it enaables you to set access to GCP servcie API’s likeCloud Storage for the instance.
When Google is performing maintenance on an instance and has to shut down the physical server, is there an option I can choose to have the VM stat running?
Yes, you can select to have instance live migrated before maintenance.
Can I have a VM restart if it stops?
Yes
What is a preemptable instance?
It is an instance that runs up to 24hrs and can be terminated by Google at any time.
I am deleting my instance and I want to keep the disk, by default will the disk be preserved?
No, you have to uncheck the delete the boot disk the disk will be deleted automatically when you delete the instance.
We require more performance IOPS performance form an persistent ssd disk, what can we do with out raid?
We can increase the size of the did, as performance is linked with the size of the disk.
Can we decrease the persistent disk size?
No, you can not decrease the persistent disk size.
Can you increase the persistent disk size while VM is running?
Yes
What source types can we have for a persistent disk?
- boot
- snapshot
- blank
What are the persistent disks storage classes?
- regional (link S3)
- multi-regional (like S3 but across regions)
- nearline
- ## coldline (long tern storage like AWS glacier)
I have a boot persistent disk i us-east1-c zone and a instance in us-east1-d, can I have the instance use the persistent disk?
no, disk has to be in the same zone as the instance. I expect this is because the storage service is local to the zone (datacenter).