Skip to main content

ECS Instance RAM Role Attached

ID: rule:aliyun:ecs-instance-ram-role-attached
Severity: low

Description

Ensures that ECS instances have an IAM role attached for secure access to other cloud services.

Reason for Violation

Using RAM roles instead of hardcoded AccessKeys improves security by providing temporary credentials.

Recommendation

Attach a RAM role to the ECS instance.

Resource Types

  • ALIYUN::ECS::Instance
  • ALIYUN::ECS::InstanceGroup