GCP Systems Operations

link

Project resources

Interacting with GCP

Cool links:

Compute Engine Instances

IaaS vs PaaS

GCP Systems Operations - IaaS vs PaaS.png

Machine Types

Instance states

Provisioning > Staging > Running > Stopping > Terminated

Check instance state with:

gcloud compute instances describe $INSTANCE

Networking

If you have several instances, it's not a good idea to expose all of them to the public internet. Instead:

Snapshots

Creating snapshots

Instance Groups

Cloud SQL

Basic stuff...

Metadata

Present in Compute Engine tab.

Startup / Shutdown Scripts

Scripts that run when an instance is starting up (or shutting down).

All startup script output is written to /var/log/daemon.log.
See also /var/log/startupscript.log.

Common uses:

Shutdown script:

Auto Scaling

Policies

Load Balancer

Note

Cloud Load Balancer is going to be a key component in any Compute Engine based, highly available workload. So take the time to test it out and get to know it.

Cool demo showing Load Balancer configs

video