Updated on 2025-08-25 GMT+08:00

Flavor Check

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

allowed-ecs-flavors

Identifier

Flavor Check

Description

If an ECS's flavor is not one of the specified flavors, this ECS is non-compliant.

Tag

ecs

Trigger Type

Configuration change

Filter Type

ecs.cloudservers

Rule Parameters

listOfAllowedFlavors: the list of allowed ECS flavors

Application Scenarios

When you are purchasing an ECS, you need to specify the CPU and memory configurations based on service requirements. If the specifications are too high, expenses will be wasted. If the specifications are too low, services will be interrupted.

There are a wide range of ECS types available to meet your compute and storage requirements. For details, see Supported ECS Types.

Solution

Scale up vCPUs and memory of your ECSs to meet service requirements. Certain ECSs also support changing ECS types during specifications modification. For details, see Modifying Specifications of Individual ECSs.

Rule Logic

  • If an ECS's flavor is one of the specified flavors, this ECS is compliant.
  • If an ECS's flavor is not one of the specified flavors, this ECS is non-compliant.