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

Steps in Abiquo

  1. 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

  2. Create a public cloud region (PCR) and select the provider (Google Cloud Platform) and the regions that would you like to use

  3. Select your user icon in the bottom left corner, and from the menu, select Edit public cloud credentials. Add your GCP credentials

  4. 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.

  5. 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 characters

  6. In myCloud view, go to Global and create a global network.

  7. Create a virtual datacenter, and select the previously created PCR as the location

  8. 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.

  9. 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.

  10. 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.

  11. Create a virtual appliance

  12. In the virtual appliance, click the + add button and select a template to create a VM, but don't deploy it

  13. Edit the VM, and on the Network tab, add a subnet IP, and then obtain a public IP and add it to the VM

  14. Then on the Firewall tab, select the firewall policy, then save.

  15. Deploy the VM and wait for the VM to start up

  16. Click the Console button

    1. Linux VMs: enter the username set for the template and the private key

    2. Windows VMs: enter the username and password set for the template 


Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved