What services does Google offer for serverless services?
Cloud run, cloud functions, app engine
If the serverless service is fully managed, what would you pick?
Cloud run
If the serverless service is event driven, what would you pick?
Cloud Function
If the serverless service automatically handles scaling and load balancing but you need to config it what would you pick?
App Engine
What service handles with RESTful APIs?
Cloud run and function
What service deals with web and mobile backends?
App Engine
What service deals with real time file procesing?
Cloud functions and cloud storage
What service deals with data pipeliens?
Pub/Sub for traversing data
Dataflow for configuring data
BigQuery for analytical data
Whats the command to create a VM?
gcloud compute isntances create NAME –zone=us
Whats the command to connect to a VM?
gcloud computer ssh NAME –zone=ZONE
If you need incremental backup of a disk, what should you use?
Snapshots
If you need reusable OS templates, what should you use?
Images
If you need a disk to survive when an instance is deleted or detached, what should you use?
Persistent Disks
How do you create a cluster? Whats the command?
gcloud container clusters create my-cluster –num-nodes=3 –zone=us-central1-a
How do you deploy a kubectl app? and expose it to the internet? Command
kubectl create deployment nginx –image=nginx
kubectl expose deployment nginx –port=80 –type=LoadBalancer
How do you do Node Pool scaling command?
gcloud container clusters resize my-cluster –num-nodes=5
If you need kubectl to work by needing credentials, what should you do? command
gcloud container clusters get-credentials
What is a standard environment?
Standard: Sandboxed, cheaper, autoscaling
What is flexible environment?
Flexible: custom runtime, slower startup
How do you deploy an App Engine? command
gcloud app deploy app.yaml
gcloud app browse
How many regions can you put per project?
Just one
Whats the command to create an instance template?
gcloud compute instance-templates create
Whats the command to create a MIG?
gcloud compute instance-groups managed create web-mig –template=my-template –size=2
Whats the command to enable autoscaling?
gcloud compute instance-groups managed set-autoscaling web-mig –max-num-replicas=5 –target-cpu-utilization=0.8