Tutorial 1 Revision cloud basics
Tutorial 1 Revision cloud basics
Virtual Architecture
The cloud is a multi-tenant environment where multiple people
run services on the same server hardware. To achieve a shared
environment, cloud providers use virtualization technology.
Virtualization is achieved using a hypervisor, which splits CPU,
RAM, and storage resources between multiple virtual machines
(VMs). Each user on the hypervisor gets their own operating
system environment.
It should be noted that none of the individual VMs interact with
one another, but they all benefit from the same hardware. This
means cloud platforms like AWS can maximize resource
utilization per server with multiple tenants, enabling lower
prices for enterprises through economies of scale.
1
1. What are the significant challenges of using virtual
machines? List any four of them and explain how to
mitigate them.
2. What are the host operating system (Host OS) and guest
operating system (Guest OS)? How do they differ?
2
physical hardware of a computer. It manages the hardware
resources and provides the environment in which
applications and, in the case of virtualization, virtual
machines (VMs) operate.
Key Features:
Examples:
Key Features:
3
Resource Directly accesses physical Accesses hardware through virtualized
Access hardware. interfaces.
Independent, installed on physical Dependent on Host OS and hypervisor for
Dependency
hardware. operation.
Usage General purpose, virtualization, Testing, development, and running multiple
Scenario and other tasks. OS environments.
Linux on Windows Host or Windows on
Examples Windows, Linux, macOS.
Linux Host.
Example Scenario:
For example:
VM1: 192.168.1.1/24
VM2: 192.168.1.2/24
4
In Windows, go to Network and Sharing Center > Change
adapter settings and modify the IP settings.
1. Verify Connectivity:
Use the ping command to test connectivity between the
VMs.
ping 192.168.1.2 # From VM1 to VM2
ping 192.168.1.1 # From VM2 to VM1
Type 1
5
A Type 1 hypervisor runs directly on the physical hardware, acting
as the primary operating system. It manages the hardware
resources and creates virtual machines (VMs) without requiring a
host OS. It provides high performance and stability isolated from
traditional OS vulnerabilities, making it ideal for critical enterprise
applications.
Examples are VMware ESXi, Microsoft Hyper-V (bare-metal
version), Citrix XenServer, KVM (when used on a Linux-based host
as part of the kernel). Use Cases are in Enterprise data centers,
Cloud infrastructure, and High-performance virtualized servers
and are optimized for large-scale environments with minimal
overhead.
Type 2
Key Differences
6
Performance Higher performance, lower latency. Slightly lower due to host OS overhead.
Resource Efficient with direct hardware Less efficient due to intermediate host
Efficiency management. OS.
Complexity Requires more setup and expertise. Easier to install and use.
Large-scale servers, cloud Personal, testing, or development.
Use Cases
environments.
8
o Virtualized environments are easier to manage using
centralized tools that control VMs, storage, and network
configurations. This streamlines private cloud
operations.
5. Disaster Recovery and Backup:
Benefits
1. Cost Efficiency:
oReduces the need to purchase multiple physical
servers, lowering hardware costs.
o Decreases power consumption, cooling
requirements, and physical space needs.
2. Resource Optimization:
o Maximizes the utilization of a single machine's
CPU, memory, and storage by allocating these
resources dynamically to different servers.
3. Simplified Management:
o Centralized management of multiple servers on
9
one physical machine simplifies maintenance
and monitoring.
4. Flexibility and Scalability:
o Servers can be added, removed, or
reconfigured quickly without altering the
physical infrastructure.
5. Isolation:
o Virtual servers or containers operate in isolated
environments, ensuring that a failure or
change in one does not affect others.
6. Disaster Recovery and Backup:
o Virtual machines (VMs) and containers can be
easily backed up, cloned, or migrated to
another machine, facilitating disaster
recovery.
7. Testing and Development:
oDevelopers can run multiple test environments
or applications on one machine, mimicking
different production scenarios without requiring
multiple physical servers.
8. Environment Consistency:
o Ensures uniformity across development, testing,
and production environments, reducing
configuration issues.
10
8. How is virtualization valuable in a small start-up
organization?
11
12