GCP - Linking, Provisioning, and Importing Server

To link your Google Cloud Account with UCX Cloud, import and create infrastructure directly from the dashboard, proceed with following steps.

  1. Log in to your account: UCXMarket

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

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

  4. From the partner list, select Google Cloud:

  5. Enter your GCP details:

  6. 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:

  7. Now we need to create a service account. Click on Create service account, enter the service account details, and click Create:Next, assign permissions to the service account on the filter input. Select Compute Admin and click on Continue: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.

  8. 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:After a few seconds, your account should be linked: Click Back to Cloud Manager to access the list of accounts you have linked with UCX Cloud. Click on the Servers navigation link to see your infrastructure.

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

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

  11. Select one of the products:

  12. Choose your hourly or monthly term. Select data center/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:

  13. 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 the 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:

  14. 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:

  15. 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 keys. Click on Access to have the console open:UCX Console:
    Add additional SSH keys to the server:

  16. From the server view on UCX Cloud, you can also go to settings.
    Here, you can add additional SSH keys too. The Remove UCX Access setting will remove the options to manage the server remotely from UCX Cloud. You also have the option to Delete Server:

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

Next article >>

Still need help? Contact Us Contact Us