0
0
AWScloud~15 mins

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

Choose your learning style9 modes available
Understanding Cloud Service Models: IaaS, PaaS, SaaS
📖 Scenario: You are learning about cloud computing. You want to organize examples of cloud service models: Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). This will help you understand how cloud providers offer different levels of services.
🎯 Goal: Create a simple AWS-themed dictionary that lists examples of IaaS, PaaS, and SaaS services. Then, add a configuration variable to select one model. Next, write code to get the list of services for the selected model. Finally, add a print statement to show the selected services.
📋 What You'll Learn
Create a dictionary named cloud_services with keys 'IaaS', 'PaaS', and 'SaaS' and their AWS service examples as lists
Create a variable named selected_model and set it to 'PaaS'
Write code to get the list of services for selected_model from cloud_services and store it in services_list
Add a print statement to display services_list
💡 Why This Matters
🌍 Real World
Cloud architects and developers often categorize cloud services to choose the right model for their applications.
💼 Career
Understanding IaaS, PaaS, and SaaS helps in designing cloud solutions and communicating with teams and clients.
Progress0 / 4 steps
1
Create the cloud services dictionary
Create a dictionary called cloud_services with these exact keys and values: 'IaaS' with ['EC2', 'EBS', 'VPC'], 'PaaS' with ['Elastic Beanstalk', 'Lambda', 'RDS'], and 'SaaS' with ['WorkMail', 'Chime', 'QuickSight'].
AWS
Need a hint?

Use curly braces to create a dictionary. Keys are strings and values are lists of strings.

2
Set the selected cloud service model
Create a variable called selected_model and set it to the string 'PaaS'.
AWS
Need a hint?

Assign the string 'PaaS' to the variable selected_model.

3
Get services list for the selected model
Write code to get the list of services for the cloud service model stored in selected_model from the cloud_services dictionary. Store this list in a variable called services_list.
AWS
Need a hint?

Use the variable selected_model as the key to get the value from cloud_services.

4
Display the selected services
Add a print statement to display the contents of the variable services_list.
AWS
Need a hint?

Use the print() function to show the list of services.