CloudComputing Unit5
CloudComputing Unit5
Services might aggregate information and data retrieved from other services or
create workflows of services to satisfy the request of a given service consumer.
This practice is known as service orchestration Another important interaction
pattern is service choreography, which is the coordinated interaction of services
without a single point of control.
Components of
SOA:
Multidimensional OLAP
MOLAP uses array-based multidimensional storage engines for multidimensional views
of data. With multidimensional data stores, the storage utilization may be low if the data
set is sparse. Therefore, many OLAP servers use two levels of data storage
representation to handle dense and sparse data sets.
Hybrid OLAP
Hybrid OLAP is a combination of both ROLAP and MOLAP. It offers higher scalability of
ROLAP and faster computation of MOLAP. HOLAP servers allow the storage of large
data volumes of detailed information. The aggregations are stored separately in the
MOLAP store.
OLAP Operations
Since OLAP servers are based on a multidimensional view of data, we will discuss
OLAP operations in multidimensional data.
Here is the list of OLAP operations
● Roll-up
● Drill-down
● Slice and dice
● Pivot (rotate)
Roll-up
Roll-up performs aggregation on a data cube in any of the following ways
● On rolling up, the data is aggregated by ascending the location hierarchy from the
level of city to the level of country.
● The data is grouped into cities rather than countries.
● When roll-up is performed, one or more dimensions from the data cube are
removed.
Drill-down
Drill-down is the reverse operation of roll-up. It is performed by either of the following ways
● On drilling down, the time dimension is descended from the level of quarter to the
level of month.
● When drill-down is performed, one or more dimensions from the data cube are
added.
● It navigates the data from less detailed data to highly detailed data.
Slice
The slice operation selects one particular dimension from a given cube and provides a
new sub-cube. Consider the following diagram that shows how slice works.
● Here Slice is performed for the dimension "time" using the criterion time = "Q1".
● It will form a new sub-cube by selecting one or more dimensions.
Dice
Dice selects two or more dimensions from a given cube and provides a new sub-cube.
Consider the following diagram that shows the dice operation.
The dice operation on the cube based on the following selection criteria involves three
dimensions.
Mobile cloud computing (MCC) is the method of using cloud technology to deliver
mobile apps. Complex mobile apps today perform tasks such as authentication,
location-aware functions, and providing targeted content and communication for end
users. Hence, they require extensive computational resources such as data storage
capacity, memory, and processing power. Mobile cloud computing takes the pressure
off mobile devices by harnessing the power of cloud infrastructure. Developers build
and update rich mobile apps using cloud services and then deploy them for remote
access from any device. These cloud-based mobile apps use cloud technology to store
and process data so that the app is usable on all types of old and new mobile devices.
In this technology, data processing, and data storage happen outside of mobile
devices. Mobile Cloud Computing applications leverage this IT architecture to
generate the following advantages:
1. Extended battery life.
2. Improvement in data storage capacity and processing power.
3. Improved synchronization of data due to “store in one place, accessible from
anywhere ” platform theme.
4. Improved reliability and scalability.
5. Ease of integration.
Real-time analytics
Cloud apps store data centrally on the same cloud infrastructure. The backend cloud
services can integrate multiple data points quickly, and communicate with several other
applications to provide accurate real-time analytics. Users can securely collect and
integrate data from various sources. Internet of Things (IoT) also enables cloud
connected, real-time experiences and communications in mobile apps.
Improved user experience
As long as they have a strong internet connection, mobile cloud application users can
enjoy a seamless application experience across platforms and devices such as
desktops, mobiles, and tablets. They can access rich computational resources not
present on their device. If the device is lost or stolen, their data remains backed up to
cloud data storage, and they can recover it quickly.
Cost efficiency
Cloud providers offer a pay-as-you-go model so that you pay only for the cloud-based
resources that you actually use. This makes it less costly than purchasing and
maintaining your on-premises servers. Additionally, if the cloud apps are for internal
use, your organization can permit employees to install the mobile apps on their own
devices. They do not have to purchase specific device configurations for all employees.
The following diagram shows the framework for mobile cloud computing architecture:
There are two types of applications of mobile cloud computing (MCC) that are
almost similar. These are as follows:
1. Mobile Cloud application: It is defined as a model where
processing is done in the cloud, and the storage is also in the cloud,
and the presentation platform is the mobile device. For this, the
internet connection should have to reliable and cell-phone to run a
browser. It enables to use the smartphone with cloud technology
with the following characteristics :
2. Mobile Web Services: In Mobile Web Services mobile devices consume more
network traffic. It may lead to some challenges for web services such as
mismatch of resolution and details of desktop computers. The device needs to
know about that service and the way it can be accessed to use any web-service
so that the mobile device can transmit specific information about the condition of
the device and the user. Enabling Mobile Web Services are as follows:
1. Enables web-service systems with web services.
2. Enables in-built external services.
3. Enable the rest protocol.
4. Enables XML-RPC protocols.
5. Enables the capabilities to authenticate user roles.
1. Low bandwidth: This is one of the big issues in mobile cloud computing.
Mobile cloud use radio waves which are limited as compared to wired
networks. Available wavelength is distributed in different mobile devices.
Therefore, it has been three times slower in accessing speed as compared to
a wired network.
2. Security and Privacy: It is difficult to identify ad manage threats on mobile
devices as compared to desktop devices because in a wireless network there
are more chances of the absence of the information from the network.
3. Service Availability: Users often find complaints like a breakdown of the
network, transportation crowding, out of coverage, etc. Sometimes customers
get a low-frequency signal, which affects the access speed and storage
facility.
4. Alteration of Networks: Mobile cloud computing is used in a different
operating system driven platforms like Apple iOS, Android, and Windows
Phone. So it has to be compatible with different platforms. The performance of
different mobile platform network is managed by the IRNA (Intelligent Radio
Network Access) technique.
5. Limited Energy source: Mobile devices consume more energy and are less
powerful. Mobile cloud computing increases battery usage of mobile devices
which becomes an important issue. Devices should have a long-life battery to
access applications and other operations. When the size of the altered code is
small, the offloading consumes more energy than local processing.
Sky computing
We’re about to transition from the cloud computing era to the sky computing era. As the name
suggests, sky computing is a layer above cloud platforms — and its goal is to enable
interoperability between clouds. If you think that sounds like the current industry
buzzword, multicloud, you’re on the right track.
In 2021, there isn’t one single underlying cloud platform with a set of open
standards that anyone can use. Instead, cloud computing has evolved into a series
of proprietary platforms that are largely incompatible with each other: Amazon
Web Services (AWS), Microsoft Azure, Google Cloud, and others. The new paper
by Stoica and Shenker lays out a vision for “a more commoditized version of cloud
computing, which we call the Sky computing.”
In essence, sky computing is about enabling multicloud application
development.
In essence then, this is about enabling multicloud application development. “To
fulfil the vision of utility computing, applications should be able to run on any cloud
provider (i.e., write-once, run-anywhere),”
Sky computing is made up of three layers: compatibility, intercloud, and
peering.
The compatibility layer will enable an application developer to easily pick up and
move their app from (for example) AWS to Google Cloud. Where multicloud
comes in is with the intercloud layer, as it will allow applications to run across
multiple cloud providers — depending on user needs. Here’s how Stoica explained
it:
“The intercloud layer is going one level up [from the compatibility layer]. Ideally,
with the intercloud layer you specify the preferences for your job — say I want to
minimize costs, or minimize time, or I need to process this data locally — and the
intercloud layer will decide where to run your job to satisfy these preferences.”
Eucalyptus
Eucalyptus is a paid and open-source computer software for building Amazon Web
Services (AWS)-compatible private and hybrid cloud computing environments, originally
developed by the company Eucalyptus Systems. Eucalyptus is an acronym for Elastic
Utility Computing Architecture for Linking Your Programs To Useful Systems.Eucalyptus
enables pooling compute, storage, and network resources that can be dynamically
scaled up or down as application workloads change. Eucalyptus was acquired
by Hewlett-Packard and then maintained by DXC Technology. After DXC stopped
developing the product in late 2017, AppScale Systems forked the code and started
supporting Eucalyptus customers.
Eucalyptus architecture
Eucalyptus CLIs can oversee both Amazon Web Services and their own private
occasions. Clients can undoubtedly relocate cases from Eucalyptus to Amazon Elastic
Cloud. Network, storage, and compute are overseen by the virtualisation layer.
Occurrences are isolated by hardware virtualisation. The following wording is utilised
by Eucalyptus architecture in cloud computing.
1. Images: Any software application, configuration, module software or framework
software packaged and conveyed in the Eucalyptus cloud is known as a Eucalyptus
Machine Image.
2. Instances: When we run the picture and utilise it, it turns into an instance.
3. Networking: The Eucalyptus network is partitioned into three modes: Static mode,
System mode, and Managed mode.
4. Access control: It is utilised to give limitation to clients.
5. Eucalyptus elastic block storage: It gives block-level storage volumes to connect
to an instance.
6. Auto-scaling and load adjusting: It is utilised to make or obliterate cases or
administrations dependent on necessities.
An Introduction to OpenNebula
OpenNebula is a simple, feature-rich and flexible solution for the management of
virtualised data centres. It enables private, public and hybrid clouds. Here are a few
facts about this solution.
OpenNebula is an open source cloud middleware solution that manages heterogeneous
distributed data centre infrastructures. It is designed to be a simple but feature-rich,
production-ready, customisable solution to build and manage enterprise clouds—simple
to install, update and operate by the administrators; and simple to use by end users.
OpenNebula combines existing virtualisation technologies with advanced features for
multi-tenancy, automated provisioning and elasticity. A built-in virtual network manager
maps virtual networks to physical networks. Distributions such as Ubuntu and Red Hat
Enterprise Linux have already integrated OpenNebula. As you’ll learn in this article, you
can set up OpenNebula by installing a few packages and performing some cursory
configurations. OpenNebula supports Xen, KVM and VMware hypervisors.
The OpenNebula deployment model
● It hosts the virtual machine repository and also runs a transfer service to
manage the transfer of virtual machine images to the concerned worker
nodes.
● Finally, the front-end allows you to add new machines to your cluster.
Worker node: The other machines in the cluster, known as ‘worker nodes’,
provide raw computing power for processing the jobs submitted to the cluster.
The worker nodes in an OpenNebula cluster are machines that deploy a
virtualisation hypervisor, such as VMware, Xen or KVM.
Apache VCL
VCL stands for Virtual Computing Lab. It is a free & open-source cloud computing
platform with the primary goal of delivering dedicated, custom compute environments to
users.
The compute environments can range from something as simple as a virtual machine
running productivity software to a cluster of powerful physical servers running complex
HPC simulations.
VCL supports provisioning several different types of compute resources including
physical bare-metal machines, virtual machines hosted on several different hypervisors,
and traditional computing lab computers you would normally find on a university
campus.
The user interface consists of a self-service web portal. Using the portal, users select
from a list of customized environments and make reservations.