UNIT-1 Notes (KCA 014)
UNIT-1 Notes (KCA 014)
There are the following operations that we can do using cloud computing:
Cloud Computing is on-demand access, via the internet, to computing resources and
applications like servers (physical servers and virtual servers), data storage,
development tools, and networking capabilities. These resources are hosted at a
remote data center managed by a cloud services provider (CSP). The CSP makes
these resources available for a subscription fee or bills them according to the pay-
per-use policy.
In that server room, there should be a database server, mail server, networking, firewalls,
routers, modem, switches, QPS (Query Per Second means how much queries or load will
be handled by the server), configurable system, high net speed, and the maintenance
engineers.
• During 1961, John MacCharty delivered his speech at MIT that “Computing
Can be sold as a Utility, like Water and Electricity.” According to John
MacCharty, it was a brilliant idea. But people at that time don’t want to adopt
this technology. They thought the technology they were using was efficient
enough for them. So, this concept of computing was not appreciated much,
and very less will research on it. But as time fleet technology caught the idea
after a few years this idea was implemented. So, this was implemented by
Salesforce.com in 1999.
• Distributed Systems:
It is a composition of multiple independent systems but all of them are depicted
as a single entity to the users. The purpose of distributed systems is to share
resources and also use them effectively and efficiently. Distributed systems
possess characteristics such as scalability, concurrency, continuous availability,
heterogeneity, and independence in failures. However, the main problem with
this system was that all the systems were required to be present at the same
geographical location. Thus, to solve this problem, distributed computing led to
three more types of computing and they were mainframe computing, cluster
computing, and grid computing.
• Mainframe computing:
Mainframes which first came into existence in 1951 are highly powerful and
reliable computing machines. These are responsible for handling large data
such as massive input-output operations. Even today these are used for bulk
processing tasks such as online transactions etc. These systems have almost
no downtime with high fault tolerance. After distributed computing, these
increased the processing capabilities of the system. But these were very
expensive. To reduce this cost, cluster computing came as an alternative to
mainframe technology.
• Cluster computing:
In 1980s, cluster computing came as an alternative to mainframe computing.
Each machine in the cluster was connected to each other by a network with
high bandwidth. These were way cheaper than those mainframe systems.
These were equally capable of high computations. Also, new nodes could
easily be added to the cluster if it was required. Thus, the problem of the cost
was solved to some extent but the problem related to geographical
restrictions still pertained. To solve this, the concept of grid computing was
introduced.
• Grid computing:
In 1990s, the concept of grid computing was introduced. It means that
different systems were placed at entirely different geographical locations
and these all were connected via the internet. These systems belonged to
different organizations and thus the grid consisted of heterogeneous nodes.
Although it solved some problems new problems emerged as the distance
between the nodes increased. The main problem that was encountered was
the low availability of high bandwidth connectivity and with it other network-
associated issues. Thus, cloud computing is often referred to as “Successor
of grid computing”.
• Virtualization:
It was introduced nearly 40 years back. It refers to the process of creating a
virtual layer over the hardware which allows the user to run multiple
instances simultaneously on the hardware. It is a key technology used in
cloud computing. It is the base on which major cloud computing services such
as Amazon EC2, VMware vCloud, etc work. Hardware virtualization is still
one of the most common types of virtualization.
• Web 2.0:
It is the interface through which the cloud computing services interact with
the clients. It is because of Web 2.0 that we have interactive and dynamic
web pages. It also increases flexibility among web pages. Popular examples
of web 2.0 include Google Maps, Facebook, Twitter, etc. Needless to say,
social media is possible because of this technology only. It gained major
popularity in 2004.
• Service orientation:
It acts as a reference model for cloud computing. It supports low-cost,
flexible, and evolvable applications. Two important concepts were
introduced in this computing model. These were Quality of Service (QoS)
which also includes the SLA (Service Level Agreement) and Software as a
Service (SaaS).
• Utility computing:
It is a computing model that defines service provisioning techniques for
services such as compute services along with other major services such as
storage, infrastructure, etc which are provisioned on a pay-per-use basis.
Once the data is stored in the cloud, it is easier to get back-up and restore that data
using the cloud.
2) Improved collaboration
3) Excellent accessibility
Cloud allows us to quickly and easily access and store information anywhere, anytime
in the whole world, using an internet connection. An internet cloud infrastructure
increases organization productivity and efficiency by ensuring that our data is always
accessible.
Cloud computing reduces both hardware and software maintenance costs for
organizations.
5) Mobility
Cloud computing allows us to easily access all cloud data via mobile.
Cloud computing offers Application Programming Interfaces (APIs) to the users for
accessing services on the cloud and pays the charges as per the usage of the service.
7) Unlimited storage capacity
Cloud offers us a huge amount of storage capacity for storing our important data such
as documents, images, audio, video, etc. in one place.
8) Data security
Data security is one of the biggest advantages of cloud computing. Cloud offers many advanced
features related to security and ensures that data is securely stored and handled.
1) Internet Connectivity
As you know, in cloud computing, every data (image, audio, video, etc.) is stored on the
cloud, and we access these data through the cloud by using an internet connection. If
you do not have good internet connectivity, you cannot access these data. However, we
have no any other way to access data from the cloud.
2) Vendor lock-in
Vendor lock-in is the biggest disadvantage of cloud computing. Organizations may face
problems when transferring their services from one vendor to another. As different
vendors provide different platforms, that can cause difficulty moving from one cloud to
another.
3) Limited Control
4) Security
Although cloud service providers implement the best security standards to store
important information. But, before adopting cloud technology, you should be aware that
you will be sending all your organization's sensitive information to a third party, i.e., a
cloud computing service provider. While sending the data on the cloud, there may be a
chance that your organization's information is hacked by Hackers.
Types of Cloud
• Public Cloud
• Private Cloud
• Hybrid Cloud
• Community Cloud
Public Cloud
Public cloud is open to all to store and access information via the Internet using the pay-
per-usage method.
In public cloud, computing resources are managed and operated by the Cloud Service
Provider (CSP). The CSP looks after the supporting infrastructure and ensures that the
resources are accessible to and scalable for the users.
Due to its open architecture, anyone with an internet connection may use the public
cloud, regardless of location or company size. Users can use the CSP's numerous
services, store their data, and run apps. By using a pay-per-usage strategy, customers
can be assured that they will only be charged for the resources they actually use, which
is a smart financial choice.
Example: Amazon elastic compute cloud (EC2), IBM SmartCloud Enterprise, Microsoft,
Google App Engine, Windows Azure Services Platform.
Characteristics of Public Cloud
The public cloud has the following key characteristics:
o Accessibility: Public cloud services are available to anyone with an internet connection.
Users can access their data and programs at any time and from anywhere.
o Shared Infrastructure: Several users share the infrastructure in public cloud settings.
Cost reductions and effective resource use are made possible by this.
o Scalability: By using the public cloud, users can easily adjust the resources they need
based on their requirements, allowing for quick scaling up or down.
o Pay-per-Usage: When using the public cloud, payment is based on usage, so users only
pay for the resources they actually use. This helps optimize costs and eliminates the need
for upfront investments.
o Managed by Service Providers: Cloud service providers manage and maintain public
cloud infrastructure. They handle hardware maintenance, software updates, and security
tasks, relieving users of these responsibilities.
o Reliability and Redundancy: Public cloud providers ensure high reliability by
implementing redundant systems and multiple data centers. By doing this, the
probability of losing data and experiencing service disruptions is reduced.
o Security Measures: Public cloud providers implement robust security measures to
protect user data. These include encryption, access controls, and regular security audits.
o Public cloud is owned at a lower cost than private and hybrid cloud.
o Public cloud is maintained by the cloud service provider, so there is no need to worry
about maintenance.
o Public cloud is easier to integrate. Hence it offers a better flexibility approach to
consumers.
o Public cloud is location independent because its services are delivered through the
internet.
o Public cloud is highly scalable as per the requirement of computing resources.
o It is accessible by the general public, so there is no limit to the number of users.
o Rapid deployment of services and applications.
o Reduced time and effort in hardware procurement and setup.
o The cloud provider offers a range of services and resources that you can avail of.
o Built-in redundancy and resilience for enhanced reliability.
Private Cloud
Private cloud is also known as an internal cloud or corporate cloud. It is used by
organizations to build and manage their own data centers internally or by a third party.
It can be deployed using Opensource tools such as Openstack and Eucalyptus.
Examples: VMware vSphere, OpenStack, Microsoft Azure Stack, Oracle Cloud at
Customer, and IBM Cloud Private.
Based on the location and management, National Institute of Standards and Technology
(NIST) divide private cloud into the following two parts-
o On-premise private cloud: An on-premise private cloud is situated within the physical
infrastructure of the organization. It involves setting up and running a specific data center
that offers cloud services just for internal usage by the company. The infrastructure is still
completely under the hands of the organization, which gives them the freedom to modify
and set it up in any way they see fit. Organizations can successfully manage security and
compliance issues with this degree of control. However, on-premise private cloud setup
and management necessitate significant hardware, software, and IT knowledge
expenditures.
o Outsourced private cloud: An outsourced private cloud involves partnering with a third-
party service provider to host and manage the cloud infrastructure on behalf of the
organization. The provider may operate the private cloud in their data center or a
colocation facility. In this arrangement, the organization benefits from the expertise and
resources of the service provider, alleviating the burden of infrastructure management.
The outsourced private cloud model offers scalability, as the provider can adjust
resources based on the organization's needs. Due to its flexibility, it is a desirable choice
for businesses that desire the advantages of a private cloud deployment without the
initial capital outlay and ongoing maintenance expenses involved with an on-premise
implementation.
Compared to public cloud options, both on-premise and external private clouds give
businesses more control over their data, apps, and security. Private clouds are
particularly suitable for organizations with strict compliance requirements, sensitive
data, or specialized workloads that demand high levels of customization and security.
o Exclusive Use: Private cloud is dedicated to a single organization, ensuring the resources
and services are tailored to its needs. It is like having a personal cloud environment
exclusively for that organization.
o Control and Security: Private cloud offers organizations higher control and security than
public cloud options. Organizations have more control over data governance, access
controls, and security measures.
o Customization and Flexibility: Private cloud allows organizations to customize the
infrastructure according to their specific requirements. They can configure resources,
networks, and storage to optimize performance and efficiency.
o Scalability and Resource Allocation: The private cloud can scale and allocate resources.
According to demand, businesses may scale up or down their infrastructure, effectively
using their resources.
o Performance and dependability: Private clouds give businesses more control over the
infrastructure at the foundation, improving performance and dependability.
o Compliance and Regulatory Requirements: Organizations may more easily fulfill certain
compliance and regulatory standards using the private cloud. It provides the freedom to
put in place strong security measures, follow data residency laws, and follow industry-
specific norms.
o Hybrid Cloud Integration: Private cloud can be integrated with public cloud services,
forming a hybrid cloud infrastructure. This integration allows organizations to leverage
the benefits of both private and public clouds.
Advantages of Private Cloud
There are the following advantages of the Private Cloud -
o Private cloud provides a high level of security and privacy to the users.
o Private cloud offers better performance with improved speed and space capacity.
o It allows the IT team to quickly allocate and deliver on-demand IT resources.
o The organization has full control over the cloud because it is managed by the organization
itself. So, there is no need for the organization to depends on anybody.
o It is suitable for organizations that require a separate cloud for their personal use and
data security is the first priority.
o Customizable to meet specific business needs and compliance regulations.
o Higher reliability and uptime compared to public cloud environments.
o Seamless integration with existing on-premises systems and applications.
o Better compliance and governance capabilities for industry-specific regulations.
o Enhanced flexibility in resource allocation and application deployment.
Hybrid Cloud
Hybrid Cloud is a combination of the public cloud and the private cloud. we can say:
Hybrid cloud is partially secure because the services which are running on the public
cloud can be accessed by anyone, while the services which are running on a private cloud
can be accessed only by the organization's users. In a hybrid cloud setup, organizations
can leverage the benefits of both public and private clouds to create a flexible and
scalable computing environment. The public cloud portion allows using cloud services
provided by third-party providers, accessible over the Internet.
Example: Google Application Suite (Gmail, Google Apps, and Google Drive), Office 365
(MS Office on the Web and One Drive), Amazon Web Services.
o Hybrid cloud is suitable for organizations that require more security than the public cloud.
o Hybrid cloud helps you to deliver new products and services more quickly.
o Hybrid cloud provides an excellent way to reduce the risk.
o Hybrid cloud offers flexible resources because of the public cloud and secure resources
because of the private cloud.
o Hybrid facilitates seamless integration between on-premises infrastructure and cloud
environments.
o Hybrid provides greater control over sensitive data and compliance requirements.
o Hybrid enables efficient workload distribution based on specific needs and performance
requirements.
o Hybrid offers cost optimization by allowing organizations to choose the most suitable
cloud platform for different workloads.
o Hybrid enhances business continuity and disaster recovery capabilities with private and
public cloud resources.
o Hybrid supports hybrid cloud architecture, allowing applications and data to be deployed
across multiple cloud environments based on their unique requirements.
In a community cloud setup, the participating organizations, which can be from the same
industry, government sector, or any other community, collaborate to establish a shared
cloud infrastructure. This infrastructure allows them to access shared services,
applications, and data relevant to their community.
o Community cloud is cost-effective because the whole cloud is being shared by several
organizations or communities.
o Community cloud is suitable for organizations that want to have a collaborative cloud
with more security features than the public cloud.
o It provides better security than the public cloud.
o It provdes collaborative and distributive environment.
o Community cloud allows us to share cloud resources, infrastructure, and other
capabilities among various organizations.
o Offers customization options to meet the unique needs and requirements of the
community.
o Simplifies compliance with industry-specific regulations and standards through shared
security measures.
o Provides scalability and flexibility, allowing organizations to scale resources based on
changing demands.
o Promotes efficient resource utilization, reducing wastage, and optimizing performance
within the community.
o Enables organizations to leverage shared expertise and experiences, leading to improved
decision-making and problem-solving.
Resources
are shared Resources are shared It is a combination of
Resources among with a single public and private clouds.
multiple organization based on the requirement.
customers
Data of
multiple Data is stored in the public
Data of a single
organizations cloud, and provides
Tenancy organization is stored
is stored in security in the public
in a public cloud
the public cloud.
cloud
Third-party
Operated Can be a combination of
service Specific organization
by both
provider
It has more
Scalability It has scalability and
scalability It has predictability
and flexibility by allowing
and and consistency
Flexibility organizations to use a
flexibility,
combination of public and
private cloud services.
The general
Restricted to a Can be a combination of
Availability public (over
specific organization both.
the internet)
o Front End
o 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.
1. Client Infrastructure
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.
Example: Amazon Web Services (AWS) EC2, Google Compute Engine (GCE), Cisco
Metapod.
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
8. Security
The Internet is a medium through which the front end and back end can interact and
communicate with each other.
Parallel Processing
• Processing multiple tasks simultaneously in multiple processors is called parallel
processing.
• Parallel program consists of multiple processes (tasks) simultaneously solving a
given problem.
• Divide-and-Conquer technique is used.
• Save time and money: More resources at a task will shorten its time for completion,
with potential cost savings.
• Provide concurrency: Single computing resources can only do one task at a time.
• Serial computing limits: Transmission speeds depend directly upon hardware.
Distributed Memory Architecture
Introduction to Eucalyptus
Eucalyptus is a Linux-based open-source software architecture for cloud
computing and also a storage platform that implements Infrastructure a Service
(IaaS). It provides quick and efficient computing services. Eucalyptus was
designed to provide services compatible with Amazon’s EC2 cloud and Simple
Storage Service(S3).
Components of Architecture
Nimbus
Nimbus is an open-source toolkit to convert a computer cluster into an
Infrastructure-as-a-Service cloud to provide compute cycles for scientific
communities. It allows a client to lease remote resources by deploying
virtual machines (VMs) on those resources and configuring them to
represent an environment desired by the user.
Components of Nimbus
A. Service Node
4. SSH ensures that data exchanges between the user and the cloud
infrastructure are encrypted and protected.
Open Nebula
OpenNebula is a powerful, but easy-to-use, open-source platform to build
and manage Enterprise Clouds. OpenNebula provides unified
management of IT infrastructure and applications, avoiding vendor lock-
in and reducing complexity, resource consumption, and operational costs.
Importance of OpenNebula
• Centralized Management gets a single interface to manage your private
cloud computing needs. You can also manage your infrastructure and
virtualization needs. You can create, manage, and track your
networks, storage, and virtual machines from anywhere. The
interface is user-friendly and intuitive. It allows you to manage your
infrastructure efficiently without extensive technical knowledge
• Scalability- OpenNebula is highly scalable. You can easily add or remove
resources to meet your changing needs. Depending on your requirements,
you can scale your infrastructure up or down without extra hardware or
software. OpenNebula also supports automatic resource allocation.
• Cost-Effectiveness- OpenNebula is an open-source platform, meaning it’s
free to use and distribute. Since you don’t need to pay for expensive licenses
or subscriptions, it is a cost-effective solution for businesses of all sizes.
• Flexibility- This flexibility allows you to select the ideal virtualization
technology for your needs. This, in turn, gets you free from vendor or
solution restrictions. OpenNebula also supports a range of storage backends.
CloudSim
CloudSim is an open-source framework, which is used to simulate cloud
computing infrastructure and services. It is developed by the CLOUDS Lab
organization and is written entirely in Java. It is used for modelling and
simulating a cloud computing environment as a means for evaluating a
hypothesis prior to software development in order to reproduce tests and
results.
Benefits of CloudSim