Compute
-
Compute Engine : VMs, GPUs, TPUs, Reserve a configuration of CPU, memory, disk, and GPUs, and decide what OS to run.
- Sole tenant VM : to have exclusive access to a physical Compute Engine server that is dedicated to hosting only your project's VMs.
- VMware as a service : A fully managed service that lets you run the VMware platform in.
- Baremetal : To run specialized workloads on high-performance.
- Shield VM : Offers verifiable integrity of your Compute Engine VM instance.
- Preemptible VM instances : Instances are available at much lower price BUT might be stopped by Compute Engine if it needs to reclaim the compute capacity for allocation to other VM.
-
GKE : Managed Kubernetes Clusters
-
Cloud Run : A fully managed serverless/clusterless platform that enables you to run containers that are invocable via requests or events.
Give a code(source-based workflow - Buildpacks) or a container(container-based workflow) to Cloud Run, and it hosts and auto scales as needed to respond to web and other events.
-
App Engine (Standard & Flexible Mode) : A fully managed, serverless platform for developing and hosting web applications at scale.
-
Cloud Functions : Event-driven serverless functions. You write individual function code and Cloud Functions calls your function when events happen: HTTP, Pub/Sub, Cloud Storage changes...
Custom metadata for VM Instance
Key/value to perform some actions.
Example :
- startup-script-url :
https://storage.googleapis.com/cloud-training/archinfra/mcserver/startup.sh
- shutdown-script-url :
https://storage.googleapis.com/cloud-training/archinfra/mcserver/shutdown.sh
gcloud CLI examples
Where should I run my stuff?
- Where should I run my stuff? Choosing a Google Cloud compute option.
Difference between the serverless offfers
App Engine Flexible runs on top of Compute Engine. It can't scale to zero and runs inside of the VPC network.
Flexible Vs Standard (SSH to instance - write on disk - can use any library/language)
The other three, App Engine Standard, Cloud Functions, and Cloud Run are all built on the same core.
They are implemented on top of the gVisor container sandbox.
Cloud Run can only pull images from Artifact Registry