Info |
---|
This Abiquo Cloud Walkthrough describes Abiquo concepts and guides users through some basic steps to get started. |
...
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:
...
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 can 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.
...
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 selecting 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.
...
title | Click here to show/hide the task: Create virtual appliance |
---|
...
From the main menu, go to myCloud and go to the Virtual datacenters section.
It should open at the Virtual appliances tab
...
Select the virtual datacenter you want to deploy a virtual appliance in
...
Click the + add button at the bottom of the the Virtual Appliances tab
...
...
Enter the details of the virtual appliance
...
Click on Open or the virtual appliance Name to enter the virtual appliance editor. A virtual appliance will not do anything unless you add at least one VM template to it
Click the Create virtual machine button. You can now select from the VM templates that are ready to be deployed.
Double-click a template to create a VM with the default Name, or click once and enter your own friendly name for the your VM
...
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.
...
To start the virtual appliance, click the Deploy virtual appliance button in the top right-hand corner of the Virtual machines panel.
...
This will deploy and start the VMs in the virtual appliance.
...
When the virtual appliance is deployed, the Deploy button becomes an Undeploy button or a Deploy all VMs button.
To destroy all the VMs and all your data on the hard disks, click the Undeploy button.
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.
Expand | ||
---|---|---|
| ||
To monitor a VM
You can retrieve and display metrics to monitor the performance of your VM. |
...
Copy VM disks to create an instance template
An Abiquo instance template 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.
For captured VMs, Abiquo saves the configuration of the VM.
In private cloud, the platform stores the instance with the original (mastermain) template in the Apps library.
In public cloud, the instance template should be available directly in the Apps library.
Expand | ||
---|---|---|
| ||
|
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.Catalogue.
...
Change the configuration of a deployed VM
You can configure VMs before you deploy them, and if your environment supports "with reconfigure" operations, you can also configure them after they are deployed.
For 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 to 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.
...
title | Click here to show/hide the task: Reconfigure a VM |
---|
...
To change VM settings, from the VM options menu, select Edit.
...
The VM edit dialog will open.
...
On the General tab, enable remote access, obtain the password and optionally increase CPU and/or RAM.
Also make a note of the SSH user and password if they are available.
...
Add an IP address or add the "Auto-generated IP" tag to the VM
...
Remove the original IP address (so as to not have two IP addresses on the same network)
...
On the Storage tab, add a hard disk by clicking the + add button at the bottom of the top of the page
...
.
Connect to your VMs
You can connect to VMs on most hypervisors and providers using VNC (WebMKs, SSH, 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 Configure your user account
...
title | Click here to show/hide the task: Connect to a VM |
---|
...
Obtain the login credentials for the VM, which may be assigned to the VM template.
...
Select the VM and on the VM control panel, near Remote access, click Show password to obtain the password. (You may also be able to obtain the login credentials from here).
...
To open a remote access window, click the console icon on the left-hand side of the control panel buttons.
...
Enter the remote access password.
...
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 buttonVMs button. To deploy any VMs 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. See Delete a server
To destroy a VM in the hypervisor, undeploy it. The platform will keep the configuration of the undeployed VM until you delete it.
If you deploy the VM again, the platform copies the template again from the catalogue. And any changes you made to the disks will be lost.
...