Updated on 2025-02-10 GMT+08:00

MRS Clusters Are in Specified VPCs

Rule Details

Table 1 Rule Details

Parameter

Description

Rule Name

mrs-cluster-in-vpc

Identifier

mrs-cluster-in-vpc

Description

If an MRS cluster is not in the specified VPC, this cluster is noncompliant.

Tag

mrs

Trigger Type

Configuration change

Filter Type

mrs.mrs

Configure Rule Parameters

vpcId: VPC ID of an MRS cluster

Applicable Scenario

A VPC is a private network on the cloud. You can create VPCs to logically isolate your MRS clusters. For more details, see What Is Virtual Private Cloud?

Solution

You cannot change the VPC of an MRS cluster. Exercise caution when selecting a VPC when creating resources. However, changing VPC subnets is supported. For details, see Changing the VPC Subnet of an MRS Cluster.

Rule Logic

  • If an MRS cluster is not in the specified VPC, this cluster is noncompliant.
  • If an MRS cluster is in the specified VPC, this cluster is compliant.