This walkthrough:
Adds a public cloud region to the platform and imports templates into the Catalogue
Describes how to create a virtual datacenter and configure and deploy a Linux VM in Azure
Assumes that you have public cloud credentials: Obtain Azure ARM credentials
Configure your user account
Log in with the username and password supplied by Customer Service, or
admin
andxabiquo
.Click the user icon button in the bottom left corner of the screen and select Edit user
(OR go to Users view → Users and select and edit your user)Add an Email address and Phone number to receive notifications from the platform
Go to Advanced and add an SSH public key
Azure currently supports SSH protocol 2 (SSH-2) RSA public-private key pairs with a minimum length of 2048 bits. Other key formats such as ED25519 and ECDSA are not supported.
For more details see How to work with SSH keys
Create a public cloud region
The cloud administrator creates public cloud regions to configure public cloud providers for users.
Open Infrastructure view by clicking the servers icon at the top of the main menu
Go to Public
Click the + add button at the bottom of the Public cloud regions list
Enter the Name of your public cloud region
Select the Provider
Select the Region to add. You can add more than one region
Click Next
Select the Remote services. Abiquo uses Remote services to connect to the providers and manage the cloud.
In the first IP address box, click the down arrow and select the Remote service URL from the pull-down list, or enter the URL of your Monolithic server
Click the link to Duplicate IP addresses at the top of the popup
Click Check all to check the connection to the remote services
Click Save
Help Button
Click the help button in the top left-hand side of a pop-up to view the help screen for that pop-up.
Add tenant credentials for the public cloud provider
Each cloud tenant will require their own set of public cloud credentials, and access to the public cloud region. Note that you can also register your tenants as a customer of a cloud reseller that is using the platform.
Go to Users and edit the tenant enterprise
To allow users of the tenant enterprise to deploy in the public cloud region, go to Datacenters, and check that the public cloud region is in the Allowed datacenters list. If not, drag it into the list.
Go to Credentials → Public
Select the Provider
Enter the Access key and the Secret access key. For more details, see Obtain AWS credentials
Click Add account
Click Save
The tenant's account will be added for the provider and displayed in the public cloud view of the Infrastructure tab.
Add VM templates to the catalogue in Azure
The Catalogue stores VM templates so that users can easily create VMs from them. In public cloud, the platform stores VM template details and then deploys from the public cloud templates. To create VMs, users select VM templates in their virtual datacenters.
Open the Catalogue view by clicking the Catalogue icon
Select Public
Select the public cloud region
Click the import template button
Enter the ID of a template to import, or a Name text, for example
Linux
, because we recommend that you use a Linux template.Optionally, filter by template providers, for example, use the
Canonical
provider and search for anubuntu
template.Click Search
Select a Template to import and click the import symbol beside the template
If your template has terms of use, accept them now or when you first deploy a VM from the template.
This requires the privilege to
Manage virtual machine template terms of use
and it enables programmatic deployment of the template for your Azure subscription.If you then disable programmatic deployment in the portal but you would like to deploy the template, you will need to delete it from the platform and import it again.
Select and edit the template
The template name is the default name for the VM, so it may be helpful to rename it. See https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules
To add default user details for remote access, go to Advanced
Select the template Operating system. For the latest version, do not set the OS version
Enter a Username. For Linux, enter
abiquo
. You do not need to enter a password.
For Windows, enterAdministrator
and a password with at least 12 characters
Click Save
Create a resource group
To create a virtual datacenter in Azure, if you do not have a resource group, you must create a resource group. You can use resource groups to manage groups of related resources in the cloud provider.
To create a resource group:
To go to myCloud → Virtual datacenters, click the cloud button
Go to the Global section
Select the Azure cloud provider
In Resource groups, click the + add button
Complete the dialog as described below
The Name must be unique in the subscription, which means in the enterprise
Select the Region that will store the metadata of the resource group
Click Save
Create a virtual datacenter and virtual appliance
Virtual datacenters contain the virtual resources of the cloud service. In them, users can create VMs to launch them to the infrastructure, and they can manage their networks, storage, and more.
A virtual appliance is a container for a group of VMs running in a virtual datacenter. It is like a folder that can contain a related set of VMs that are used to provide a service, such as a web stack. You can deploy these VMs together, view their performance statistics, manage VM high availability, and so on.
To create a virtual datacenter and virtual appliance:
To open the myCloud Virtual datacenters view, click the cloud icon
Click the + add button at the bottom of the Virtual Datacenters list
Select Create virtual datacenter
Enter a Name, and select the Public cloud region
Select the Resource group
Click Save
To use VMs with a basic SKU load balancer, in your virtual datacenter, go to Network and create an Availability set
Select the virtual datacenter and in the Virtual Appliances pane, click the + add button and enter the Name of the virtual appliance then click Save.
The virtual appliance you create will display in the Virtual Appliances list.
Create a VM in Azure
When you create a VM, you can select from the compatible templates.
To connect to your VM in Azure, you will need to add a private IP address, as well as a public IP address.
To go into your virtual appliance, click Open under its Name.
To create a VM, click Create virtual machine and select a VM template
For the Name, enter a user-friendly name for the VM that meets provider criteria
Select the Availability set
Click Save
Select an appropriate Hardware profile for your VM
On the VM icon from the options menu, select Edit
Click Network and select Private networks
Drag the
Auto-generated IP
label into the NICs pane
Select Public and click Purchase public IP
Click the + add button
Select the Resource group and IP type
Click Accept
Select an IP address and click Add
Drag the public IP into the NICs pane. Select the VNIC Sequence of
0
and click AcceptClick Save
To go out of the virtual appliance, click the Name of the virtual datacenter or the myCloud icon
Configure the VM firewall for public cloud
To connect to a VM in public cloud, create a firewall to allow access. Because this VM will only be active for a very short time, we will use basic default settings.
To create a firewall in Azure do these steps.
Go to myCloud Virtual datacenters → Networks → Firewalls
Select the virtual datacenter
Click the + add button to create a firewall for connections and enter the Name
Select the firewall and click the pencil edit button to add the Firewall rules
For Inbound
From Common protocols for a Linux VM, select
SSH
and/or for a Windows VM, selectRDP
Allow incoming connections from your IP address. Or for a temporary test system, allow all connections.
Click Add
Go to Outbound, select
All traffic
, click Add, then click Save.
The platform will create the firewall.Go to Virtual appliances and on the virtual appliance and click on Open
Edit your VM
Go to Networks → Firewall
Select your firewall and click Save.
Deploy the virtual appliance in public cloud
To deploy the virtual appliance
From outside the virtual appliance, on the options menu, select Deploy.
OR From inside the virtual appliance, click the Deploy virtual appliance button. You can also deploy a VM on its own with the Deploy VM button.
The platform will deploy all the VMs and power them on. You can select the VMs and manage them with the control buttons in the lower right corner of the screen.
Now you can relax and give your VM some time to start up.
Connect to your VM
You can connect using SSH for Linux or RDP for Windows.
Go to Virtual datacenters and open the Virtual appliance
Select the VM
To obtain the default username (and password for Windows), go to the General tab of the VM control panel and click the default credentials key button
To open the remote connection, click the console button
A console should open to allow you to connect to your VM. The platform will automatically complete the Username.
For Linux VMs, enter the SSH private key (also called the Decryption key).
For Windows VMs on Azure, enter the Password.The console will open to let you work on your VM.
If you cannot connect due to an unsecured certificate error, open a new tab in the same browser, enter the host IP of the VM, and accept the certificate.