Abiquo quick walkthrough of public cloud
Please see the separate pages for each cloud provider.
If have experience using Abiquo already, you can follow these how-to guides:
Â
- 1 Log In
- 2 Configure your user account
- 3 Create a public cloud region
- 4 Optionally, allow other tenants to use a public cloud region
- 5 Add tenant credentials for the public cloud provider
- 6 Add VM templates to the catalogue in public cloud
- 7 Edit the VM templates to add a password
- 8 In Azure and OCI create a resource group
- 9 Create a global network in Google Cloud Platform
- 10 Create a virtual datacenter in public cloud
- 11 In Google Cloud assign a subnet to the virtual datacenter
- 12 Create a virtual appliance in public cloud
- 13 Add VM templates to create VMs in public cloud
- 14 Configure the VM network connections
- 15 Configure the VM firewall for public cloud
- 16 Create a firewall policy in GCP
- 17 Assign a firewall to a VM
- 18 Deploy the virtual appliance in public cloud
- 19 Connect to your VM
Â
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 public cloud
Â
This walkthrough assumes that:
You have access to the Abiquo platform
You have a public cloud account for Amazon and/or Azure and/or GCP and/or OCI with API credentials. See:
The examples in this walkthrough generally use Amazon and a Linux VM.
Â
Log In
Log in as Cloud Administrator using the default account with the following data:
Username: admin
Password: (Your demo password supplied by Customer Service)
Configure your user account
To configure a user for public cloud:
Click the user icon button in the bottom left corner of the screen to open the menu and select Edit user
User icon menuOR go to Users view → Users → select and edit a user
Add an Email address and Phone number to receive notifications from the platform
To be able to connect to your VMs in public cloud, go to Advanced and add an SSH public key
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, and the platform will add a suffix to the region name
Create a public cloud regionClick 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
Then 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.
Optionally, allow other tenants to use a public cloud region
The tenant that creates a public cloud region can automatically use it. If you are working in the same tenant that you created the public cloud region with, then you can skip this step. For all other tenants, you must allow them access.
Open the Users view by clicking the users icon
From the Enterprises list, select the tenant to allow access. Or create a new tenant, entering the Name and selecting Global scope.
Tip: When you are creating or editing an enterprise, you can restrict the tenant's resources with Allocation limits!
At the bottom of the Enterprises list, click the pencil edit button.
To allow users to deploy in the public cloud region, enable the region datacenter for the enterprise. Go to Datacenters, select the public cloud region, and drag it to the Allowed datacenters list.
Â
Note: You don't need to save the tenant yet, because in the next step you will also change the tenant.
Add tenant credentials for the public cloud provider
Each cloud tenant will require their own set of public cloud credentials. Note that you can also register your tenants as the customer of a cloud reseller that is using the platform.
Go to Users and edit the tenant enterprise
Go to Credentials
Select the Provider
Enter the Access key and the Secret access key. For more details, see Obtain AWS credentials and Obtain Azure ARM credentials.
Click Add account
When you have entered all cloud provider credentials, 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 public cloud
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. The catalogue templates are available to users in their virtual datacenters.
Open the Catalgue view by clicking the Catalogue icon
Go to 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. In Azure, optionally filter by template providers, for example, use the Canonical provider and search for an "ubuntu" template.
Tip: In Amazon in the EC2 console, you can easily find a few basic templates with IDs in the launch wizard!
Click Search
Select a Template to import and click the import symbol beside the template
The imported templates will be added to the Catalogue. Note that you may not be able to accept an end-user license agreement outside of the public cloud interface, so for example, to deploy an AMI from the Amazon Marketplace, you will need to accept the EULA in AWS before you can deploy in Abiquo.
Edit the VM templates to add a password
In Azure and OCI create a resource group
Create a global network in Google Cloud Platform
To be able to deploy a VM in the Google Cloud Platform (GCP), you must add an IP in a subnet of a global network, and this means that each virtual datacenter must have a subnet.
To create a global network in GCP:
Privileges: Manage global networks
Go to myCloud virtual datacenters view
Click the globe Global section button
From this section, you can onboard or synchronize the Global networks in a selected region, and their subnets.
Select Google Cloud Platform
On the Global networks page, click the + add button  and complete the dialog
For Routing mode, select REGIONAL or GLOBAL. For GCP documentation, see https://cloud.google.com/network-connectivity/docs/router/concepts/overview#priority-and-dynamic-routing
To automatically create subnets in all regions of Google Cloud Platform, select Automatic subnet creation. This option is recommended for test environments only. The subnets will have an address in CIDR notation of
10.172.0.0/20
Â
Create a virtual datacenter in public cloud
Virtual datacenters contain the virtual resources for providing the cloud service. From here users can create VMs in virtual appliances and the Abiquo platform will deploy them to the infrastructure. Within virtual datacenters, users can manage their VMs, networks, storage, and more.
Open the Virtual datacenters view by clicking the cloud icon
Click the + add button at the top of the Virtual Datacenters list and select Create virtual datacenter
Enter a Name, and select the Public cloud region
If required, select a resource group
In Google Cloud assign a subnet to the virtual datacenter
Go to myCloud virtual datacenters view → Global
Select the Google provider
Select a global network
Go to the Subnets page, click the + add button, and complete the dialog
Â
The Location is the public cloud region where the platform will store the subnet's metadata
To use IPs from this subnet in a virtual datacenter, select the virtual datacenter.
 In order to deploy a VM, you must have at least one subnet assigned to your virtual datacenterSelect the Purpose:
Private: for private networks
Internal HTTPS loadbalancer: for internal load balancers
Private service connect: for access to Google Cloud services through a private network
Regional managed proxy: for internal and regional external load balancers.
Select Enable flow logs to sample network traffic and store it in cloud provider logs
Select Private services access to enable your VMs to connect with provider or third party networks with services through subnet addresses
Select Default virtual datacenter subnet to enable users to deploy VMs with automatically assigned IP addresses
Click Save
Create a virtual appliance in public cloud
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. For example, a web stack. At the virtual appliance level, you can deploy these VMs together, view their performance statistics, create anti-affinity layers for VM high availability, and so on.
To manage a new group of VMs, create a virtual appliance:
Select the Virtual datacenter in public cloud
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. For more details, see Manage Virtual Appliances .
Add VM templates to create VMs in public cloud
The list of available and compatible templates displays in the dialog when you create a VM in your virtual appliance.
Click Open under the Virtual appliance name to go into your virtual appliance
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, then click Save
For each template, select an appropriate Hardware profile. You can enter a text string to search for specific profiles.
Configure the VM network connections
If you would like to connect to a VM in public cloud, you will need to add a public IP address, as well as a private IP address in a public subnet (in AWS and OCI). If you don't configure the network, by default Abiquo will add a private IP address only and you probably won't be able to connect to your VM.
On the VM icon from the options menu, select Edit
Click Network → select Private networks. Select a Private network.
In Amazon select subnet-xxxx, which is the public subnet. In OCI, also select a public subnet, which has an internet gateway. In GCP, select the subnet of the global network.Drag the Auto-generated IP label into the NICs pane.
Click Network → Public → Purchase public IP
Then on the Purchase public IPs popup, click the + add button
Select an IP address and click Add
Drag the public IP into the NICs pane
Â
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.
For a Linux VM, use an SSH connection to port
22
.For a Windows VM, use a standard RDP connection to portÂ
3389
Create a firewall in AWS, Azure, or OCI
Go to Virtual datacenters → Networks → Firewalls
Click the + add button to create a firewall for connections and enter the Name, and select the Location and Virtual datacenter
Â
Edit the Firewall rules and select Inbound, then from Common protocols, select SSH for a Linux VM or RDP for a Windows VM. Or for convenience, you could allow both in a test system
In this example, we allowed connections, but you should allow only incoming connections from your IP address.
Click Add, then click Save.
Â
Note that AWS will not allow you to create duplicate firewall rules.
Â
Create a firewall policy in GCP
Assign a firewall to a VM
To assign a firewall to a VM do these steps.
Go to Virtual appliances
Go to a virtual appliance and click on OpenÂ
Edit the VM
Go to Networks → Firewall
Select the firewall you created and click Save. Note that the provider may limit the number of firewall policies that you can apply to a VM
Deploy the virtual appliance in public cloud
Click the Deploy virtual appliance button to deploy the virtual appliance.
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 or RDP or another appropriate method.
Go to Virtual datacenters and open the Virtual appliance
Select the VM
To obtain the default username and password, go the General tab of the VM control panel and click Default credentials
To open the connection, click the console icon
A console should open to allow you to log in to your VM. The platform will automatically complete the Username
For Windows VMs on Azure, enter the Password
For all Linux VMs and for Windows VMs on AWS, enter the SSH private key (also called the Decryption key)
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.
Â
Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved