Virtual Appliances and Virtual Machines
Next page: Hybrid cloud
Previous page: Events
This Abiquo Cloud Walkthrough describes Abiquo concepts and guides users through some basic steps to get started, so if you have access to the platform, you can follow along.
Virtual datacenters
To work with the cloud platform, you will use virtual datacenters (VDCs) to access your cloud resources and provision new virtual environments. In a virtual datacenter you can work with virtual resources, including network infrastructure, external storage systems, backups, security, and so on. A virtual datacenter also has the advantages of cloud computing:
- Virtualization
- Pay-as-you-go billing
- Quick scalability
- Technology and hardware abstraction.
A virtual datacenter offers datacenter infrastructure as a service, so you can run your applications more cheaply and with greater flexibility. In your VDC, you will find compute resources and other resources, such as volumes and public IPs, that you an attach to your VMs. Each VDC has similar features and functionality and each VDC belongs to a private cloud datacenter or public cloud region. In private cloud, a VDC uses a hypervisor of one type only and in public cloud, a VDC can be created by the provider, e.g. in AWS a VDC corresponds to a VPC, or by the platform.
Screenshot: In the Virtual datacenters view, with the V. Datacenters list and the Virtual appliances tab that contains virtual appliance cards, open a virtual appliance
Virtual appliances
Within your virtual datacenter, virtual appliances (VApps) are folders that contain groups of VMs. When you open a VDC, you will probably see one or more virtual appliances. And you can create more virtual appliances of your own to organize groups of related VMs.
Within your virtual appliance folders, you can easily create VMs by dragging and dropping VM templates (or by double-clicking on the VM templates). And if your environment supports virtual appliance specifications (VApp specs), to create a virtual appliance from a saved configuration, you can just select one of these blueprints.
Deploy to launch your VMs
When you deploy a virtual appliance, the platform launches and starts up all the VMs. You can also deploy individual VMs. When you deploy a VM, the platform copies the system disk images to the hypervisor and uses the VM template definition and user configuration to create the VM.
Screenshot: Deployed VMs in a virtual appliance
Monitor a VM
Your environment may have VM monitoring configured by default, in which case you can open the virtual appliance's Monitoring tab to view metrics. And you can select the metrics to display and create alarms for VM metrics when you edit the VM.
Copy VM disks to create an Instance template
An Abiquo instance is a copy of the selected disks of a VM at a given time that is stored as a VM template. In private cloud with hypervisors, the platform saves the disks and a copy of the original template definition, unless the VM was captured from outside Abiquo, in which case it saves the configuration of the VM. In private cloud, the platform stores the instance with the original (master) template in the Apps library. In public cloud, the instance template should be available directly in the Apps library.
In private cloud, to use an instance template to create a VM, select the master template that was used to create the VM. The platform will display a list of the instances for you to select from. In public cloud, you can select the instance directly because it is at the same level as the master templates.
Change the configuration of a deployed VM
You can configure VMs before you deploy them, and if your environment supports "reconfigure" operations, you can also configure them after they are deployed. For example, you can add memory and CPU, and additional network interfaces or storage, as well as configuring remote access. If your environment and operating system supports hot-add and hot-reconfigure, you can change the configuration while the VM is powered on. Otherwise, you will need to shut the VM down before you make any changes.
Screenshot: Reconfigure a VM, General Information
- Connecting your VMs: If you don’t configure a network interface card (NIC) before you deploy your VM, the platform will configure a default one. You can add NICs to your VMs to add IPs in a private network for communication within the VDC, or another type of network with access outside the VDC, as configured by your administrator.
- Add hard disks to save your data: Hard disks on the hypervisor datastore are not persistent and when the user undeploys the virtual appliance, the hard disks are destroyed. To create a hard disk, edit the VM and go to the Storage tab.
Connect to your VMs
You can connect to VMs on most hypervisors and providers using VNC (or RDP) by clicking the console button on the VM control panel. To connect in public cloud, before you deploy your VM, you will need to store your SSH public key in your user account. And in some platforms you will need to enter your telephone number in your user account for connecting to the VM using SSH or RDP. See Edit your user account details
Make changes to a running virtual appliance
Sometimes you will have a VM that is deployed, while another is not deployed. For example, when you add new VMs or deploy only one VM out of a group. This means that the virtual appliance is deployed but not synchronized with the hypervisor or provider. So the Deploy virtual appliance button changes to become Deploy all VMs button. To deploy the VM(s) that are not allocated, click this button. If you need to remove VMs while the virtual appliance is in this state, you can undeploy or delete individual VMs.
To destroy a standard VM in the hypervisor, undeploy it. The platform will maintain the configuration of the undeployed VM until you delete it. If you deploy the VM again, the platform copies the template again from the Apps library. And any changes you made to the configuration and the disks are lost.
Copyright © 2006-2022, Abiquo Holdings SL. All rights reserved