2 Cloud Computing Architecture

Introduction to Cloud Computing · Unit 2 · 6 hrs

Cloud Computing Architecture

Exam-focused notes for Cloud Computing Architecture (Introduction to Cloud Computing, CSC481): what the TU syllabus asks and how it has actually been tested, with 7 solved past questions from this unit.

Cloud Computing Architecture in short

This unit looks in more depth at the three service models and four deployment models introduced in unit one, adding a responsibility comparison across the service models and a design perspective built on service-oriented architecture, security, trust, and privacy.

Cloud Computing Architecture: notes

Platform as a Service

Platform as a Service (PaaS) gives developers a browser-based development environment together with the runtime, libraries, and tools needed to build, test, and deploy an application, without the developer having to manage servers, storage, or networking underneath it. A PaaS offering typically provides built-in security, scalability, and web services out of the box, along with tools for defining workflow, approval processes, and business rules, and it is designed to integrate easily with other applications through a web-service interface that lets code outside the platform connect to it. Because the provider absorbs the operational work, PaaS reduces development time, supports multiple programming languages on the same platform, and makes it easier for distributed teams to collaborate on the same application.

Software as a Service

Software as a Service (SaaS) delivers a complete, working application to the end user, typically through a subscription model, so the customer never installs or patches anything locally. Data is kept secure in the provider's cloud, so the failure of an individual user's own equipment does not cause data loss, and the resources behind the application can be scaled by the provider as demand changes. Because the application runs entirely in the cloud, it can be reached from any internet-connected device. This makes SaaS affordable relative to buying and licensing the equivalent desktop software, accessible from anywhere, and ready to use immediately rather than requiring a lengthy local setup.

What this unit covers

  • Platform as service
  • Software as a service
  • Infrastructure as service
  • Public clouds
  • Private clouds
  • Community cloud
  • Hybrid clouds
  • Cloud design and implementation using SOA, security, trust and privacy

Platform as service

2081 · 10 marks

Define cloud computing service. Describe each of PaaS, SaaS and IaaS with suitable examples.[10]

Show solved answer

Cloud Computing Service and Its Types (PaaS, SaaS, IaaS)


Definition of Cloud Computing Service

Cloud computing service refers to the delivery of hardware and software resources made available over the Internet as managed third-party services. Cloud services provide users access to advanced software applications, high-end networks, and server computers without requiring them to own or maintain physical infrastructure.

Cloud computing services are characterized by:

  • On-Demand Service: Users can arrange computing resources (processing power, storage, applications) without human intervention.
  • Broad Network Access: Services are accessible over the Internet from anywhere using various devices.
  • Measured Service: Services follow a pay-per-use pricing model; users pay only for what they consume.
  • Scalable Architecture: Users can scale up storage and hardware requirements according to need.
  • Location Independence: Services can be accessed from anywhere with an internet connection.

Examples of cloud computing services include virtual IT, software hosting, and network storage.


Types of Cloud Computing Services

Cloud computing is broadly categorized into three service models:


1. Infrastructure as a Service (IaaS)

Definition: IaaS provides virtualized computing resources over the internet. It allows users to rent and manage virtual machines (VMs), storage, and networking infrastructure on demand.

Key Characteristics:

  • Users have full control over the operating systems, applications, and configurations of the virtualized infrastructure.
  • The cloud provider manages the underlying physical hardware.
  • Resources are provisioned on a pay-per-use basis.
  • Highly scalable; users can increase or decrease resources as needed.

What the Provider Manages:

  • Physical servers, networking hardware, data centers

What the User Manages:

  • Virtual machines, operating systems, middleware, applications, data

Architecture Diagram:

User Controls:
  [Applications] --> [OS] --> [Virtual Machines]
Provider Controls:
  [Physical Servers] --> [Networking] --> [Storage]

Examples:

  • Amazon Web Services (AWS) - EC2 (Elastic Compute Cloud)
  • Microsoft Azure Virtual Machines
  • Google Compute Engine

Use Case: A startup company needs servers to host its web application but does not want to invest in physical hardware. It rents virtual machines from AWS, installs its preferred OS, and deploys its application.


2. Platform as a Service (PaaS)

Definition: PaaS provides a platform and environment that allows developers to build, test, deploy, and manage applications without worrying about the underlying infrastructure (servers, storage, networking).

Key Characteristics:

  • Provides a ready-to-use development environment.
  • The cloud provider manages the infrastructure AND the platform (OS, runtime, middleware).
  • Users focus only on writing and deploying their application code.
  • Supports the complete software development lifecycle (coding, testing, deployment).

What the Provider Manages:

  • Physical hardware, OS, runtime environment, middleware, databases

What the User Manages:

  • Application code and data only

Architecture Diagram:

User Controls:
  [Application Code] --> [Data]
Provider Controls:
  [Runtime] --> [Middleware] --> [OS] --> [Infrastructure]

Examples:

  • Microsoft Azure Platform (MAP) - formerly Windows Azure
  • Google App Engine
  • Heroku
  • AWS Elastic Beanstalk

Use Case: A software development team wants to build and deploy a web application quickly. Using Google App Engine (PaaS), they write their code and deploy it directly without managing servers or configuring operating systems.


3. Software as a Service (SaaS)

Definition: SaaS delivers fully functional software applications over the Internet on a subscription or pay-per-use basis. Users access the software through a web browser without installing or maintaining anything locally.

Key Characteristics:

  • The cloud provider manages everything: infrastructure, platform, and the application itself.
  • Users only interact with the software through a user interface (typically a browser).
  • Accessible from anywhere with an internet connection.
  • Updates and maintenance are handled by the provider.

What the Provider Manages:

  • Everything: hardware, OS, middleware, application, data storage

What the User Manages:

  • Only their own data and user settings

Architecture Diagram:

User Controls:
  [User Interface / Browser Access]
Provider Controls:
  [Application] --> [Data] --> [Runtime] --> [OS] --> [Infrastructure]

Examples:

  • Google Workspace (Gmail, Google Docs)
  • Microsoft Office 365
  • Salesforce CRM
  • Dropbox
  • Zoom

Use Case: A company uses Salesforce to manage its customer relationships. Employees log in through a browser and use the CRM software without installing anything. The provider handles all updates, security, and maintenance.


Comparison Table

FeatureIaaSPaaSSaaS
What is providedVirtualized infrastructureDevelopment platformReady-to-use software
User managesOS, apps, dataApps and data onlyOnly user data/settings
Provider managesHardware onlyHardware + OS + runtimeEverything
Target usersIT administratorsDevelopersEnd users
FlexibilityHighestMediumLowest
ExampleAWS EC2, Azure VMsGoogle App Engine, HerokuGmail, Office 365

Summary

Cloud computing services are delivered in three primary models. IaaS gives maximum control by providing raw virtualized infrastructure. PaaS abstracts the infrastructure and provides a development platform so developers can focus on code. SaaS provides complete, ready-to-use applications accessible via the internet. Microsoft Azure, for example, supports all three models, offering solutions for analytics, virtual computing, storage, and networking.

Open this answer on its own page →

2079 · 5 marks

Describe the services provided under Platform-as-a-service? [5]

Platform-as-a-Service (PaaS) is a cloud computing model that provides a complete development and deployment environment in the cloud. It delivers a platform allowing customers to develop, run, and manage applications without the complexity of building and maintaining the underlying infrastructure...

Open this answer on its own page →

Hybrid clouds

2081 · 5 marks

When do organizations have to adapt hybrid and community cloud deployment models? [5]

Show solved answer

When Organizations Adopt Hybrid and Community Cloud Deployment Models


Hybrid Cloud Adoption

A hybrid cloud is a cloud environment that combines both private and public cloud deployments, allowing organizations to benefit from both models simultaneously.

Organizations adopt the hybrid cloud model in the following situations:

1. Need for Both Security and Scalability

When an organization handles sensitive data (requiring a private cloud) but also needs cost-effective scalability for less critical workloads (public cloud), a hybrid model is the ideal solution.

2. Regulatory and Compliance Requirements

Organizations operating in industries with strict data regulations (e.g., banking, healthcare) must keep certain data on-premises (private cloud) while still leveraging public cloud for other operations.

3. Cost Optimization

When organizations want to reduce infrastructure costs without fully giving up control over critical systems, hybrid cloud allows them to use public cloud resources on a pay-per-use basis while maintaining a private cloud for core operations.

4. Disaster Recovery and Backup

Organizations use hybrid cloud to store backup data on public cloud while keeping primary operations on a private cloud, ensuring business continuity.

5. Gradual Cloud Migration

When an organization is transitioning from on-premises infrastructure to the cloud gradually, a hybrid model supports the transition without full immediate migration.


Community Cloud Adoption

A community cloud is similar to a private cloud but is shared among multiple organizations with common interests, goals, or compliance requirements. It is maintained either in a data center or on-premises.

Organizations adopt the community cloud model in the following situations:

1. Shared Regulatory Requirements

Organizations such as government agencies, healthcare organizations, and financial corporations that must comply with the same regulations (e.g., HIPAA, government security standards) share a community cloud to meet compliance collectively.

2. Common Security Concerns

When multiple organizations in the same sector have similar security needs and want a more controlled environment than a public cloud, a community cloud provides a shared yet secure platform.

3. Cost Sharing Among Similar Organizations

When individual organizations cannot afford a fully dedicated private cloud, they collaborate with similar organizations to share infrastructure costs while maintaining more control than a public cloud offers.

4. Collaboration and Data Sharing

When organizations in the same industry or community need to share data and applications securely (e.g., research institutions, government departments), a community cloud facilitates this collaboration.

5. Limited Public Cloud Trust

When organizations are not comfortable with a fully public cloud due to multi-tenancy issues (data theft, noisy neighbor effect, security risks) but still need shared resources, a community cloud is preferred.


Summary Table

ScenarioHybrid CloudCommunity Cloud
Mix of sensitive and non-sensitive workloadsYesNo
Shared compliance among similar organizationsNoYes
Cost optimization with controlYesYes
Gradual cloud migrationYesNo
Collaboration among similar industriesNoYes
Open this answer on its own page →

Cloud design and implementation using SOA, security, trust and privacy

2081 · 5 marks

How and why cloud applications are designed using loosely coupled components? [5]

Loose coupling is an architectural principle where individual components (services) of an application interact with each other through well-defined interfaces and contracts, with minimal dependency on each other's internal implementation. Each component can be developed, deployed, scaled, and upd...

Open this answer on its own page →

2080 · 5 marks

Explain the role of SOA while developing cloud applications. [5]

Service-Oriented Architecture (SOA) is an architectural style for designing and developing software systems where functionality is grouped into interoperable, loosely coupled, and reusable units called services. Each service performs a specific business function and communicates with other servic...

Open this answer on its own page →

Infrastructure as service

2080 · 5 marks

Describe Amazon EC2 and its features. [5]

Amazon Elastic Compute Cloud (EC2) is a commercial web service launched by Amazon in 2006 as part of Amazon Web Services (AWS). It allows users to rent computer systems online to run their computer applications. EC2 is a foundational example of Infrastructure as a Service (IaaS), where virtualize...

Open this answer on its own page →

Public clouds

2079 · 10 marks

Define cloud computing. Discuss various cloud deployment models.[10]

--- Cloud computing is a model for enabling on-demand network access to a shared pool of configurable computing resources (such as servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction. In simple t...

Open this answer on its own page →