This topic describes how a Resource Access Management (RAM) user can create an ApsaraDB for Hbase instance using Resource Orchestration Service (ROS).
Prerequisites
To use Resource Orchestration Service, you must create a RAM user and grant the user the following permissions.
The
AliyunROSFullAccesspermission to manage all operations in Resource Orchestration Service.The
AliyunHBaseFullAccesspermission to manage all operations in ApsaraDB for Hbase.NoteFor demonstration purposes, this example uses the
AliyunHBaseFullAccessaccess policy. This policy grants full control to query and modify HBase instances. Alternatively, you can use theAliyunHBaseReadOnlyAccesspermission or create a custom policy as needed. For more information, see Custom RAM authorization policies.
Procedure
Log on to the Resource Orchestration Service (ROS) console. In the top navigation bar, select a region, such as China (Shanghai).
In the navigation pane on the left, click Stacks, and then choose .
Set Specify Template to Select Existing Template.
Set Template Import Method to Enter Template.
For Template Body, select ROS and enter the template code.
NoteThe template in this example creates an ApsaraDB for HBase Enhanced Edition instance. The instance uses standard SSDs for storage, with a disk capacity of 400 GB per node. The Master instance type is 4-core 8 GB, and the core instance type is 8-core 16 GB. The cluster has two core nodes. You can modify the template parameter values or add other parameters as needed. For more information about the parameters, see ALIYUN::HBase::Cluster.
Click Next.
On the Create Stack page, set the Stack Name and configure the following template parameters:
Parameter
Description
VPC
Select the virtual private cloud (VPC) for the HBase instance.
vSwitch
Select the vSwitch for the HBase instance.
Billing Method
Select the billing method for the instance. Valid values:
Prepaid: subscription.
Postpaid: pay-as-you-go.
Zone
Select the zone for the HBase instance.
NoteThis section describes only the required parameters for this example. For more information about other HBase parameters, see Properties. For more information about the parameters for creating a stack, see Create a stack using an existing template.
Click Create. The stack is successfully created when its Status changes to Create Succeeded.
Click the Outputs tab to view the HBase instance information. For more information about the return values, see Return values.
- Log on to the ApsaraDB for HBase console.
- In the top navigation bar, select the region where the cluster that you want to manage is deployed.
On the Clusters page, find the target instance and click the instance ID to view the instance information.