All Products
Document Center

OpenSearch:Prepare an Alibaba Cloud account

Last Updated:Feb 01, 2023

This topic describes how to create an Alibaba Cloud account and create an AccessKey pair for the account.


1. Create an Alibaba Cloud account. Go to the official website of Alibaba Cloud. In the upper-right corner, click Free Account. On the page that appears, enter the required information to create an Alibaba Cloud account.

  • The Alibaba Cloud account owner has full operational control over all purchased resources. To ensure the security of your account, we recommend that you change your password on a regular basis and do not share your account with other users.

  • You can use only your Alibaba Cloud account to purchase and connect to an OpenSearch instance.

2. Complete real-name verification. Go to the real-name verification page and complete the verification.

  • If you are an enterprise user, we recommend that you complete enterprise verification for more benefits. For more information, see

    Real-name registration FAQs.

  • You must complete real-name verification before you can purchase and use Alibaba Cloud services.

3. Create an AccessKey pair. To call the OpenSearch API, you must create an AccessKey pair for your Alibaba Cloud account. Unlike the username and password that you use to log on to the Alibaba Cloud Management Console, an AccessKey pair is used to connect to development or BI tools. An AccessKey pair consists of an AccessKey ID and an AccessKey secret. To create an AccessKey pair, perform the following steps:

  • After an AccessKey pair is created for your Alibaba Cloud account, keep the AccessKey ID and AccessKey secret confidential. If the AccessKey ID or AccessKey secret is or may have been disclosed, change the AccessKey pair at the earliest opportunity.

  • If you do not want to use the Alibaba Cloud account to directly call the OpenSearch API, you can call the API as a RAM user. You must create a RAM user and grant permissions to the RAM user first. For more information, see Create a RAM user and Grant permissions to the RAM user.

a. Log on to the OpenSearch console. Move the pointer over the profile picture in the upper-right corner, and click AccessKey Management.


b. In the Note message, click Use Current AccessKey Pair.


c. On the AccessKey Pair page, click Create AccessKey.


d. In the Safety Verification dialog box, click Get code.

e. Enter the verification code in the Verification Code field and click Submit.

f. In the Create AccessKey Pair message, view the AccessKey pair that you created.



After the AccessKey pair is created, view the status of the AccessKey pair on the AccessKey Pair page. You can also click Disable or Delete in the Actions column to disable or delete the AccessKey pair.


  • If you disable the AccessKey pair, all the services that use the AccessKey pair fail to run and report errors. Therefore, when the status of the AccessKey pair changes, you must check the status of services that use the AccessKey pair and recover the services at the earliest opportunity.