Introduction to Cloud Computing · Unit 6 · 12 hrs
Cloud Platforms and Applications
Exam-focused notes for Cloud Platforms and Applications (Introduction to Cloud Computing, CSC481): what the TU syllabus asks and how it has actually been tested, with 8 solved past questions from this unit.
Cloud Platforms and Applications in short
This unit looks at the web-service protocols that let cloud applications interoperate, surveys the major cloud platform families used to build and run cloud applications, and closes with the open challenges cloud computing still faces and the domains where cloud applications are now widely used.
What this unit covers
- Web services
- AppEngine
- Azures Platform
- Aneka
- Open challenges
- Scientific applications
- Business and Consumer applications
Aneka
2081 · 10 marks
Describe the architecture of Aneka. Discuss how application services, foundation services, and fabric services are organized in Aneka.[10]
Show solved answerHide answer
Architecture of Aneka
Introduction
Aneka is a Platform as a Service (PaaS) cloud application platform developed by Manjrasoft. It provides a runtime environment and a set of APIs for building distributed applications on private and public clouds. Aneka follows a Service-Oriented Architecture (SOA) approach, organizing its components into three distinct layers of services that work together to deliver scalable, on-demand cloud computing.
Overall Architecture of Aneka
Aneka's architecture is structured as a layered service model, consisting of three primary service layers:
+------------------------------------------+
| APPLICATION SERVICES | <-- Top Layer
| (Programming Models & Frameworks) |
+------------------------------------------+
| FOUNDATION SERVICES | <-- Middle Layer
| (Core Platform Services) |
+------------------------------------------+
| FABRIC SERVICES | <-- Bottom Layer
| (Hardware & OS Abstraction) |
+------------------------------------------+
| Physical Infrastructure / Nodes |
+------------------------------------------+
Each layer builds upon the one below it, providing a clean separation of concerns and enabling flexibility, extensibility, and portability.
1. Fabric Services (Bottom Layer)
Fabric services form the foundation of the Aneka platform. They are responsible for abstracting the underlying physical and virtual infrastructure and making it available to the upper layers.
Key Responsibilities:
- Resource Discovery: Identifies and registers available computing nodes (physical machines, virtual machines, or cloud instances).
- Node Management: Manages the lifecycle of nodes in the Aneka cloud, including adding and removing nodes dynamically.
- Infrastructure Abstraction: Hides the complexity of the underlying hardware, operating systems, and network configurations from higher layers.
- Connectivity: Establishes communication channels between nodes in the Aneka network.
Components:
| Component | Role |
|---|---|
| Node Agent | Runs on each worker node; manages local resources |
| Resource Monitor | Tracks CPU, memory, and storage usage |
| Network Fabric | Handles inter-node communication |
Significance:
Fabric services allow Aneka to run on heterogeneous environments -- including physical clusters, virtual machines, and public cloud providers (Amazon EC2, Azure) -- without changing the upper layers.
2. Foundation Services (Middle Layer)
Foundation services provide the core platform capabilities that are essential for building and running distributed applications. They sit between the fabric and application layers, providing common infrastructure services.
Key Responsibilities:
- Storage Service: Provides persistent and distributed data storage for applications running on the platform.
- Scheduling Service: Manages the allocation of tasks to available computing nodes based on policies such as load balancing, priority, and deadlines.
- Execution Service: Controls the execution of tasks on worker nodes, monitoring their progress and handling failures.
- Security Service: Manages authentication, authorization, and secure communication between nodes and users.
- Accounting and Billing Service: Tracks resource usage per user or application, enabling pay-per-use billing models.
- Reservation Service: Allows advance reservation of resources for time-critical applications.
Architecture Diagram of Foundation Services:
+-------------------------------------------------------+
| Storage | Scheduling | Security | Accounting | ... |
| Service | Service | Service | Service | |
+-------------------------------------------------------+
(All built on top of Fabric Services)
Significance:
Foundation services make Aneka a complete platform rather than just a resource manager. They ensure reliability, security, and efficient resource utilization across the cloud environment.
3. Application Services (Top Layer)
Application services are the highest layer in the Aneka architecture. They expose programming models and APIs that developers use to build and deploy distributed applications without worrying about the underlying infrastructure.
Key Programming Models Supported:
| Programming Model | Description |
|---|---|
| Thread Model | Allows multi-threaded applications to be distributed across nodes using a familiar threading API |
| Task Model | Supports bag-of-tasks parallelism; independent tasks are submitted and scheduled across nodes |
| MapReduce Model | Supports data-intensive parallel processing using the Map and Reduce paradigm |
| Parameter Sweep | Supports running the same application with different input parameters across multiple nodes |
Key Responsibilities:
- Provide high-level abstractions for application development.
- Translate application-level requests into foundation and fabric service calls.
- Support multiple programming paradigms so developers can choose the model best suited to their application.
- Manage the lifecycle of distributed applications from submission to completion.
Significance:
Application services make Aneka developer-friendly. A developer can write a distributed application using familiar programming constructs (threads, tasks) without needing to understand the details of scheduling, node management, or network communication.
How the Three Layers Work Together
The following example illustrates how the layers collaborate when a user submits a distributed task:
Step 1: Developer submits a Task-based application
--> Application Services receive the request
Step 2: Application Services invoke the Scheduling Service
--> Foundation Services determine the best available nodes
Step 3: Foundation Services query Fabric Services
--> Fabric Services report available nodes and their status
Step 4: Task is dispatched to the selected node
--> Fabric Services handle communication and execution
Step 5: Results are collected and returned to the user
--> Accounting Service records resource usage
Summary Table
| Layer | Services Provided | Purpose |
|---|---|---|
| Application Services | Thread, Task, MapReduce, Parameter Sweep | Programming models for developers |
| Foundation Services | Scheduling, Storage, Security, Accounting, Execution | Core platform management |
| Fabric Services | Node discovery, Resource monitoring, Connectivity | Hardware and infrastructure abstraction |
Conclusion
The three-layered architecture of Aneka -- Fabric Services, Foundation Services, and Application Services -- provides a clean, modular, and extensible design. This layered approach ensures that:
- The platform is portable across different infrastructures.
- Developers
Scientific applications
2081 · 5 marks
Describe the various scientific applications of cloud computing. [5]
2079 · 5 marks
Describe how cloud computing technology can be applied to support remote ECG monitoring as part of scientific application? [5]
AppEngine
2079 · 5 marks
How developers can use Google AppEngine for development and hosting services? [5]
Azures Platform
2080 · 5 marks
Explain the storage services provided by Windows Azure. [5]
2079 · 5 marks
Explain the various services provided under Azure platform? [5]
Business and Consumer applications
2080 · 5 marks
Mention how business and scientific applications can be benefited from cloud computing. [5]
Show solved answerHide answer
Benefits of Cloud Computing for Business and Scientific Applications
Business Applications
Cloud computing provides significant advantages for modern business organizations:
1. 24/7 Availability and Accessibility Every organization requires cloud business applications to grow their business and ensure services are available 24*7 to their users. Tools like Mailchimp, Salesforce, Slack, and PayPal demonstrate how businesses rely on cloud platforms for continuous operations.
2. Cost Effectiveness (Pay-Per-Use Model) Cloud computing services are offered on a pay-per-use or usage-based pricing model. Businesses are charged only based on their actual consumption of resources such as storage, bandwidth, or processing time. This eliminates the need for heavy upfront investment in hardware and infrastructure.
3. Scalable Business Operations Businesses can scale up hardware, storage, and other requirements according to time and need. During peak business periods (e.g., festive sales), resources can be increased instantly and reduced afterward, ensuring cost optimization.
4. Software and Application Access Businesses can utilize commercial software applications or develop and remotely host custom-built applications without maintaining local servers. This supports functions like marketing, customer relationship management (CRM), and payment processing.
5. Data Storage and Backup Cloud computing allows businesses to store information on the cloud and access it using the internet at any time. Services like Google Workspace, Box.com, and Mozy ensure data is backed up securely and is always accessible.
Scientific Applications
Cloud computing equally benefits research and scientific communities:
1. Access to High-End Computing Resources Cloud services provide access to advanced software applications and high-end networks of server computers. Scientists can perform complex computations (e.g., simulations, data modeling) without owning expensive supercomputers.
2. On-Demand Processing Power Scientists can demand processing power and storage according to their need without human intervention. Large-scale scientific experiments (e.g., genomics, climate modeling) that require massive computation can be run on-demand.
3. Virtual IT Infrastructure Cloud computing allows researchers to configure and utilize remote third-party servers as extensions to their local IT network. This means research institutions can run experiments remotely without physical infrastructure constraints.
4. Collaboration and Broad Network Access Cloud services are accessible over the internet from anywhere and from various devices. This enables global scientific collaboration, allowing researchers from different locations to share data, tools, and results in real time.
5. Network Storage for Research Data Scientists can backup or archive large volumes of research data across the internet to a provider without needing to know the physical location of storage. This is critical for managing big data generated in fields like astronomy, bioinformatics, and physics.
Summary Table
| Feature | Business Benefit | Scientific Benefit |
|---|---|---|
| Pay-per-use | Reduces IT costs | Affordable HPC access |
| Scalability | Handles business growth | Scales for large experiments |
| Storage | Data backup and CRM | Research data archiving |
| Accessibility | 24/7 service availability | Global collaboration |
| Virtual IT | Custom app hosting | Remote server usage |
In conclusion, cloud computing transforms both business and scientific domains by providing flexible, cost-effective, and powerful computing resources over the internet, eliminating the need for expensive local infrastructure.
Make Unit 6 stick
Practice CSC481 with flashcards & quizzes