6 Cloud Platforms And Applications

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.

Cloud Platforms and Applications: notes

Web Services

A web service is a software system designed to support interoperable machine-to-machine interaction over a computer network and the World Wide Web, where a server listens on a given port for requests and serves content such as HTML, JSON, or XML back to a client. Web services are client-server applications that interact over HTTP, following a simple pattern: a service provider publishes a description of its service to a service broker, a service consumer searches that broker to find a service it needs, and the consumer then interacts directly with the provider to use the service. A web service must be accessible over the internet or an intranet, use a standardized communications protocol, describe itself using a standard language, and be discoverable through a simple lookup mechanism.

Web services share several defining characteristics: they are commonly XML-based, they are loosely coupled so that either side can change its internal implementation without breaking the other, they can be either synchronous or asynchronous, and they support both remote procedure calls and general document exchange. The benefits that follow from this are significant: web services reduce development time and simplify the infrastructure needed to integrate two systems, which helps realize a better return on investment; they give interoperability, letting an application written in one programming language communicate with an application written in a completely different one; they interact using ordinary internet technology rather than a proprietary transport; and they allow efficient distribution of functionality across a full business-to-business network where both sides understand how the interaction works.

Several standard protocols implement the web-service idea in different ways:

  • XML-RPC (Remote Procedure Call): the most fundamental XML-based protocol for exchanging data across a network, letting an application invoke a function or procedure on another machine. The client sends an XML request naming a procedure and its arguments over HTTP, and the server returns either a normal XML response or a fault, making the mechanism platform-independent.
  • UDDI (Universal Description, Discovery, and Integration): an XML-based, platform-independent, open standard used to describe, publish, and discover web services, acting as an online directory that businesses across the world can register services in and search to improve the efficiency of digital transactions and e-commerce. UDDI communicates using SOAP and uses WSDL to describe the interfaces of the services it lists.
  • SOAP (Simple Object Access Protocol): a W3C, XML-based protocol for exchanging structured data and documents over HTTP or SMTP. Because it is language independent, separate programs on different platforms can communicate through it using XML messages, and SOAP also uses WSDL (Web Services Description Language) documents to describe the services it exposes.
  • REST (Representational State Transfer): an architectural style, not a protocol, in which each unique URL represents a distinct resource. A RESTful web service communicates over HTTP using standard methods such as GET, POST, PUT, and DELETE, giving it a direct mapping onto basic create, read, update, and delete (CRUD) operations.

SOAP and REST are the two most commonly compared approaches:

AspectSOAPREST
What it isAn XML-based messaging protocolAn architectural style for distributed hypermedia systems, not a protocol
Bandwidth and resource useRequires more bandwidth and resourcesRequires less bandwidth and resources
PerformanceLower, comparativelyHigher, comparatively
Error handlingNo standardized built-in error handlingBuilt-in error handling through HTTP status codes
WeightHeavyweight XML protocolLightweight, scalable, and maintainable
CachingCannot be cachedCan be cached

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

ComponentRole
Node AgentRuns on each worker node; manages local resources
Resource MonitorTracks CPU, memory, and storage usage
Network FabricHandles 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 ModelDescription
Thread ModelAllows multi-threaded applications to be distributed across nodes using a familiar threading API
Task ModelSupports bag-of-tasks parallelism; independent tasks are submitted and scheduled across nodes
MapReduce ModelSupports data-intensive parallel processing using the Map and Reduce paradigm
Parameter SweepSupports 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

LayerServices ProvidedPurpose
Application ServicesThread, Task, MapReduce, Parameter SweepProgramming models for developers
Foundation ServicesScheduling, Storage, Security, Accounting, ExecutionCore platform management
Fabric ServicesNode discovery, Resource monitoring, ConnectivityHardware 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
Open this answer on its own page →

Scientific applications

2081 · 5 marks

Describe the various scientific applications of cloud computing. [5]

Cloud computing has become a powerful platform for scientific research and discovery due to its scalability, on-demand resources, and broad network access. The major scientific applications are described below: --- Cloud computing enables researchers to process and analyze massive genomic dataset...

Open this answer on its own page →

2079 · 5 marks

Describe how cloud computing technology can be applied to support remote ECG monitoring as part of scientific application? [5]

Cloud computing technology has found significant application in the healthcare domain, particularly in supporting scientists and doctors in developing preventive solutions for heart-related diseases. One of the most prominent examples is the use of cloud computing for remote ECG (Electrocardiogra...

Open this answer on its own page →

AppEngine

2080 · 5 marks

Discuss the core components of AppEngine. [5]

AppEngine (Google App Engine / GAE) is a cloud computing Platform as a Service (PaaS) that allows developers to create and run web applications on Google-managed data centers. It supports multiple languages including Go, PHP, Java, Python, Node.js, .NET, and Ruby. --- - AppEngine provides a manag...

Open this answer on its own page →

2079 · 5 marks

How developers can use Google AppEngine for development and hosting services? [5]

Google App Engine (GAE) is a Platform as a Service (PaaS) offering from Google that allows developers to build, test, deploy, and host web applications on Google's infrastructure without managing the underlying hardware or operating system. --- - GAE provides a browser-based development environme...

Open this answer on its own page →

Azures Platform

2080 · 5 marks

Explain the storage services provided by Windows Azure. [5]

Windows Azure (now known as Microsoft Azure Platform) is a public cloud computing platform developed by Microsoft that provides IaaS, PaaS, and SaaS solutions including storage, networking, analytics, and virtual computing. Azure offers a comprehensive set of storage services to meet diverse appl...

Open this answer on its own page →

2079 · 5 marks

Explain the various services provided under Azure platform? [5]

Microsoft Azure Platform (MAP), originally known as Windows Azure, is a public cloud computing platform developed by Microsoft. It provides solutions such as Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). These services can be used for analytic...

Open this answer on its own page →

Business and Consumer applications

2080 · 5 marks

Mention how business and scientific applications can be benefited from cloud computing. [5]

Show solved 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

FeatureBusiness BenefitScientific Benefit
Pay-per-useReduces IT costsAffordable HPC access
ScalabilityHandles business growthScales for large experiments
StorageData backup and CRMResearch data archiving
Accessibility24/7 service availabilityGlobal collaboration
Virtual ITCustom app hostingRemote 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.

Open this answer on its own page →