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.
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 answerHide 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
| Feature | IaaS | PaaS | SaaS |
|---|---|---|---|
| What is provided | Virtualized infrastructure | Development platform | Ready-to-use software |
| User manages | OS, apps, data | Apps and data only | Only user data/settings |
| Provider manages | Hardware only | Hardware + OS + runtime | Everything |
| Target users | IT administrators | Developers | End users |
| Flexibility | Highest | Medium | Lowest |
| Example | AWS EC2, Azure VMs | Google App Engine, Heroku | Gmail, 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.
2079 · 5 marks
Describe the services provided under Platform-as-a-service? [5]
Hybrid clouds
2081 · 5 marks
When do organizations have to adapt hybrid and community cloud deployment models? [5]
Show solved answerHide 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
| Scenario | Hybrid Cloud | Community Cloud |
|---|---|---|
| Mix of sensitive and non-sensitive workloads | Yes | No |
| Shared compliance among similar organizations | No | Yes |
| Cost optimization with control | Yes | Yes |
| Gradual cloud migration | Yes | No |
| Collaboration among similar industries | No | Yes |
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]
2080 · 5 marks
Explain the role of SOA while developing cloud applications. [5]
Infrastructure as service
Public clouds
2079 · 10 marks
Define cloud computing. Discuss various cloud deployment models.[10]
Make Unit 2 stick
Practice CSC481 with flashcards & quizzes