GCP - Linking, Provisioning, and Importing Server

Linking and Importing from Google Cloud

In this article, we are going to show how to link your Google Cloud Account with UCX Cloud and how to import and create infrastructure directly from the dashboard.

  1. Log in to your account: UCXMarket

CF172DCC-70C5-4812-A6F5-DCB0F0A50C13.png

  1. After you log in, go to Cloud Manager:

4AB266E8-DEC4-4A57-A448-2F3106429634.png

  1. Now we need to link our GCP account with UCX Cloud. Click Link Account:

EBEFEAFA-F291-44B3-9AC4-73B2DA0240DA.png

  1. From the partner list, select Google Cloud:

162AE151-EA1F-41EA-9751-456073FCA93F.png

  1. Enter your GCP details:

49C0E3CD-6CEA-4342-828C-DA9C6DC4BB9D.png

  1. Now we need to generate a .json file that will connect to GCP. Log in to the GCP Console on your project, go to IAM & Admin, and then select Service Accounts:

8D13C597-8A3B-4625-A241-9F34D4ECEA50.png

  1. Now we need to create a service account. Click on Create service account, enter the service account details, and click CREATE:

5B01A10F-A145-4CF9-BC54-EB489486D49D.png

Next, we will assign permissions to the service account on the filter input. Select Compute Admin and click on CONTINUE:

B240896E-16E2-438A-80C6-7D212EF0EE72.png

The next step is very important. We need to create a key and download the .json file. Click on the + CREATE KEY button, select JSON as a format, and click CREATE. This file saves the private key on your computer, which will be used on UCX Cloud.

377F92F0-6560-40E8-B35C-051E182A9C83.png

  1. Back on UCX Cloud, import the .json file we got from GCP. If you want to import your infrastructure to UCX Cloud make sure to check Import my cloud infrastructure and click Next:

32B247F7-95BA-487D-9D92-029646F84405.png

After e few seconds, your account should be linked:

3F40DE46-D44D-45B2-A573-CA0263247C3C.png

Clicking Back to Cloud Manager shows the list of accounts you have linked with UCX Cloud. Click on the Servers navigation link to see your infrastructure.





  1. If you checked the import my cloud infrastructure box, you will see your servers in this view. It shows all the different servers that you have from different cloud providers. (AWS/DigitalOceanAlibabaCloud/Packet).

Deploying a server is easy with UCX Cloud

Click on the Deploy server button:



  1. Select one of the partners - In our case we are choosing Google Cloud:

C8B6EB00-7660-42B6-909F-45B81713ABF2.png

  1. Select one of the products:

D1885E91-6979-46FA-B3E5-D1D6FC9E09E6.png

  1. Choose your hourly or monthly term. Select datacenter/location and the image you want to have installed on your server. You can also choose the server quantity in case you want to deploy multiple servers:

7F4C57DB-6764-4A34-95B3-D2BDD7139EE2.png

  1. Select the account you have linked and check the Grant UCX access box if you want to be able to manage the server from UCX Cloud. The next step adds a secure way to connect to your server. We have a few options here:
  • Add your SSH Key locally from your computer.
  • Select existing SSH Key from your UCX Cloud account.
  • Generate SSH Key - Have the key be generated from UCX Cloud. This will give you an option to download the private key locally.

Before proceeding with the deployment you have to name the server - This is the Hostname. After you fill in the form, click on Confirm and Deploy:

screencapture-qa-cloud-ucxmarket-deploy-servers-2020-05-07-09_43_22.png

  1. Next, you will be redirected to the servers view. It takes a couple of seconds for the server to be ready (green).

Here, you can also execute a set of operations to your server. Click on the three dots to the right of your server and you will see the options for delete, stop, start, and restart:

77C332BF-7D30-4EAF-96CC-85658B0374E6.png

  1. To get more details for the server and use UCX Access, click on the server name. This is a more detailed view of the server and gives you the option to use UCX Cloud Console and add SSH key. Click on Access to have the console open:

screencapture-qa-cloud-ucxmarket-server-details-498-2020-05-07-09_49_40.png

UCX Console:

66B7DFEF-744F-41FA-A582-5AD1FF2C24CB.png

*Add additional SSH keys to the server *:

678D38E3-ACD8-4D64-98D2-F20E9B12ED3F.png

  1. From the server view on UCX Cloud, you can also go to settings.

Here, you can add additional SSH keys too.  Remove UCX Access this will remove the options to manage the server remotely from UCX Cloud. You also have the option to Delete Server:

7C5644D3-F0C2-46A7-927B-883923D48944.png

  1. Un-linking your Google Cloud Account can be done in a few clicks. Go back to Cloud Accounts on the left navigation menu, click the three dots on the account you want to remove, and then click Delete.

C013C650-AE02-4D31-9234-105DB0C4A7A0.png

You will be asked to confirm the removal of the account. After the account is removed, all cloud infrastructure gets removed from your UCX Account but still remains on your Google Cloud account.

C8A1471E-4061-427B-9738-1289AFED1511.png

Still need help? Contact Us Contact Us