Cloud Demo
Cloud Demo
Benefits Of Virtualization
• It saves space as well as operating cost.
• Easy management of the data centers.
• It can increase the Productivity of IT.
• It helps to continue working if the system crashes or any sudden failures.
• Applications and resources are provided more quickly while using
virtualization.
Hardware Virtualization
Hardware Virtualization is the state in which virtual machine software is directly
installed on the hardware. It is used for server platforms to control virtual
machines. You can use different OS and application on top of hardware
virtualization.
Server Virtualization
Server Virtualization is the state in which virtual machine software is directly
installed on the server. It is used in server balancing to balance the load.
Storage Virtualization
Storage Virtualization is the state in which grouping of physical storage is done for
multiple network storage devices to maintain a single storage device. It is mainly
used for backup and recovery purposes
What is Docker?
Docker is a set of platforms as a service product that use OS-level virtualization to
deliver software in packages called containers. Containers are isolated from one
another and bundle their own software, libraries and configuration files; they can
communicate with each other through well-defined channels
Docker Architecture
1. Server: The server is the docker daemon called dockerd which can manage
and create Docker containers, images, networks, etc
2. Rest API: Rest API controls docker daemon on its processes
3. CLI: Command Line Interface is a user interface that is used to input
commands in the docker
Docker Client: Users of Docker can communicate with Docker via the host. If any
docker command runs, the host moves them to docker daemon, which takes them
out. API of docker is handled by commands from the docker. Docker client can
enable to interact with multiple instances.
Docker Registries: Docker hub is the storage place for Docker images of a public
registry. It can either used as a private docker registry or a public docker registry.
Clients can also create and execute their own private registry
Docker Objects
Images:- Images of the docker are in read-only standard with commands to design
a new docker container. Image of docker can be retrieved from a hub of docker
and utilized. It can add extra steps to the last image and design a modified docker
image. A Client can create his docker images by using a docker file. The first step is
to make a container that creates a docker file and with required instruction
creates own docker image. Docker image, an underneath layer is read-only, and
the first layer can be written. A client can edit and modify only the top layer of a
docker image.
Containers:- Docker container is created after running a docker image. All the
instances and applications run inside the container. A client can use Docker API to
delete, start or stop the container.
This is a sample command to execute a docker container:
docker run -i -t ubuntu /bin/bash
Volumes:- The present data executed by docker is utilized by Docker containers
and saved in Volumes. The entire system is controlled through API if the docker.
Volumes applied on both Linux and Windows platforms. Instead, to edit
information in an editable layer of container, it is better to utilize volumes for
writing Volume’s content is present outside the container, so it doesn’t affect the
container’s size and properties
The network drivers in docker: The bridge is the fixed network driver for a
container. clients occupy this network for applications running on self-supporting
containers, i.e. many containers interacting with common docker hosts. The host is
a driver eliminates the network segregation between docker containers and
docker host.
Overlay: The network renders team services to interact with others. This is applied
only if the container is executing on multiple Docker guest or team services
generated by many applications. A driver disconnects all the networking is called
as a None driver
Macvlan: The driver assigns a unique address in MAC to all containers to resemble
them like hardware systems. They control the traffic in between containers with
their MAC addresses. The network is enabled if needed. for example, when the
migration of virtual machine setup.
Community Edition Docker is a free Docker platform and is mostly suited for
individual developers and small organizations,
Steps to Install Docker CE on Linux
Docker is one of the most popular tools for pen testers, as well as Ethical hackers.
This tool acts as a container for running tools without installing them. I will show
you the easiest way to install Docker on Kali Linux and get it running in less than 5
minutes.
To Create Container
or to stoped container
we use -d = detach
# docker container run -d ubuntu sleep 30
time = how much time u went to run this container
ctrl + p + q
To Remove All Container At One Time
#docker container ls -a
#docker container ls -aq
# docker container rm $(docker container ls -aq)
Specifications
It gives you a high-end Virtual Machine instance with –
12GB of RAM,
Unlimited Bandwidth,
1 Gbps Internet Speed and
16 GB of Nvidia GPU for a maximum of 12 hours
• First, login into a Google account. If you don’t have a Google Account, create
a new one.
• Second, click on the below link and you’ll be redirected to the Google Colab
RDP page.
Insert your username and password there and run the cell
• Go to https://remotedesktop.google.com/headless
o Click Begin > Next > Authorize
o Select your Google Account
o Copy Debian Linux Command
o Return to Google Colab
• Paste the command that you’ve copied in the terminal then press enter
Step #3: Insert six digits pin and Run Cell
• Enter a PIN at least six digits and then enter the same PIN again.
• Wait for the Package Upgrade has completed show up.
• Go to https://remotedesktop.google.com/access.
• Select your remote device.
• If your screen looks similar like the image below, then congrats you have suc-
cessfully created RDP using google colab.