0
0
Azurecloud~30 mins

Cloud service models (IaaS, PaaS, SaaS) in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
Understanding Cloud Service Models with Azure
📖 Scenario: You are starting a small business and want to use cloud services to host your website and applications. You want to understand the different cloud service models offered by Azure to choose the right one for your needs.
🎯 Goal: Build a simple Azure resource configuration that demonstrates the three main cloud service models: Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS).
📋 What You'll Learn
Create a dictionary called azure_services with exact keys and values representing IaaS, PaaS, and SaaS services.
Add a configuration variable called selected_service to choose one of the service models.
Write a function called describe_service that returns the description of the selected service model.
Add a final line that sets service_description by calling describe_service with selected_service.
💡 Why This Matters
🌍 Real World
Understanding cloud service models helps businesses choose the right Azure services for hosting, development, and software needs.
💼 Career
Cloud architects and developers must know IaaS, PaaS, and SaaS to design and deploy effective cloud solutions.
Progress0 / 4 steps
1
Create Azure cloud service models dictionary
Create a dictionary called azure_services with these exact entries: 'IaaS': 'Virtual Machines', 'PaaS': 'App Service', and 'SaaS': 'Office 365'.
Azure
Need a hint?

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

2
Add selected service configuration
Add a variable called selected_service and set it to the string 'PaaS'.
Azure
Need a hint?

Assign the string 'PaaS' to the variable selected_service.

3
Write function to describe selected service
Write a function called describe_service that takes one parameter service_type and returns the value from azure_services for that key.
Azure
Need a hint?

Use the parameter service_type to get the value from azure_services dictionary.

4
Set service description using the function
Add a line that creates a variable called service_description and sets it by calling describe_service with selected_service as the argument.
Azure
Need a hint?

Call the function describe_service with selected_service and assign the result to service_description.