How to optimize cost on cloud ☁ 1. Why we need to optimize cloud cost 💸 2. Choose the right services 🚀 3. Demo: Cloud Functions with Compute Engine API 🌧 + ☀ = 🌈 4. Other tips to save the cost 🏦 5. Summary 🍓 Agenda Why we need to optimize cloud cost 💸 It’s money 💰 ● reduce cost ● utilize more Tip 0 : Free Tier 🎉 Free Trial: Free $300 USD for new users (90 days) https://cloud.google.com/free US region only Free Compute Engine Or, use Preemptible VM to reduce the cost Choose the right services 🚀 Compute Services 🤖 Google Compute Engine GCE Virtual Machine Google Kubernetes Engine GKE Managed K8s cluster Google Cloud Run Serverless container Google App Engine GAE Serverless application platform Google Cloud Functions GCF Serverless functions IAAS : Infrastructure as a service CAAS : Container as a service PAAS : Platform as a service FAAS : Function as a service Compute Services Go Serverless Tip 1 : Choose the right service 🚀 Goal: Reduce GCE Cost 🎯 Tip 2 : “Turn off when not using it” 💡 Fully managed Cron service Serverless Messaging service Serverless Functions Virtual Machine Q:How to stop GKE Cluster? 🚛 🚚 🚛 Resizing a cluster https://cloud.google.com/sdk/gcloud/reference/container/clusters/resize (to 0 ) Other Tips? 🏦 Save the Storage 📦