AlibabaCloud - Linking, Provisioning, and Importing Server

Linking and Importing from AlibabaCloud

In this article, we are going to show how to link your AlibabaCloud 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. Select Object Storage to your left and press Deploy Bucket:

B71EBCAE-79EB-4718-BE68-E0072B193956.png

  1. From the partner list, select AlibabaCloud:

EAC13F97-B6D4-483F-8E6E-49E6BF6CC3FD.png

  1. Enter your AlibabaCloud token:

CFB72227-292B-4C50-B0A0-503B93E63374.png

  1. To create an API key, log in to AlibabaCloud console. Once you log in, search for the RAM service:

  1. Click on the Users link on the left navigation menu:

7B1CCA05-9F07-40CB-91F2-43C3A89B4413.png

  1. Click on the Create User button.

Enter Logon Name and a Display Name. Make sure you tick the Programmatic Access box - This will enable you to use API keys instead of console login.

5EA2209E-9B37-4080-B877-4DA9E1CCB88F.png

  1. Make sure you copy the AccessKey ID and the AccessKey secret and store them somewhere safe. The next step is to assign permissions to this user. Click on the link Permissions > Grants on the left navigation bar:
  1. Click on the Grant Permission button and assign the policies to our user:
  • Principal - select your user
  • AliyunECSFullAccess and AliyunVPCFullAccess

and then click OK:

77E222BE-5B6C-4CA3-ABEA-277871B89C9F.png

  1. Enter a label/name for your account and paste your AlibabaCloud API Key and Secret. If you want to import your servers from AlibabaCloud, click the Import my cloud infrastructure checkbox and click Next:

CF72C8AE-44EA-4018-AE87-6D1DB87714B5.png

After e few seconds, your account should be linked:

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

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

C7CF26F5-D7E8-4FB7-B91A-256893FFB351.png

  1. If you have 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. (GCPDigitalOceanAWS/Packet).

BC42E776-3897-4967-9898-13423F0FEDD4.png

  1. Deploying a server is very easy and straightforward with UCX Cloud:

Click on the Deploy server button:

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

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

  1. Select one of the products:

C814527C-665E-4A6E-ADFB-5AA15A18A684.png

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

B5A5A29A-A061-490D-8E0A-CCCA7E2A9CA6.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 your server - This is the Hostname. After you fill out the form, click Confirm and Deploy.

screencapture-qa-cloud-ucxmarket-deploy-servers-2020-05-07-10_54_27.png

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

From this view, 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.

BC07CEFC-4242-473D-9D54-98964F4BE091.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 Keys. Click on Access to have the console open:

screencapture-qa-cloud-ucxmarket-server-details-507-2020-05-07-11_00_28.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.

You have a few more options here. You can add additional SSH keys from this view too. Remove UCX Access will remove the options to manage the server remotely from UCX Cloud and you also have the option to Delete Server.

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

  1. Un-linking your AlibabaCloud 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.

4ED5E902-4EE9-494A-80FA-41DCCC15E546.png

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

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

Still need help? Contact Us Contact Us