Serverless vs GKE Decision
📖 Scenario: You are a cloud architect helping a small company decide how to deploy their new web application on Google Cloud Platform (GCP). They want to understand the difference between using a serverless approach with Cloud Run and using Google Kubernetes Engine (GKE) for container orchestration.Your task is to create a simple decision helper that models the choice between Serverless and GKE based on application needs.
🎯 Goal: Build a Python script that stores application requirements, sets a threshold for complexity, and uses a decision logic to recommend either Serverless (Cloud Run) or GKE deployment.
📋 What You'll Learn
Create a dictionary with exact application requirements and their values
Add a complexity threshold variable
Write a decision logic using an if-else statement to choose between Serverless and GKE
Output the final deployment recommendation as a variable
💡 Why This Matters
🌍 Real World
Cloud architects often need to decide the best deployment method for applications based on their requirements and complexity.
💼 Career
Understanding how to model application needs and make deployment decisions is key for roles in cloud architecture and infrastructure engineering.
Progress0 / 4 steps