Before you create a cluster, you need to add hosts to OCP. To create a cluster of the 1-1-1 architecture, add four hosts, with one host for each zone and one host for deploying an OBProxy.
Prerequisite
You have logged in to the OceanBase Cloud Platform (OCP) console and been assigned the ADMIN or ORG_ADMIN role.
Procedure
Log on to the OceanBase Cloud Platform (OCP) console.
In the left-side navigation pane, click
Hosts .In the upper-right corner of the page, click
Add Host .
Enter the IP address and SSH port number. Enter the IPv4 address of the new host. The SSH port number is 22 by default.
Select the host type. If the list does not include the corresponding host type, click Create Host Type to create a host type on OCP.
A host type is a label that you specify for hosts with the same configurations. We recommend that you specify a meaningful host type to facilitate host management.

Select the IDC. If the list does not include the corresponding IDC, you can click Create IDC to create an IDC on OCP.
The region means the geographical region where the host is located. One physical region can have one or more physical IDCs.
The region and IDC are referenced in OceanBase load balancing and SQL statement routing policies. Specify the actual region and IDC.
Note
OCP V3.1.1 and later support multi-zone mode. When you add an IDC, it is created in the zone where the current OCP is deployed.

Select the credential for logging on to the host from the
Credential s drop-down list.
Parameter Description Credential Name The name must start with a letter and end with a letter or a digit. It can contain letters, digits, and underscores (_). It must be 2 to 32 characters in length. Authorization Type Two authorization types are supported: username/password and SSH private key. User Type Two types of users are supported: root user and general user. If you select a general user, you must grant the user the permission to run sudo commands without the password. Optional. Enter the host description.
Click
OK .