Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Info

This walkthrough of Google Cloud Platform (GCP):

  • 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 GCP

  • Assumes that you have public cloud credentials. See Obtain Google Cloud Platform credentials

...

  1. Open Infrastructure view by clicking the servers icon at the top of the main menu

  2. Go to Public

  3. Click the + add button at the bottom of the Public cloud regions list

    Steps to create a public cloud region
  4. Enter the Name of your public cloud region

  5. Select the Provider

  6. Select the Region to add. You can add more than one region

    Select a public cloud region in GCPImage RemovedSelect a public cloud region in GCPImage Added
  7. Click Next

  8. Select the Remote services. Abiquo uses Remote services to connect to the providers and manage the cloud.

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

    2. Click the link to Duplicate IP addresses at the top of the popup

  9. Click Check all to check the connection to the remote services

    Add remote servicesImage Modified
  10. Click Save

Info

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.

...

  1. Go to Users and edit a tenant enterprise

  2. To allow users of a 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.

    Allow users of a tenant to work in GCPImage RemovedAllow users of a tenant to work in GCPImage Added
  3. Go to Credentials → Public

  4. Select the Provider

  5. Enter the Access key and the Secret access key. For more details, see Obtain Google Cloud Platform credentials

    Add GCP credentialsImage RemovedAdd GCP credentialsImage Added
  6. Click Add account

  7. Click Save

...

  1. Open the Catalogue view by clicking the Catalogue icon

  2. Select Public

  3. Select the public cloud region

  4. Click the import template button
    SCREENSHOT

    Image Added
  5. Enter the ID of a template to import, or a Name text, for example Linux, because we recommend that you use a Linux template.

  6. Optionally, filter by template providers, for example, use the Canonical provider and search for an ubuntu template.

  7. Click Search

  8. Select a Template to import and click the import symbol beside the template
    SCREENSHOT

    Import a template in GCPImage Added
  9. Select and edit the template

    1. The template name is the default name for the VM, so it may be helpful to rename it. SEE. For more details, see Google’s Compute Engine documentation: https://cloud.google.com/compute/docs/naming-resources

    2. To add default user details for remote access, go to Advanced

    3. Select the template Operating system. For the latest version, do not set the OS version

    4. Enter a Username. If you do not wish to use the default abiquo user, enter another valid name. For Linux, enter abiquo. You you do not need to enter a password.
      For Windows, enter Administrator and a password with at least 12 characters
      See https://cloud.google.com/compute/docs/instances/windows/generating-credentials

  10. Click Save

...

Create a global network in Google Cloud Platform

...

To create a global network in GCP:

Panel

Privileges: Manage global networks

  1. Go to myCloud virtual datacenters view

  2. Click the globe Global section button

    From this section, you can onboard or synchronize the Global networks in a selected region, and their subnets.

  3. Select Google Cloud Platform

  4. On the Global networks page, click the + add button  and complete the dialog

    Create global networkImage RemovedCreate global networkImage Added
    1. 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

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

  5. Select a global network

  6. Go to the Subnets page, click the + add button, and complete the dialog

    Create subnet for GCPImage RemovedCreate subnet for GCPImage Added

     

    1. The Location is the public cloud region where the platform will store the subnet's metadata

    2. To use IPs from this subnet in a virtual datacenter, select the virtual datacenter.
      (warning) In order to To deploy a VM, you must have at least one subnet assigned to your virtual datacenter

    3. Select For the Purpose:

      1. Private: for private networks

      2. Internal HTTPS loadbalancer: for internal load balancers

      3. Private service connect: for access to Google Cloud services through a private network

      4. Regional managed proxy: for internal and regional external load balancers.

      Select Enable flow logs to , select Private

    4. To sample network traffic and store it in cloud provider logsSelect Private services access to , select Enable flow logs 

    5. To enable your VMs to connect with provider or third party networks with services through subnet addressesSelect Default virtual datacenter subnet to , select Private services access

    6. To enable users to deploy VMs with automatically assigned IP addresses, select Default virtual datacenter subnet

  7. Click Save

...

Create a virtual datacenter and virtual appliance

...

  1. To open the myCloud Virtual datacenters view, click the cloud icon

  2. Click the + add button at the bottom of the Virtual Datacenters list

  3. Select Create virtual datacenter

    Steps to create a virtual datacenterImage Modified
  4. Enter a Name, and select the Public cloud region

  5. Select the Global network and the SubnetSCREENSHOT

    Create a virtual datacenter in GCPImage Added
  6. Go to Defaults and select the Subnet

  7. Click Save

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

The virtual appliance you create will display in the Virtual Appliances list.

...

  1. To go into your virtual appliance, click Open under its Name.

    Open your virtual appliance
  2. To create a VM, click Create virtual machine and select a VM template

    1. For the Name, enter a user-friendly name for the VM that meets provider criteria

    2. Select the Availability set

    3. Click Save

      Select a template to create a VMImage RemovedSelect a template to create a VMImage Added
  3. Select an appropriate Hardware profile for your VM

    Select a hardware profile for a VM
  4. On the VM icon from the options menu, select Edit

    Edit your VM
  5. Click Network and select Private networks

    1. Drag the Auto-generated IP label into the NICs pane

      Add a private IP
  6. Select Public and click Purchase public IP

    1. Click the + add button

    2. Select the Resource group and IP type

      Create a public IP
    3. Click Accept

    4. Select an IP address and click Add

  7. Drag the public IP into the NICs pane. Select the VNIC Sequence of 0 and click Accept

    Add a public IP to the VM
  8. Click Save

  9. To go out of the virtual appliance, click the Name of the virtual datacenter or the myCloud icon

    Go back to the virtual datacenter

...

  • From outside the virtual appliance, on the options menu, select Deploy.

    From the virtual appliance options menu, select DeployImage RemovedFrom the virtual appliance options menu, select DeployImage Added
  • 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.

    Deploy a virtual applianceImage RemovedDeploy a virtual applianceImage Added

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.

...

  1. Go to Virtual datacenters and open the Virtual appliance

  2. Select the VM

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

  4. To open the remote connection, click the console button

    Get remote access credentials and connect to your VMImage RemovedGet remote access credentials and connect to your VMImage Added
  5. A console should open to allow you to connect to your VM. The platform will automatically complete the Username.

  6. For Linux VMs, enter the SSH private key (also called the Decryption key).
    For Windows VMs on Azure, enter the Password.

    Enter credentials for Linux remote access on AzureImage RemovedEnter credentials for Linux remote access on AzureImage Added

    The console will open to let you work on your VM.

    A Linux VM console on AzureImage RemovedA Linux VM console on AzureImage Added

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.

...