Cloud Computing
Cloud Computing
4
Cont….
Cloud computing is based on “elastic/flexible resources”:
Datacenter
It is collection of servers where
application is placed and is accessed
via internet.
Distributed servers
Often servers are in geographically
different places, but server acts as
if they are working next to each
other.
Central Server
ItAdministers the system such as monitoring
traffic, client demands to ensure everything
runs smoothly.
It
uses a special type of software called
Middleware.
Middleware allows computer to communicate
each other.
Service Models
Cloud Services Stack I
Software as a Service (SaaS)
SaaS model allows to use software applications as a
service to end users.
17
Deployment of Cloud
Service
Public Cloud
Private Cloud
Community Cloud
Hybrid Cloud(Combined Cloud)
PUBLIC CLOUD : The Public Cloud allows systems and services to be
easily accessible to the general public. Public cloud may be less secure
because of its openness, e.g., e-mail.
25
26
Cont….
The virtual machine contains all necessary elements to run the apps,
including:
Computing
Storage
Memory
Networking
Hardware functionality available as a virtualized system
The VM may also contain the necessary system libraries to run the
apps.
The actual operating system (OS), however, is managed and executed
using the hypervisor.
27
Types of Virtualization
Hardware Virtualization.
Operating system Virtualization.
Server Virtualization.
Storage Virtualization.
Data virtualization.
28
How does virtualization work in cloud computing?
29
CONTAINERS
30
What is a container?
Containers are a form of operating system virtualization.
A single container might be used to run anything from a small service or
software process to a larger application.
Inside a container are all the necessary executables, binary code, libraries, and
configuration files.
Containers are particularly useful in developing, deploying, and testing modern
distributed application and micro-services that can operate in isolated execution
environments on same host machines.
31
What is a container?
Containers share all necessary capabilities with the VM to operate as an
isolated OS environment for a modular application functionality with
one key difference.
A container engine is a managed environment for deploying
containerized applications.
The container engine allocates cores and memory to containers,
enforces security, and provides scalability by enabling the addition
of containers.
Using a containerization engine, such as the Docker Engine, containers
create several isolated OS environments within the same host system,
which can be shared with other containers dedicated to run different
functions of the app.
32
Virtualisation vs. Containers graph
Virtualisation via hypervisor: • Container uses Operating System-provided separation of
Slow (simulate hardware), “user space” (processes, RAM, file system):
Requires a virtual disk as file system for – Fast,
every instance (even if the same OS is used – Shares OS installation: No need for virtual disks
in all instances)
containing duplicates of OS.
Host hardware (CPU, RAM, Disk) Host hardware (CPU, RAM, Disk)
33