Ans 1.
Cloud Computing
Cloud computing is the on-demand availability of computing resources (such as storage and
infrastructure), as services over the internet. It eliminates the need for individuals and businesses
to self-manage physical resources themselves, and only pay for what they use.
The cloud computing model offers customers greater flexibility and scalability compared to
traditional on-premises infrastructure.
Cloud computing plays a pivotal role in our everyday lives, whether accessing a cloud
application like Google Gmail, streaming a movie on Netflix or playing a cloud-hosted video
game.
Cloud computing has also become indispensable in business settings, from small startups to
global enterprises. Its many business applications include enabling remote work by making data
and applications accessible from anywhere, creating the framework for seamless omnichannel
customer engagement and providing the vast computing power and other resources needed to
take advantage of cutting-edge technologies like generative AI and quantum computing.
A cloud services provider (CSP) manages cloud-based technology services hosted at a
remote data center and typically makes these resources available for a pay-as-you-go or monthly
subscription fee.
Features of Cloud computing:
1. Cost-effectiveness: Cloud computing lets you offload some or all of the
expense and effort of purchasing, installing, configuring and
managing mainframe computers and other on-premises infrastructure.
You pay only for cloud-based infrastructure and other computing
resources as you use them.
2. Increased speed and agility: With cloud computing, your organization can
use enterprise applications in minutes instead of waiting weeks or
months for IT to respond to a request, purchase and configure
supporting hardware and install software. This feature empowers users
—specifically DevOps and other development teams—to help leverage
cloud-based software and support infrastructure.
3. Unlimited scalability: Cloud computing provides elasticity and self-service
provisioning, so instead of purchasing excess capacity that sits unused
during slow periods, you can scale capacity up and down in response
to spikes and dips in traffic. You can also use your cloud provider’s
global network to spread your applications closer to users worldwide.
4. Enhanced strategic value: Cloud computing enables organizations to use
various technologies and the most up-to-date innovations to gain a
competitive edge. For instance, in retail, banking and other customer-
facing industries, generative AI-powered virtual assistants deployed
over the cloud can deliver better customer response time and free up
teams to focus on higher-level work. In manufacturing, teams can
collaborate and use cloud-based software to monitor real-time data
across logistics and supply chain processes.
Ans 2. Cloud Migration
Cloud migration is the process of moving applications and data from one location, often a
company's private, on-site ("on-premises") servers to a public cloud provider's servers, but also
between different clouds. The main cloud migration benefits include reducing IT costs and
improving performance, but there are security, convenience, and other advantages, too.
Types of cloud migration
Datacenter migration
Datacenter migration is the process of moving data from on-premises servers
and mainframes (often stored in a server room at an organization’s office), to a cloud provider's
servers, which are typically housed in very large, highly secure, and professionally maintained
buildings.
High-capacity networks are the most common way to move datacenter resources to the cloud,
but when a powerful network isn't available, the resources can still be migrated by first moving
them onto high-capacity disks and "data boxes" and then physically shipped to the cloud
provider and uploaded to their servers.
Hybrid cloud migration
Many organizations choose to leave some of their resources in their on-premises datacenter and
only move a portion of them to the cloud, creating a "hybrid cloud." Hybrid cloud benefits
include maximizing the value of existing on-premises datacenter equipment, as well as allowing
organizations in certain industries to meet industry and governmental compliance requirements.
Hybrid clouds are also useful for cloud to cloud backup, in which on-premises data is backed up
on a public cloud as a disaster recovery solution in the event that the on-premises datacenter
becomes inoperable, such as in the case of a fire, flood, or crime.
Cloud to cloud migration
This type of migration is useful when an organization wants to take advantage of different cloud
platforms' products, services, and pricing. While managing resources across multiple clouds
might seem difficult, it's possible to conveniently manage them all from a single place using
a central management tool.
Application, database, and mainframe migration
Linux, SAP, SQL Server, and Windows Server are some of the most commonly migrated
workloads. For mainframe migration, two of the most commonly used are IBM and Unisys.
Typical cloud migration benefits for these workloads include lower costs, faster and more
reliable performance, access to cloud-based developer tools and APIs, more robust security, and
the ability to increase or decrease capacity without needing to purchase, install, and maintain
new equipment.
While it's often possible to migrate these workloads without making changes to them (known as
a "lift and shift" migration), there are benefits to updating (or, "refactoring") them to optimize
their performance and reliability on the cloud.
Cloud Migration Challenges:
1. Lack of cloud migration strategy
2. Migration cost
3. Complex architecture
4. Data security and compliance risks
Ans 3. Public Cloud
o Public Cloud provides an ability to elastically re-size computer resources based on the
organization's requirements and a shared platform that is accessible to the general
public through an Internet connection and operated on the pay-as-per-use model and
administrated by the third party, i.e., Cloud service provider.
o In the Public cloud, the same storage is being used by multiple users at the same time and
it is owned, managed, and operated by businesses, universities, government
organizations, or a combination of them.
o Amazon Elastic Compute Cloud (EC2), Microsoft Azure, IBM's Blue Cloud, Sun Cloud,
and Google Cloud are examples of the public cloud.
o Public cloud has a lower cost than private, or hybrid cloud, as it shares the same
resources with a large number of consumers and it is location independent because its
services are offered through the internet.
o In Public cloud, the cloud service provider is responsible for the manage and maintain
data centers in which data is stored, so the cloud user can save their time to establish
connectivity, deploying new products, release product updates, configure, and assemble
servers.
Private Cloud
Private cloud is also known as an internal cloud or corporate cloud.
Private cloud provides computing services to a private internal network (within the
organization) and selected users instead of the general public.
Private cloud provides a high level of security and privacy to data through firewalls and
internal hosting. It also ensures that operational and sensitive data are not accessible to
third-party providers.
HP Data Centers, Microsoft, Elastra-private cloud, and Ubuntu are the example of a
private cloud.
Private clouds have more control over their resources and hardware than public clouds
because it is only accessed by selected users and offers better performance with improved
speed and space capacity.
Private cloud improved the security level as compared to the public cloud.
Hybrid Cloud
Hybrid cloud is a combination of public and private clouds.
Hybrid cloud = public cloud + private cloud
The main aim to combine these clouds (Public and Private) is to create a unified,
automated, and well-managed computing environment.
In the Hybrid cloud, non-critical activities are performed by the public
cloud and critical activities are performed by the private cloud. Mainly, a hybrid cloud
is used in finance, healthcare, and Universities.
Hybrid cloud is secure because critical activities are performed by the private cloud. The
best hybrid cloud provider companies are Amazon, Microsoft, Google,
Cisco, and NetApp.
It provides flexible resources because of the public cloud and secure resources because of
the private cloud.
Hybrid cloud costs less than the private cloud. It helps organizations to save costs for
both infrastructure and application support and offers the features of both the public as
well as the private cloud. A hybrid cloud is capable of adapting to the demands that each
company needs for space, memory, and system.
Ans 4 . Cloud Service
Cloud services are application and infrastructure resources that exist on the Internet. Third-party
providers contract with subscribers for these services, allowing customers to leverage powerful
computing resources without having to purchase or maintain hardware and software.
Iaas is also known as Hardware as a Service (HaaS). It is one of the layers of the cloud
computing platform. It allows customers to outsource their IT infrastructures such as servers,
networking, processing, storage, virtual machines, and other resources. Customers access these
resources on the Internet using a pay-as-per use model. It provides following services:
i. Compute
ii. Storage
iii. Network
iv. Load Balancers
In traditional hosting services, IT infrastructure was rented out for a specific period of time, with
pre-determined hardware configuration. The client paid for the configuration and time,
regardless of the actual use. With the help of the IaaS cloud computing platform layer, clients
can dynamically scale the configuration to meet changing requirements and are billed only for
the services actually used. IaaS cloud computing platform layer eliminates the need for every
organization to maintain the IT infrastructure.
Ans 5. Cloud Architecture
Cloud computing technology is used by both small and large organizations to store the
information in cloud and access it from anywhere at anytime using the internet connection.
Cloud computing architecture is a combination of service-oriented architecture and event-
driven architecture. Cloud computing architecture is divided into the following two parts –
Front End
Back End
Front End: The front end is used by the client. It contains client-side interfaces and applications
that are required to access the cloud computing platforms. The front end includes web servers
(including Chrome, Firefox, internet explorer, etc.), thin & fat clients, tablets, and mobile
devices.
Back End: The back end is used by the service provider. It manages all the resources that are
required to provide cloud computing services. It includes a huge amount of data storage, security
mechanism, virtual machines, deploying models, servers, traffic control mechanisms, etc.
Components of Cloud Computing Architecture
1. Client Infrastructure: Client Infrastructure is a Front end component. It provides GUI
(Graphical User Interface) to interact with the cloud.
2. Application: The application may be any software or platform that a client wants to access.
3. Service: A Cloud Services manages that which type of service you access according to the
client’s requirement.
4. Runtime Cloud: Runtime Cloud provides the execution and runtime environment to the
virtual machines.
5. Storage: Storage is one of the most important components of cloud computing. It provides a
huge amount of storage capacity in the cloud to store and manage data.
6. Infrastructure: It provides services on the host level, application level, and network level.
Cloud infrastructure includes hardware and software components such as servers, storage,
network devices, virtualization software, and other storage resources that are needed to support
the cloud computing model.
7. Management: Management is used to manage components such as application, service,
runtime cloud, storage, infrastructure, and other security issues in the backend and establish
coordination between them.
8. Security: Security is an in-built back end component of cloud computing. It implements a
security mechanism in the back end.
9. Internet: The Internet is medium through which front end and back end can interact and
communicate with each other.
Cloud architecture differs from traditional hosting in the following respects:
In cloud architecture, the server hardware is provided, which is maintained by the service
provider.
In cloud architecture the user pays for all the services used.
In cloud architecture, the user does not feel the need to buy any new hardware.
Users can scale up their resources based on their business needs with just a few clicks without
any physical effort, unlike traditional posting on cloud architectures.
The demand for user hardware according to their need in cloud architecture.
The resources can be easily scaled up in the cloud architecture as per the demand.
Ans 6 . Security and Ethical Issues in Cloud Migration
API vulnerabilities: application programming interfaces (APIs) act as communication
channels between environments. APIs must be secured at all stages of the cloud
migration process.
Blind spots: moving to the cloud means giving up control of some aspects of your
operation. Before migrating, check what security your cloud provider offers and how to
complement it with third-party security solutions.
Compliance requirements: ensure that your target cloud environment supports the
required compliance standards. This includes compliance certifications by the cloud
provider and procedures carried out by the organization to ensure cloud workloads, data
and access are secure. All these can and will be audited as part of compliance
requirements.
Uncontrolled growth: cloud migration is not a one-time process. After migrating
applications to the cloud, the organization will likely add more resources, consume new
cloud services and add more applications. It is very common to start using additional
SaaS applications once they are already running in the cloud. These new services and
applications must be properly secured, creating a major operational challenge.
Data loss: cloud migration involves data transfer. It is essential to ensure that data is
backed up in case of errors in the migration process. All data transfer occurs over
encrypted channels, with careful management of encryption keys.
Ans 7 .
a) Ubiquitous Cloud
Pervasive Computing is also called as Ubiquitous computing, and it is the new trend toward
embedding everyday objects with microprocessors so that they can communicate information. It
refers to the presence of computers in common objects found all around us so that people are
unaware of their presence. All these devices communicate with each other over wireless
networks without the interaction of the user.
Pervasive computing will provide us with small portable personal assistant devices having high
speed, wireless communication, lower power consumption rate, data storage in persistent
memory, coin sized disk device, small color display video and speech processing technology.
All these features will give the users freedom to effectively communicate and access
information from any place in the world at any time.
Applications are Retail, Airlines booking and check-in, Sales force automation, Healthcare,
Tracking, Car information System, Email access via WAP (Wireless Application Protocol) and
voice.
b) Virtualization
Virtualization is a technique of how to separate a service from the underlying physical delivery
of that service. It is the process of creating a virtual version of something like computer
hardware. It was initially developed during the mainframe era. It involves using specialized
software to create a virtual or software-created version of a computing resource rather than the
actual version of the same resource. With the help of Virtualization, multiple operating systems
and applications can run on the same machine and its same hardware at the same time,
increasing the utilization and flexibility of hardware.
Virtualization allows sharing of a single physical instance of a resource or an application among
multiple customers and organizations at one time. It does this by assigning a logical name to
physical storage and providing a pointer to that physical resource on demand.
Benefits are:
More flexible and efficient allocation of resources.
Enhance development productivity.
It lowers the cost of IT infrastructure.
Remote access and rapid scalability.
High availability and disaster recovery.
Pay peruse of the IT infrastructure on demand.
Enables running multiple operating systems
Types:
1. Application Virtualization
2. Network Virtualization
3. Desktop Virtualization
4. Storage Virtualization
5. Server Virtualization
6. Data virtualization
c) Hadoop
Hadoop is an open source software programming framework for storing a large amount of data
and performing the computation. Its framework is based on Java programming with some native
code in C and shell scripts.
Hadoop is an open-source software framework that is used for storing and processing large
amounts of data in a distributed computing environment. It is designed to handle big data and is
based on the MapReduce programming model, which allows for the parallel processing of large
datasets.
Hadoop components:
HDFS (Hadoop Distributed File System): This is the storage component of Hadoop, which
allows for the storage of large amounts of data across multiple machines. It is designed to
work with commodity hardware, which makes it cost-effective.
YARN (Yet Another Resource Negotiator): This is the resource management component of
Hadoop, which manages the allocation of resources (such as CPU and memory) for
processing the data stored in HDFS.
Hadoop also includes several additional modules that provide additional functionality, such
as Hive (a SQL-like query language), Pig (a high-level platform for creating MapReduce
programs), and HBase (a non-relational, distributed database).
Hadoop is commonly used in big data scenarios such as data warehousing, business
intelligence, and machine learning. It’s also used for data processing, data analysis, and data
mining. It enables the distributed processing of large data sets across clusters of computers
using a simple programming model.
Features of Hadoop:
1. It is fault tolerance.
2. It is highly available.
3. Its programming is easy.
4. It have huge flexible storage.
5. It is low cost.
Some common frameworks of Hadoop
1. Hive- It uses HiveQl for data structuring and for writing complicated MapReduce in HDFS.
2. Drill- It consists of user-defined functions and is used for data exploration.
3. Storm- It allows real-time processing and streaming of data.
4. Spark- It contains a Machine Learning Library(MLlib) for providing enhanced machine
learning and is widely used for data processing. It also supports Java, Python, and Scala.
5. Pig- It has Pig Latin, a SQL-Like language and performs data transformation of unstructured
data.
6. Tez- It reduces the complexities of Hive and Pig and helps in the running of their codes
faster.
d) Internet of Things
The internet of things, or IoT, is a network of interrelated devices that connect and exchange data
with other IoT devices and the cloud. IoT devices are typically embedded with technology such
as sensors and software and can include mechanical and digital machines and consumer objects.
Increasingly, organizations in a variety of industries are using IoT to operate more efficiently,
deliver enhanced customer service, improve decision-making and increase the value of the
business. With IoT, data is transferable over a network without requiring human-to-human or
human-to-computer interactions. A “thing” in the internet of things can be a person with a heart
monitor implant, a farm animal with a biochip transponder, an automobile that has built-in
sensors to alert the driver when tire pressure is low, or any other natural or man-made object that
can be assigned an Internet Protocol address and is able to transfer data over a network.
e) Google App Engine
GAE as a service that provides cloud computing and a scalable environment that allows for the
hosting and building of applications. With Google App Engine, you have a guarantee of security.
It also offers a vast array of services that makes it easy to develop high-performance and scalable
online applications. Since Google has an extensive and efficient infrastructure, GAE can help
you scale the dynamic digital environment that comes with the changing times. Working with
GAE is effortless since it allows the developers to manage infrastructure.
Features of GAE:
1. Support for various development tools and languages
2. Fully managed
3. Pay-as-you-go
4. Security services and effective diagnostics
5. Traffic splitting
Advantages of GAE:
a) File API, XXMP API, Channel API, Memcache API, User API, Fetch API, URL
b) Google Cloud endpoint
c) Page speed services
d) SSL support
e) Cloud storage
f) Blobstore, server large data objects
g) Access to app logs
h) Increase scalability
i) Improved savings
j) 24 X 7 services
k) Smart Pricing
f) MapReduce
MapReduce is a programming paradigm that enables massive scalability across hundreds or
thousands of servers in a Hadoop cluster. As the processing component, MapReduce is the heart
of Apache Hadoop.
The term "MapReduce" refers to two separate and distinct tasks that Hadoop programs perform.
The first is the map job, which takes a set of data and converts it into another set of data, where
individual elements are broken down into tuples (key/value pairs).
The reduce job takes the output from a map as input and combines those data tuples into a
smaller set of tuples. As the sequence of the name MapReduce implies, the reduce job is always
performed after the map job.
MapReduce programming offers several benefits:
a) Scalability: Businesses can process petabytes of data stored in the Hadoop Distributed
File System (HDFS).
b) Flexibility: Hadoop enables easier access to multiple sources of data and multiple types
of data.
c) Speed: With parallel processing and minimal data movement, Hadoop offers fast
processing of massive amounts of data.
d) Simple: Developers can write code in a choice of languages, including Java, C++ and
Python.
Components of MapReduce Architecture:
1. Client: The MapReduce client is the one who brings the Job to the MapReduce for
processing. There can be multiple clients available that continuously send jobs for
processing to the Hadoop MapReduce Manager.
2. Job: The MapReduce Job is the actual work that the client wanted to do which is
comprised of so many smaller tasks that the client wants to process or execute.
3. Hadoop MapReduce Master: It divides the particular job into subsequent job-parts.
4. Job-Parts: The task or sub-jobs that are obtained after dividing the main job. The result of
all the job-parts combined to produce the final output.
5. Input Data: The data set that is fed to the MapReduce for processing.
6. Output Data: The final result is obtained after the processing.
The MapReduce task is mainly divided into 2 phases i.e. Map phase and Reduce phase.
1. Map: As the name suggests its main use is to map the input data in key-value pairs. The
input to the map may be a key-value pair where the key can be the id of some kind of
address and value is the actual value that it keeps. The Map() function will be executed in
its memory repository on each of these input key-value pairs and generates the intermediate
key-value pair which works as input for the Reducer or Reduce() function.
2. Reduce: The intermediate key-value pairs that work as input for Reducer are shuffled and
sort and send to the Reduce() function. Reducer aggregate or group the data based on its
key-value pair as per the reducer algorithm written by the developer.
3. Job History Server