The video below will show you step by step how to create Ubuntu 20.04 instance in Google Cloud.
1. login to GCP console
https://console.cloud.google.com/
2. create project or use exist one
I used default one “My First Project”. You can hit drop down menu on top of the window, choose “NEW PROJECT” and follow instruction
3. create instance
machine type: “f1-micro”
boot disk ->Operation system: Ubuntu
boot disk ->Version: Ubuntu 20.04 LTS
Firewall:
Allow HTTP traffic
Allow HTTPS traffic
Management:
ENABLE deletion protection
the rest left as default.
4. ssh connect to instance
gcloud beta compute ssh --zone "your zone" "your instance name" --project "your project id"
5. stop / delete instance
to delete instance, have to remove deletion protection if applicable before deletion.
Please see more about Google Cloud Platform free tier