Virtual Machine creation
Virtual machines (VMs) are constructs within a cluster that utilize resources and the established infrastructure to carry out tasks and provide users with tools to accomplish these tasks. The resources necessary to instantiate a VM are CPU and memory. Hosts represent these resources and give a quick overview of the Cluster ID, the running VMs, the allocated CPU and memory.
Using templates
A template is required to instantiate a virtual machine.
Acquiring a template to build a VM can be achieved by a variety of methods:
- Writing a template manually
- Downloading from Amplifier
- Creating via the built-in wizard with an existing image
- Images can be manually created from ISO install media
- Images can be automatically built using libguestfs
For this example, the assumption is that the template is already loaded into the datastore and no retrieval will be necessary.
Navigate to the VMs list, and click the .
Select the desired template from the list to instantiate.
Enter a name and input the require memory, CPUs, and disk space.
Adding networks
Select the network interface for the VM, then choose a security group to dictate the allowed inbound and outbound traffic.
Return to the top of the screen and click the green ‘Create’ button to complete the instantiation process. There is now a pending VM in the list of VM instances. After several moments,the VM will be ready for access.
Virtual machine states
Button | Description |
---|---|
Shutdown | Shuts down the virtual machine, but continues to reserve CPU and RAM resources. |
Undeploy | Shuts down the virtual machine, and removes the CPU and RAM resource allocation, but keeps the instance in VM Squared including data disks. This is useful as a non-destructive way to save resources. |
Terminate | Entirely removes the virtual machine entry, including the CPU and RAM resource allocation. Data disks are destroyed. |