How to deploy a VM in GCP using Abiquo
This page describes how to use Abiquo to create and launch a VM in Google Cloud Platform (GCP) and how to connect to your VM
Requirements
Access key ID & Secret access key
For details of how to obtain GCP credentials, see Obtain Google Cloud Platform credentials
Steps in Abiquo
Edit the Abiquo user that is going to deploy the VM to add their SSH public key. (If this is your user, put your current password on the General information tab of Edit user). See https://cloud.google.com/compute/docs/connect/create-ssh-keys
Create a public cloud region (PCR) and select the provider (Google Cloud Platform) and the regions that would you like to use
Select your user icon in the bottom left corner, and from the menu, select Edit public cloud credentials. Add your GCP credentials
Go to the Catalogue, click the + add button. Select a provider and enter a name text (ubuntu, linux, windows, etc.). Click Search. Select a template and import it.
If you do not wish to use the default
abiquo
user, edit the template and on the Advanced tab, add a User and for Windows add a Password with at least 12 charactersIn myCloud view, go to Global and create a global network.
Create a virtual datacenter, and select the previously created PCR as the location
Go to Global → Networks → Subnets and create a subnet for the virtual datacenter. To let users deploy without selecting an IP address, make it the default subnet.
You can use the default firewall for the subnet, or to create a firewall, go to Virtual datacenters → Network → Firewalls OR go to myCloud → Global → select the GCP provider → Network → Firewalls. For the Name, see the Google cloud entity naming conventions. See Google Cloud Platform integration.
Add an inbound firewall rule to a firewall policy in the virtual datacenter to allow the SSH protocol for Linux or the RDP protocol for Windows. Allow connections from the desired IP (or
0.0.0.0/0
if you don't know it, but be aware of the security implications). Also allow outbound traffic.Create a virtual appliance
In the virtual appliance, click the + add button and select a template to create a VM, but don't deploy it
Edit the VM, and on the Network tab, add a subnet IP, and then obtain a public IP and add it to the VM
Then on the Firewall tab, select the firewall policy, then save.
Deploy the VM and wait for the VM to start up
Click the Console button
Linux VMs: enter the username set for the template and the private key
Windows VMs: enter the username and password set for the template
Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved