Compute Engine Flashcards
Compute Engine at a high level allows a user to…
Create and run VMs
What are some of the things a user can pick when setting up Compute Engine?
Image - Linux, Windows, custom
Memory
CPU
GPU
Disk - standard, SSD (persistent)
Local SSD scratch disk (lost when goes down)
Startup scripts
Disk Snapshotting
What setting allows compute engine to terminate your resources
Preemptable instances
Network throughput scaling
2 Gbps per vCPU. Theoretical max of 32 Gbps with 16 vCPUD, or 100 Gbps with T4 or V100 GPUs
What is relationship between vCPU and threads?
1 vCPU = 1 hardware hyper thread
VM lifecycle
Provisioning > Staging > Running > Stopping > Terminated
What happens during provisioning?
vCPU + Memory setup, root/persistent disk setup, additional disk setup
What happens during staging?
IP addresses setup, image setup, boot
What happens during running?
Startup script, can SSH/RDP, Modify Use (Move VM to different zone, snapshot, export system image, set/get metadata), live migrate
What happens during stopping?
Shutdown script
What happens during terminated?
Delete, Availability policy?