Help Center> Config> Getting Started

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.

Figure 1 RMS 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.

  1. Log in to the management console.
  2. 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.

  3. In the left navigation pane, choose Resource Recorder.
  4. 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.

  1. Select the monitoring scope.

    All resources supported by RMS are monitored by default. You can modify the monitoring scope and select specific resources.

  2. 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.

  3. 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.

  4. 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.

  5. Click Save.

Adding an Assignment

  1. In the left navigation pane, choose Resource Compliance .
  2. Click Add Assignment.

    For details about parameter settings, see Table 1.

  3. After you configure basic details, click Next in the lower right corner of the page.

    Figure 5 Configure Basic Details

  4. On the Configure Assignment Parameters page displayed, configure parameters .

    For details, see Table 2.

  5. Click Next.

    Figure 6 Configure Assignment Parameters

  6. 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.

Table 1 Basic configuration parameters

Parameter

Description

Example Value

Policy Type

Possible values are:

  • Built-in policy

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

Table 2 Parameter descriptions

Parameter

Description

Example Value

Trigger Type

Specifies the condition for triggering the assignment.

Possible values are:

  • Configuration change: The assignment is triggered when a specific cloud resource is changed.

Configuration change

Filter Type

Specifies the resources to evaluate.

Possible values are:

  • Specific resources: All resources of a specific resource type will be evaluated.
  • All resources: All resources under your account will be evaluated.

Specific resources

Resource Scope

If you have set Filter Type to Specific resources, you need to specify a resource scope.

  • Service: Select the service the resource belongs to.
  • Resource type: Select the resource type of the corresponding service.
  • Region: Select the region where the resource is located.

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.

  • For example, if you select policy required-tag-check and Keywords is tag, you need to specify a tag key and a tag value here. Then, resources that do not have this tag are non-compliant.
  • Not all built-in policies have parameters to be configured. For example, if you select policy volumes-encrypted-check, you do not need to configure any assignment parameters.

N/A

Viewing Evaluation Results

After the resource compliance evaluation is complete, you can view the evaluation results.

  1. Go to the Resource Compliance page.
  2. Click the name of the assignment you want to view.
  3. 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.