AliyunServiceRoleForECSImageBuilder is a service-linked role provided by Resource Access Management (RAM) to grant Image Builder the access permissions on Alibaba Cloud resources to create, share, and distribute images. This topic describes how to use the AliyunServiceRoleForECSImageBuilder service-linked role to grant Image Builder the access permissions on Alibaba Cloud resources.
Prerequisites
{
"Statement": [
{
"Action": [
"ram:CreateServiceLinkedRole"
],
"Resource": "acs:ram:*:<account ID>:role/*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": [
"imagebuilder.ecs.aliyuncs.com"
]
}
}
}
],
"Version": "1"
}
Background information
Image Builder can assume the AliyunServiceRoleForECSImageBuilder role to gain access to Operation Orchestration Service (OOS), Elastic Compute Service (ECS), and Virtual Private Cloud (VPC).
Create the AliyunServiceRoleForECSImageBuilder role
Delete the AliyunServiceRoleForECSImageBuilder role
After you delete the AliyunServiceRoleForECSImageBuilder role, Image Builder cannot create, share, or distribute images.