The life cycle of a virtual machine (VM) provisioning process
1,230 views
28 slides
Jan 14, 2025
Slide 1 of 28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
About This Presentation
The life cycle of a virtual machine (VM) provisioning process includes the following stages:
Creation: The VM is created
Configuration: The VM is configured in a development environment
Allocation: Virtual resources are allocated
Exploitation and monitoring: The VM is used and its status is monitor...
The life cycle of a virtual machine (VM) provisioning process includes the following stages:
Creation: The VM is created
Configuration: The VM is configured in a development environment
Allocation: Virtual resources are allocated
Exploitation and monitoring: The VM is used and its status is monitored
Elimination: The VM is eliminated
What is VM provisioning?
Virtual machine
provisioning, or virtual
server provisioning, is a
systems management
process that creates a
new virtual machine
(VM) on a physical host
server and allocates
computing resources to
support the VM
Manual VM Provisioning and
Automatic VM Provisioning
In manual VM provisioning, the process of creating and configuring a
virtual machine is done by hand. Steps in Manual VM Provisioning:
1.Resource Allocation: Choosing and assigning CPU, memory, disk
space, and network resources for the VM.
2.Installation of OS: Manually installing an operating system (e.g.,
Windows, Linux) on the VM by using an ISO file or other media.
3.Software Configuration: Manually installing and configuring the
required software, tools, and applications.
4.Network Setup: Configuring network settings such as IP addresses,
DNS, and firewall rules.
5.Security Settings: Manually configuring user permissions, firewall
settings, and security updates.
Key Characteristics:
1.Time-consuming: Requires a lot of manual input and
human intervention.
2.More control: The administrator has full control over
every aspect of the VM configuration.
3.Prone to errors: Since the process is manual, there is a
higher chance of configuration mistakes.
4.Useful for small-scale setups: It’s more suited for
environments with only a few VMs where customization is
key.
Automatic VM Provisioning:
In automatic VM provisioning, the process of creating and configuring virtual
machines is done using automation tools, scripts, or orchestration platforms. It
reduces or eliminates the need for human intervention in most of the steps.
Steps in Automatic VM Provisioning:
1.Automated Resource Allocation: Resources such as CPU, RAM, and storage are
automatically assigned based on predefined templates or policies.
2.Template-based OS Deployment: A pre-configured OS image or template is
used to automatically deploy VMs without manually installing the OS.
3.Scripted Software Installation: Automation tools (e.g., Ansible, Puppet, Chef) or
scripts handle the installation and configuration of software and applications.
4.Predefined Network Setup: Network configurations, IP addresses, and security
rules are applied automatically based on templates or cloud orchestration rules.
5.Orchestration Platforms: Cloud platforms like AWS, Azure, and GCP offer tools
like Terraform, CloudFormation, and ARM templates for automating VM
provisioning.
Key Characteristics:
1.Faster and more efficient: Automation significantly reduces
provisioning time, especially for large-scale deployments.
2.Consistency and reduced errors: Since automation follows
pre-defined rules or scripts, it ensures consistency in VM
configurations and reduces human errors.
3.Scalable: Ideal for environments that require frequent or
large-scale VM deployments, such as cloud infrastructures.
4.Less control over customization: While automation provides
consistency, it may limit fine-grained customization for
individual VMs unless specifically scripted.
Which one you will choose Manual
VM Provisioning or Automated ?
1.Development and Testing of Specialized Software
2.Cloud Infrastructure for Web Applications (e.g., AWS, Azure, Google
Cloud)
3.One-Off Virtual Machine Setups for Special Projects
4.DevOps and Continuous Integration/Continuous Deployment (CI/CD)
Pipelines
5.Highly Customized Virtual Desktops for a Small Team
6.Virtual Desktop Infrastructure (VDI) for Large Organizations
7.Sensitive Environments Requiring Strict Customization
8.Disaster Recovery and Backup Environments
9.Educational and Training Labs
10.Infrastructure-as-a-Service (IaaS) Providers
11.High-Performance Computing (HPC) or Big Data Environments
12.Self-Service VM Portals
How to choose right virtualization platform ?
Thevirtualizationlayerpartitionsthephysicalresourceofthe
underlyingphysicalserverintomultiplevirtualmachineswithdifferent
workloads.
Role of the Thevirtualizationlayer:
•Schedules resources and allocates physical resources
•Makes each virtual machine think that it totally owns the whole
underlying hardware’s physical resource (Preprocessor, disks,
etc.)
•Makes it flexible and easy to manage resources.
•Improve the utilization of resources by multiplexing many virtual
machines on one physical host.
•The machines can be scale up and down on demand with a high
level of resources’ abstraction.
•Enables High, Reliable, and agile deployment mechanism.
•Provides On-demand cloning and live migration.
•Having efficient management suite for managing virtual
machines.
Layer Virtualization Model
VirtualMachineProvisioningand
ManageabilityVirtualMachineLifeCycle
•Virtual MachineProvisioningand Manageability Virtual
MachineLifeCycle
•The cyclestartsby a requestdelivered to theIT
department,statingtherequirementforcreatinga
newserverfora particularservice.
•Thisrequestisbeingprocessed by theIT
administration to startseeingtheservers’resource
pool,matchingtheseresourceswith requirements
•Startingtheprovision of theneeded virtual machine.
•Once it provisioned and started,itisready to provide
therequired serviceaccordingto an SLA.
•Virtual isbeingreleased; and freeresources.
VM Provisioning Life Cycle
Practice Questions
1.What is VM provisioning?
2.How does VM provisioning work?
3.What are the steps involved in provisioning a virtual
machine?
4.What are the different types of VM provisioning?
5.What is manual vs. automatic VM provisioning?
6.What is thin provisioning and thick provisioning in virtual
machines?
7.What are the main considerations when provisioning a VM?
8.What factors should be considered when deciding CPU,
RAM, storage, and network settings for a VM?
9.How do you choose the right virtualization platform (e.g.,
VMware, Hyper-V, KVM)?