Cloud Computing · Unit 2
Cloud Service Models
Exam-focused notes for Cloud Service Models (Cloud Computing, BIT408): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.
Cloud Service Models in short
Cloud providers sell their services in layers. The three classic layers are infrastructure, platform and software, and a newer style called serverless removes server management altogether. Knowing what you manage and what the provider manages in each layer is a standard exam topic.
What this unit covers
- Infrastructure as a Service (IaaS)
- Platform as a Service (PaaS) characteristics
- Software as a Service (SaaS)
- Comparison between PaaS and SaaS
- Serverless computing and FaaS model
- Characteristics and challenges of serverless computing
Characteristics and challenges of serverless computing
2082 · 10 marks
What is server less computing? How FAAS works? What are the characteristics and challenges of cloud computing?[10]
Show solved answerHide answer
Model Answer: Serverless Computing, FaaS, and Cloud Computing
1. Serverless Computing
Definition: Serverless computing is a cloud computing execution model where the cloud provider dynamically manages the allocation and provisioning of servers. Developers write and deploy code without worrying about underlying infrastructure, server management, or capacity planning.
Key Concept: Despite the name "serverless," servers still exist, but they are abstracted away from the developer. The cloud provider handles all infrastructure concerns.
2. How FaaS (Function as a Service) Works
FaaS is the primary serverless computing model. The workflow operates as follows:
Process Flow:
-
Code Deployment: Developer writes a function (small, single-purpose code unit) and uploads it to the FaaS platform
-
Event Triggering: Functions are triggered by events such as:
- HTTP requests
- Database changes
- File uploads
- Timer/scheduled events
- Message queue events
-
Automatic Scaling: When an event occurs:
- The platform automatically provisions resources
- The function executes in a container
- Resources scale up/down based on demand
-
Execution & Response: Function runs, processes the event, and returns results
-
Resource Release: After execution completes, resources are released immediately
Example: AWS Lambda, Google Cloud Functions, Azure Functions
3. Characteristics of Cloud Computing
| Characteristic | Description |
|---|---|
| On-Demand Self-Service | Users provision resources without human intervention |
| Broad Network Access | Services accessible via standard protocols (HTTP, HTTPS) |
| Resource Pooling | Provider's resources shared among multiple users; resources dynamically allocated |
| Rapid Elasticity | Resources scale quickly up or down based on demand |
| Measured Service | Resource usage monitored, controlled, and billed transparently |
| Cost Efficiency | Pay-as-you-go model; no upfront capital investment |
| Accessibility | Available 24/7 from anywhere with internet connection |
| Reliability & Redundancy | Built-in backup and disaster recovery mechanisms |
4. Challenges of Cloud Computing
| Challenge | Description |
|---|---|
| Security & Privacy | Data stored on third-party servers; risk of unauthorized access, data breaches, compliance issues (GDPR, etc.) |
| Vendor Lock-in | Difficult to migrate from one provider to another; proprietary tools and formats |
| Downtime & Availability | Service outages can disrupt business; dependent on provider's infrastructure |
| Network Latency | Internet-dependent; slower performance compared to local systems |
| Data Compliance | Meeting regulatory requirements across different jurisdictions |
| Cost Management | Unpredictable billing; costs can escalate with increased usage |
| Limited Control | Users have limited control over infrastructure and underlying systems |
| Skill Gap | Requires specialized knowledge for cloud platform management |
| Integration Issues | Integrating cloud services with existing on-premise systems can be complex |
| Performance Variability | Shared resources may cause performance fluctuations |
Serverless computing and FaaS model
2081 · 10 marks
What is Server less computing? Explain different cloud deployment model in brief.[10]
0 · 10 marks
What do you mean by server less computing and FAAS model? Explain the different cloud service models.[10]
Platform as a Service
2081 · 5 marks
What are the main characteristics of Platform as a Service Solution? [5]
Comparison between PaaS and SaaS
2080 · 5 marks
Differentiate between PAAS and SAAS with examples. [5]
Make Unit 2 stick
Practice BIT408 with flashcards & quizzes