All Products
Search
Document Center

Cloud Config:resources-inherit-resourcegroup-from-ecs-instance

Last Updated:Nov 08, 2023

Checks whether related resources are associated with Elastic Compute Service (ECS) instances and whether resource information is consistent with resource group information if the related resources inherit the resource group to which the ECS instances belong. If so, the evaluation result is Compliant.

Scenarios

Placing ECS instances and related resources in the same resource group facilitates resource management, simplifies permission control, improves availability and fault tolerance, and facilitates resource sharing and collaboration.

Risk level

Default risk level: medium.

When you apply this rule, you can change the risk level based on your business requirements.

Compliance evaluation logic

  • If related resources are associated with ECS instances and resource information is consistent with resource group information when the related resources inherit the resource group to which the ECS instances belong, the evaluation result is Compliant.

  • If related resources are not associated with ECS instances or resource information is not consistent with resource group information when the related resources inherit the resource group to which the ECS instances belong, the evaluation result is Non-compliant.

Rule details

Item

Description

Rule name

resources-inherit-resourcegroup-from-ecs-instance

Rule ID

resources-inherit-resourcegroup-from-ecs-instance

Tag

ECS and Tag

Automatic remediation

Supported

Trigger type

Periodic execution

Evaluation frequency

Every 24 hours

Supported resource type

  • ECS disk

  • ECS elastic network interface (ENI)

  • Elastic IP address (EIP)

Input parameter

None