0
0
GCPcloud~30 mins

Why GCP architecture framework matters - See It in Action

Choose your learning style9 modes available
Why GCP architecture framework matters
📖 Scenario: Imagine you are helping a small business move their website and data to Google Cloud Platform (GCP). You want to make sure their cloud setup is safe, efficient, and easy to manage.
🎯 Goal: You will build a simple GCP architecture framework example that shows how to organize cloud resources properly. This helps the business avoid problems and save money.
📋 What You'll Learn
Create a dictionary called resources with keys for compute, storage, and network and their example values
Add a configuration variable called security_level set to high
Use a for loop with variables service and detail to iterate over resources.items()
Add a final key called monitoring with value enabled to the resources dictionary
💡 Why This Matters
🌍 Real World
Organizing cloud resources clearly helps teams manage GCP projects safely and efficiently.
💼 Career
Understanding GCP architecture frameworks is essential for cloud engineers and architects to design scalable and secure cloud solutions.
Progress0 / 4 steps
1
Create initial GCP resources dictionary
Create a dictionary called resources with these exact entries: 'compute': 'VM instances', 'storage': 'Cloud Storage buckets', and 'network': 'VPC networks'.
GCP
Need a hint?

Use curly braces to create a dictionary with the exact keys and values.

2
Add security level configuration
Add a variable called security_level and set it to the string 'high'.
GCP
Need a hint?

Just create a variable and assign the string 'high' to it.

3
Iterate over resources dictionary
Use a for loop with variables service and detail to iterate over resources.items().
GCP
Need a hint?

Use the items() method to get key-value pairs from the dictionary.

4
Add monitoring to resources dictionary
Add a new key called 'monitoring' with the value 'enabled' to the resources dictionary.
GCP
Need a hint?

Use square brackets to add a new key-value pair to the dictionary.