Getting Started
If you are new to RMS, this section will help you quickly get familiar with main functions of this service.
The following flowchart shows the operation process.
Enabling the Resource Recorder
After the resource recorder is enabled, you will receive notifications of resource changes (creation, modification, and deletion) and resource relationship changes, and the resource change notifications and snapshots of your resources will be dumped into an OBS bucket periodically.
- Log in to the management console.
- In the upper right corner of the page, choose Resources > My Resources. Figure 2 RMS service entry
If the resolution of the screen is low, in the upper right corner of the page, choose More > Resources > My Resources.
Figure 3 RMS service entry (low resolution)
Alternatively, click
in the upper left corner of the page. In the service list that is displayed, under Management & Deployment, select Resource Management Service. - In the left navigation pane, choose Resource Recorder.
- Enable the resource recorder. Figure 4 Enabling the resource recorder
Configuring the Resource Recorder
After you enable the resource recorder, you need to set required configurations on the Resource Recorder page.
- Select the monitoring scope.
All resources supported by RMS are monitored by default. You can modify the monitoring scope and select specific resources.
- Select an SMN topic.
Select a region and an SMN topic for receiving notifications of any changes to resources. If no SMN topic is available, create one. For details about how to create an SMN topic, see Simple Message Notification User Guide.
After you create a topic, you must add subscriptions to the topic and confirm the subscriptions. For details, see Simple Message Notification User Guide.
- Enable Data Dump.
Select an OBS bucket in the current region for storing resource change notifications and resource snapshots. If no OBS bucket is available, create one. For details about how to create an OBS bucket, see Object Storage Service User Guide.
- Select Quick granting.
If you select Quick granting, the system automatically creates an agency named rms_tracker_agency to grant the minimum permissions required for the resource recorder to work properly. With the permissions, RMS can use SMN to send notifications and dump resource snapshots in the OBS bucket.
- Click Save.
Adding an Assignment
- In the left navigation pane, choose Resource Compliance .
- Click Add Assignment.
For details about parameter settings, see Table 1.
- After you configure basic details, click Next in the lower right corner of the page. Figure 5 Configure Basic Details
- On the Configure Assignment Parameters page displayed, configure parameters .
For details, see Table 2.
- Click Next. Figure 6 Configure Assignment Parameters
- On the Confirm page displayed, confirm the assignment information and click Submit. Figure 7 Confirm
Figure 8 Assignments
After you add an assignment, the evaluation is automatically triggered immediately.
| Parameter | Description | Example Value |
|---|---|---|
| Policy Type | Possible values are:
| Built-in policy |
| Built-in policy | Specifies the policy that has been developed for a service. You can use the built-in policies to quickly add assignments. For details about the preset policies, see Built-in Policies | volumes-encrypted-check |
| Assignment Name | By default, the assignment name is the same as the selected policy name. You can also customize the assignment name. There are no restrictions on the assignment name. | volumes-encrypted-check |
| Description | By default, the assignment description is the same as the description of the selected policy. You can also customize the assignment description. There are no restrictions on the assignment description. | The mounted EVS disk is non-compliant if it is not encrypted |
| Parameter | Description | Example Value |
|---|---|---|
| Trigger Type | Specifies the condition for triggering the assignment. Possible values are:
| Configuration change |
| Filter Type | Specifies the resources to evaluate. Possible values are:
| Specific resources |
| Resource Scope | If you have set Filter Type to Specific resources, you need to specify a resource scope.
| N/A |
| Filter Scope | After you enable Filter Scope, you can filter resources by resource ID or tag. You can specify a specific resource for compliance evaluation. | Filter Scope is disabled by default. |
| Configure Assignment Parameters | Specifies the parameter configuration for the built-in policy you selected in step Configure Basic Details.
| N/A |
Viewing Evaluation Results
After the resource compliance evaluation is complete, you can view the evaluation results.
- Go to the Resource Compliance page.
- Click the name of the assignment you want to view.
- View the evaluation results on the displayed Assignment Details page.
An assignment has the following statuses:
- Running: The assignment is available.
- Disabled: The assignment is disabled.
- Evaluating: The assignment is being used for resource compliance evaluation.
During the evaluation, the assignment is in the Evaluating status. After the evaluation is complete, the assignment state changes to Running. At this time, you can view the evaluation results.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.