2 Cloud Service Models

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.

Cloud Service Models: notes

Infrastructure as a Service (IaaS)

IaaS gives the customer basic computing resources over the internet: virtual machines, storage and networks. The customer installs and manages the operating system, middleware and applications. The provider manages the physical hardware and the virtualization layer.

Examples: Amazon EC2, Azure Virtual Machines and Google Compute Engine.

Features and uses:

  • The user picks the machine size, operating system and network setup.
  • Billing is by usage, for example per hour or per second.
  • Good for hosting websites, test environments, backups and large computing jobs.
  • It gives the most control among the three models, but also needs the most management skill.

Platform as a Service (PaaS) characteristics

PaaS gives developers a ready platform to build, test and run applications. The provider manages servers, storage, networking, the operating system and the runtime. The developer only manages the application code and its data.

Main characteristics:

  • The development tools, language runtimes and databases are provided.
  • The platform scales automatically as users increase.
  • Many developers can work together on the same project.
  • Deployment is simple. The developer uploads code and the platform runs it.
  • Billing follows usage.
  • Built-in services such as monitoring, security and version support are included.

Examples: AWS Elastic Beanstalk, Azure App Service and Google App Engine.

A limit of PaaS is that the developer is tied to the languages and tools the platform supports. Moving to another platform can need code changes.

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 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:

  1. Code Deployment: Developer writes a function (small, single-purpose code unit) and uploads it to the FaaS platform

  2. Event Triggering: Functions are triggered by events such as:

    • HTTP requests
    • Database changes
    • File uploads
    • Timer/scheduled events
    • Message queue events
  3. Automatic Scaling: When an event occurs:

    • The platform automatically provisions resources
    • The function executes in a container
    • Resources scale up/down based on demand
  4. Execution & Response: Function runs, processes the event, and returns results

  5. Resource Release: After execution completes, resources are released immediately

Example: AWS Lambda, Google Cloud Functions, Azure Functions


3. Characteristics of Cloud Computing

CharacteristicDescription
On-Demand Self-ServiceUsers provision resources without human intervention
Broad Network AccessServices accessible via standard protocols (HTTP, HTTPS)
Resource PoolingProvider's resources shared among multiple users; resources dynamically allocated
Rapid ElasticityResources scale quickly up or down based on demand
Measured ServiceResource usage monitored, controlled, and billed transparently
Cost EfficiencyPay-as-you-go model; no upfront capital investment
AccessibilityAvailable 24/7 from anywhere with internet connection
Reliability & RedundancyBuilt-in backup and disaster recovery mechanisms

4. Challenges of Cloud Computing

ChallengeDescription
Security & PrivacyData stored on third-party servers; risk of unauthorized access, data breaches, compliance issues (GDPR, etc.)
Vendor Lock-inDifficult to migrate from one provider to another; proprietary tools and formats
Downtime & AvailabilityService outages can disrupt business; dependent on provider's infrastructure
Network LatencyInternet-dependent; slower performance compared to local systems
Data ComplianceMeeting regulatory requirements across different jurisdictions
Cost ManagementUnpredictable billing; costs can escalate with increased usage
Limited ControlUsers have limited control over infrastructure and underlying systems
Skill GapRequires specialized knowledge for cloud platform management
Integration IssuesIntegrating cloud services with existing on-premise systems can be complex
Performance VariabilityShared resources may cause performance fluctuations
Open this answer on its own page →

Serverless computing and FaaS model

2081 · 10 marks

What is Server less computing? Explain different cloud deployment model in brief.[10]

Definition: Serverless computing is a cloud computing execution model where the cloud provider automatically manages the infrastructure, server allocation, and scaling. Developers write and deploy code without provisioning or managing servers. Key Characteristics: 1. No Server Management: Develop...

Open this answer on its own page →

0 · 10 marks

What do you mean by server less computing and FAAS model? Explain the different cloud service models.[10]

Serverless computing is a cloud computing execution model where the cloud provider dynamically manages the allocation and provisioning of servers. The developer writes and deploys code without managing underlying infrastructure, servers, or runtime environments. Key characteristics: - No server m...

Open this answer on its own page →

Platform as a Service

2081 · 5 marks

What are the main characteristics of Platform as a Service Solution? [5]

Since reference notes are not provided, this answer draws from standard cloud computing curriculum aligned with BSc CSIT requirements. - Developers do not need to manage underlying hardware, operating systems, or network infrastructure - The platform handles all infrastructure concerns automatica...

Open this answer on its own page →

Comparison between PaaS and SaaS

2080 · 5 marks

Differentiate between PAAS and SAAS with examples. [5]

Aspect PaaS (Platform as a Service) SaaS (Software as a Service) -------------------------------------------------------------------- What is provided Complete development and deployment environment in the cloud Ready-to-use software applications delivered over the internet Target users Developer...

Open this answer on its own page →