Prerequisites
An Alibaba Cloud account is created and the real-name verification is complete.
An AccessKey pair is created for the Alibaba Cloud account. When you create an Alibaba Cloud account and log on to the OpenSearch console by using the Alibaba Cloud account for the first time, you are prompted to create an AccessKey pair before you perform subsequent operations.
You must specify an AccessKey pair for your Alibaba Cloud account because the AccessKey pair is required when you create and use an OpenSearch instance.
After you create an AccessKey pair for your Alibaba Cloud account, you can create an AccessKey pair for a Resource Access Management (RAM) user. This way, you can access the OpenSearch instance as the RAM user. For more information about how to grant permissions to RAM users, see Create a RAM user and grant permissions to the RAM user. The RAM user must be attached with the AliyunSearchEngineFullAccess or AliyunSearchEngineReadOnlyAccess policy to access OpenSearch Retrieval Engine Edition instances.
A virtual private cloud (VPC) is created. For more information, see What is a VPC?
If you want to access an OpenSearch Retrieval Engine Edition instance as a RAM user, you must attach the AliyunSearchEngineFullAccess or AliyunSearchEngineReadOnlyAccess policy to the RAM user by using your Alibaba Cloud account.
Procedure
Log on to the OpenSearch console. In the upper-left corner, switch to OpenSearch Retrieval Engine Edition.
On the Instances page, click Create Instance.
On the buy page, select Retrieval Engine Edition as Service Edition and configure the following parameters for the instance: Region and Zone, QRS Workers, QRS Worker Specifications, Searcher Workers, Searcher Worker Specifications, Total Storage Space of Single Searcher Worker, VPC, vSwitch, Username, and Password. Then, click Buy Now. The username and password are used for permission verification in queries. We recommend that you do not specify your Alibaba Cloud account and password as the username and password.
Specify the numbers and specifications of Query Result Searcher (QRS) workers and Searcher workers that you want to purchase based on your business requirements. After you specify the specifications, the actual fee is automatically displayed on the buy page.
You must specify the same VPC and vSwitch as those of the Elastic Compute Service (ECS) instance that you use to access the OpenSearch Retrieval Engine Edition instance. Otherwise, the error {'errors':{'code':'403','message':'Forbidden'}} is returned when you access the OpenSearch Retrieval Engine Edition instance.
A free quota of storage space is provided for each Searcher worker. You can purchase more storage space in increments of 50 GB. If the total storage space exceeds the free quota, you are charged for the excess storage space.
On the Confirm Order page, check the configurations, read and agree to the service agreement, and then click Activate Now.
After you purchase the instance, click Console. On the Instances page, you can view the purchased instance.
By default, the name of the instance is automatically specified. To modify the name of the instance, click Manage in the Actions column to go to the details page of the instance.
In the Basic Information section of the Instance Details page, click the Modify icon next to the instance name. In the dialog box that appears, modify the instance name as prompted, and click Confirm.
What to do next
After you purchase an OpenSearch Retrieval Engine Edition instance, you can configure and test the instance. For more information, see Getting started.