Cloud Computing Notes (UNIT-2)
Cloud Computing Notes (UNIT-2)
Leverages of Internet :
Here are some of the benefits and gains of leveraging cloud-based technologies and
solutions.
2. Optimization/Reduction in IT Cost:
With on-demand or pay-as-you-use (PAYU) billing model adopted by virtually all cloud
service providers, it will be cheaper, and more cost effective to use cloud-based
technologies than deploy such technologies on premise especially for SMEs who may not
have economies of scale to their advantage. This might be different for large corporations
with larger computer networks and high computing demands who can leverage on
economies of scale even though records have also shown that opting for cloud-based
solutions is cheaper and more beneficial than managing such service on premise.
For example, meteorologists use grid computing for weather modeling. Weather
modeling is a computation-intensive problem that requires complex data management
and analysis. Processing massive amounts of weather data on a single computer is slow
and time consuming. That’s why meteorologists run the analysis over geographically
dispersed grid computing infrastructure and combine the results.
Why is grid computing important?
Efficiency : With grid computing, you can break down an enormous, complex task
into multiple subtasks. Multiple computers can work on the subtasks concurrently,
making grid computing an efficient computational solution.
Cost : Grid computing works with existing hardware, which means you can reuse
existing computers. You can save costs while accessing your excess computational
resources. You can also cost-effectively access resources from the cloud.
Gaming: The gaming industry uses grid computing to provide additional computational
resources for game developers. The grid computing system splits large tasks, such as
creating in-game designs, and allocates them to multiple machines. This results in a faster
turnaround for the game developers.
Entertainment: Some movies have complex special effects that require a powerful
computer to create. The special effects designers use grid computing to speed up the
production timeline. They have grid-supported software that shares computational resources
to render the special-effect graphics.
Engineering: Engineers use grid computing to perform simulations, create models, and
analyze designs. They run specialized applications concurrently on multiple machines to
process massive amounts of data. For example, engineers use grid computing to reduce the
duration of a Monte Carlo simulation, a software process that uses past data to make future
predictions.
Data grid: A data grid is a grid computing network that connects to multiple
computers to provide large data storage capacity. You can access the stored data as if
on your local machine without having to worry about the physical location of your
data on the grid.
What is Virtualization?
Virtualization can be defined as a process that enables the creation of a virtual
version of a desktop, operating system, network resources, or server. Virtualization
plays a key and dominant role in cloud computing.
3. Server Virtualization.
4. Storage Virtualization.
1) Hardware Virtualization:
When the virtual machine software or virtual machine manager (VMM) is directly
installed on the hardware system is known as hardware virtualization.The main job of
hypervisor is to control and monitoring the processor, memory and other hardware
resources.After virtualization of hardware system we can install different operating
system on it and run different applications on those OS.
When the virtual machine software or virtual machine manager (VMM) is installed on the
Host operating system instead of directly on the hardware system is known as operating
system virtualization.
3) Server Virtualization:
When the virtual machine software or virtual machine manager (VMM) is directly
installed on the Server system is known as server virtualization.
4) Storage Virtualization:
Storage virtualization is the process of grouping the physical storage from multiple
network storage devices so that it looks like a single storage device.
Characteristics of Virtualization
Virtualization offers several features or characteristics as listed below: –
What is a hypervisor:
A hypervisor, also known as a virtual machine monitor or VMM. The hypervisor is a
piece of software that allows us to build and run virtual machines which are abbreviated
as VMs.
A hypervisor allows a single host computer to support multiple virtual machines (VMs)
by sharing resources including memory and processing.
Multitenancy is also a shared host where the same resources are divided among different
customers in cloud computing.
For Example :
The example of multitenancy is the same as working of Bank. Multiple people can store
money in the same Bank. But every customer asset is different. One customer cannot
access the other customer's money and account, and different customers are not aware of
each other's account balance and details, etc.
Advantages of Multitenancy :
● Customer's Cost of Physical Hardware System is reduced, and it reduces the usage
of physical devices and thus power consumption and cooling cost savings.
● Save Vendor's cost as it becomes difficult for a cloud vendor to provide separate
Physical Services to each individual.
Disadvantages of Multitenancy :
● Data is stored in third-party services, which reduces our data security and puts it
into vulnerable conditions.
3. Composite APIs –
It is a type of APIs that combines different data and services. The main
reason to use Composites APIs is to improve the performance and to speed
the execution process and improve the performance of the listeners in the
web interfaces.
4. Partner APIs –
It is a type of APIs in which a developer needs specific rights or licenses in
order to access. Partner APIs are not available to the public.
● Weather snippets –
In weather snippets, APIs are generally used to access a large set of
datasets to access the information of weather forecast which is very
helpful information in day-to-day life.
● Login –
In this functionality, APIs are widely used to log in via Google, Linked
In, Git Hub, Twitter and allow users to access the log-in portal by using
the API interface.
● Entertainment –
In this field, APIs are used to access and provide a huge set of databases
to access movies, web series, comedy, etc.E-commerce website –
In this, APIs provide the functionality like if you have purchase
something, and now you want to pay so, API provides interface like you
can pay using different bank debit cards, UPI(Unified Payments
Interface), credit card, wallet, etc.
● Gaming –
In gaming, it provides an interface like you can access the information of the
game, and you can connect to different users and play with
different-different users at the same time.
Cloud Service Models
Example: DigitalOcean, Linode, Amazon Web Services (AWS), Microsoft Azure, Google
Compute Engine (GCE), Rackspace, and Cisco Metacloud.
Characteristics of PaaS
Characteristics of SaaS
1. Frontend :
Frontend of the cloud architecture refers to the client side of cloud computing
system. Means it contains all the user interfaces and applications which are used by
the client to access the cloud computing services/resources. For example, use of a
web browser to access the cloud platform.
2. Backend :
Backend refers to the cloud itself which is used by the service provider. It contains
the resources as well as manages the resources and provides security mechanisms.
Along with this, it includes huge storage, virtual applications, virtual machines,
traffic control mechanisms, deployment models, etc.
1. Application –
Application in backend refers to a software or platform to which client
accesses. Means it provides the service in backend as per the client
requirement.
2. Service –
Service in backend refers to the major three types of cloud based services like SaaS, PaaS
and IaaS. Also manages which type of service the user accesses.
3. Runtime Cloud-
Runtime cloud in backend provides the execution and Runtime
platform/environment to the Virtual machine.
4. Storage –
Storage in backend provides flexible and scalable storage service and
management of stored data.
5. Infrastructure –
Cloud Infrastructure in backend refers to the hardware and software
components of cloud like it includes servers, storage, network devices,
virtualization software etc.
6. Management –
Management in backend refers to management of backend components like
application, service, runtime cloud, storage, infrastructure, and other security
mechanisms etc.
7. Security –
Security in backend refers to implementation of different security mechanisms in
the backend for secure cloud resources, systems, files, and infrastructure to
end-users.
8. Internet –
Internet connection acts as the medium or a bridge between frontend and backend
and establishes the interaction and communication between frontend and backend.
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.
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.
1. Shared infrastructure
3. Pay-as-per-use model
IaaS providers provide services based on the pay-as-per-use basis. The users are
required to pay for what they have used.
5. On-demand scalability
On-demand scalability is one of the biggest advantages of IaaS. Using IaaS, users
do not worry about to upgrade software and troubleshoot the issues related to
hardware components.
Disadvantages of IaaS cloud computing layer
Although IaaS service providers maintain the software, but they do not upgrade the
software for some organizations.
3. Interoperability issues:
It is difficult to migrate VM from one IaaS provider to the other, so the customers
might face problem related to vendor lock-in.
etc.
West Asia.
Rackspace Cloud servers, cloud The cloud computing platform vendor
hosting services.
Reliance Reliance Internet Data RIDC supports both traditional hosting and
1. Programming languages
PaaS providers provide various programming languages for the developers to develop
the applications. Some popular programming languages provided by PaaS providers are
Java, PHP, Ruby, Perl, and Go.
2. Application frameworks
PaaS providers provide application frameworks to easily understand the application
development. Some popular application frameworks provided by PaaS providers are
Node.js, Drupal, Joomla, WordPress, Spring, Play, Rack, and Zend.
3. Databases
PaaS providers provide various databases such as ClearDB, PostgreSQL, MongoDB, and
Redis to communicate with the applications.
4. Other tools
PaaS providers provide various other tools that are required to develop, test, and deploy
the applications.
Advantages of PaaS
There are the following advantages of PaaS -
1) Simplified Development
2) Lower risk
No need for up-front investment in hardware and software. Developers only need a
PC and an internet connection to start building applications.
3) Prebuilt business functionality
Some PaaS vendors also provide already defined business functionality so that
users can avoid building everything from very scratch and hence can directly start
the projects only.
4) Instant community
PaaS vendors frequently provide online communities where the developer can get
the ideas to share experiences and seek advice from others.
5) Scalability
Applications deployed can scale from one to thousands of users without any
changes to the applications.
1) Vendor lock-in
One has to write the applications according to the platform provided by the PaaS
vendor, so the migration of an application to another PaaS vendor would be a
problem.
2) Data Privacy
Corporate data, whether it can be critical or not, will be private, so if it is not
located within the walls of the company, there can be a risk in terms of privacy of
data.
It may happen that some applications are local, and some are in the cloud. So there
will be chances of increased complexity when we want to use data which in the
cloud with the local data.
Google App App Identity, URL Fetch, Cloud storage client library,
Engine (GAE) Logservice
Social Networks - As we all know, social networking sites are used by the
general public, so social networking service providers use SaaS for their
convenience and handle the general public's information.
Mail Services - To handle the unpredictable number of users and load on e-mail
services, many e-mail providers offering their services using SaaS.
Advantages of SaaS cloud computing layer
1) SaaS is easy to buy
SaaS pricing is based on a monthly fee or annual fee subscription, so it allows
organizations to access business functionality at a low cost, which is less than
licensed applications.
2. One to Many
SaaS services are offered as a one-to-many model means a single instance of the
application is shared by multiple users.
2) Latency issue
Since data and applications are stored in the cloud at a variable distance from the
end-user, there is a possibility that there may be greater latency when interacting
with the application compared to local deployment. Therefore, the SaaS model is
not suitable for applications whose demand response time is in milliseconds.
1.Public Cloud
The name says it all. It is accessible to the public. Public deployment models in the
cloud are perfect for organizations with growing and fluctuating demands. It also
makes a great choice for companies with low-security concerns. Thus, you pay a
cloud service provider for networking services, compute virtualization & storage
available on the public internet.
Benefits of Public Cloud
● No Hardware Setup - The cloud service providers fully fund the entire
Infrastructure
● Data Security and Privacy Concerns - Since it is accessible to all, it does not
fully protect against cyber-attacks and could lead to vulnerabilities.
● Reliability Issues - Since the same server network is open to a wide range of
users, it can lead to malfunction and outages
● Service/License Limitation - While there are many resources you can
exchange with tenants, there is a usage cap.
2. Private Cloud
Now that you understand what the public cloud could offer you, of course, you are
keen to know what a private cloud can do. Companies that look for cost efficiency
and greater control over data & resources will find the private cloud a more
suitable choice.
It means that it will be integrated with your data center and managed by your IT
team. Alternatively, you can also choose to host it externally.
● Data Privacy - It is ideal for storing corporate data where only authorized
personnel gets access
● Security - Segmentation of resources within the same Infrastructure can help
with better access and higher levels of security.
● Supports Legacy Systems - This model supports legacy systems that cannot
access the public cloud.
● Higher Cost - With the benefits you get, the investment will also be larger
than the public cloud. Here, you will pay for software, hardware, and
resources for staff and training.
● Fixed Scalability - The hardware you choose will accordingly help you scale
in a certain direction
3.Community Cloud
The community cloud operates in a way that is similar to the public cloud. There's
just one difference - it allows access to only a specific set of users who share
common objectives and use cases. This type of deployment model of cloud
computing is managed and hosted internally or by a third-party vendor. However,
you can also choose a combination of all three.
Benefits of Community Cloud
Let's understand the hybrid model better. A company with critical data will prefer
storing on a private cloud, while less sensitive data can be stored on a public cloud.
● Specific Use Case - This model makes more sense for organizations that
have multiple use cases or need to separate critical and sensitive data.