Cloud Computing Assignment 3.1

Create and Configure Multiple Virtual Machines (Using VMware ESXi)

Introduction

Virtual Machines (VMs) allow multiple operating systems to run on a single physical server. Using VMware ESXi (Type 1 hypervisor), we can create and manage multiple VMs efficiently.


Prerequisites

Before creating VMs, ensure:

  • ESXi is installed and running
  • You can access ESXi via web browser (https://ESXi-IP)
  • ISO files of operating systems (Windows/Linux) are uploaded
  • Sufficient RAM, CPU, and storage available

Steps to Create Multiple Virtual Machines

Step 1: Login to ESXi Web Interface

  1. Open browser.
  2. Enter ESXi IP address.
  3. Login using root credentials.

Step 2: Upload ISO File

  1. Go to Storage → Select datastore.
  2. Click Datastore Browser.
  3. Upload OS ISO file (Windows/Linux).

Step 3: Create First Virtual Machine

  1. Click Virtual MachinesCreate / Register VM.
  2. Select Create a new virtual machine.
  3. Enter VM name (Example: VM1).
  4. Select compatibility and Guest OS type.
  5. Select datastore for storage.
  6. Allocate hardware:
    • CPU (e.g., 2 cores)
    • RAM (e.g., 4 GB)
    • Hard Disk (e.g., 40 GB)
    • Network Adapter
  7. Attach ISO file to CD/DVD drive.
  8. Click Finish.

Step 4: Install Operating System

  1. Select VM → Click Power On.
  2. Open console.
  3. Follow OS installation steps.

Step 5: Create Additional Virtual Machines

Repeat the same process:

  • VM2 (Example: Linux Server)
  • VM3 (Example: Windows Server)

Ensure proper resource allocation so the host does not overload.


Configuration of Virtual Machines

After OS installation:

1) Configure Network

  • Assign static or DHCP IP
  • Check internet connectivity
  • Configure DNS if needed

2) Install VMware Tools

  • Improves performance
  • Enables better graphics
  • Allows time synchronization

3) Configure Resources

  • Adjust CPU & RAM if required
  • Set memory limits
  • Enable auto-start if needed

4) Snapshots

  • Create snapshots before major changes
  • Useful for backup and rollback

Example VM Setup

VM NameOSCPURAMStorage
VM1Windows 102 Core4 GB40 GB
VM2Ubuntu2 Core2 GB25 GB
VM3Windows Server2 Core6 GB60 GB

Best Practices

  • Do not allocate all physical RAM to VMs
  • Use separate networks for testing
  • Regularly update VMs
  • Monitor CPU and memory usage

Advantages of Multiple VMs

  • Resource optimization
  • Isolation between systems
  • Easy testing and development
  • Cost-effective infrastructure

Conclusion

Creating and configuring multiple virtual machines in VMware ESXi allows efficient use of hardware resources. By properly allocating CPU, RAM, and storage, multiple operating systems can run simultaneously on one physical server.


Viva Questions with Answers

1. What is a Virtual Machine?

A software-based computer that runs an operating system.

2. Which hypervisor is used in this example?

VMware ESXi.

3. Why should VMware Tools be installed?

To improve VM performance.

4. What is a snapshot?

A backup of VM state at a specific time.

5. Why should resources be allocated carefully?

To prevent host system overload.

Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top