ROS integration example
This topic describes how a RAM user can use Resource Orchestration Service (ROS) to create an Lindorm instance.
Prerequisites
To use Resource Orchestration Service (ROS), you must create a RAM user and grant it the following permissions.
The
AliyunROSFullAccesspermission to manage all operations of Resource Orchestration Service (ROS).The
AliyunLindormFullAccesspermission to manage all operations of Lindorm.NoteFor demonstration purposes, this example uses the
AliyunLindormFullAccesspermission policy. In a production environment, we recommend that you grant only the required permissions before you make API calls. For more information about the permission policies for Lindorm, see System policies.
Procedure
Log on to the Resource Orchestration Service (ROS) console. In the top navigation bar, click Region and select the desired region.
In the left-side navigation pane, click Stacks and choose .
Specify Template: Select Existing Template.
Template Source: Select Enter Template.
For Template Content, select ROS and enter the template code. The following template creates a Lindorm instance.
NoteThe template in this example creates a Lindorm instance with the following specifications: the billing method is pay-as-you-go, the storage type is ultra disk, multiple engines are enabled (including two Lindorm Search nodes and two time-series nodes), and the instance storage capacity is 480 GB. You can modify the parameter values or add other parameters based on your business requirements. For parameter descriptions, see ALIYUN::Lindorm::Instance.
Click Next.
On the Create Stack page, configure the following parameters:
Parameter
Description
Stack name
The name of the ROS stack.
VPC ID
Select the VPC for the Lindorm instance.
VSwitch ID
Select the VSwitch for the Lindorm instance.
Zone ID
Select the availability zone for the Lindorm instance.
Click Create. A Status of Create_Success indicates that the stack is created.
Click the Outputs tab to view the Lindorm instance ID and JDBC connection URLs. You can also view the instance details in the Lindorm console as follows:
Log on to the Lindorm console.
In the upper-left corner of the page, select the region where the instance is deployed.
On the Instances page, find your instance and click its ID to open the Instance Details page.