This topic describes the application scenarios of the service linked role AliyunServiceRoleForADBPG of AnalyticDB for PostgreSQL and provides guidance on how to delete the role.

Application scenarios

To implement some features, AnalyticDB for PostgreSQL uses the service linked role named AliyunServiceRoleForADBPG to access other Alibaba Cloud services. The service linked role is a type of Resource Access Management (RAM) role. For more information, see Service-linked roles.

Role description

Role name: AliyunServiceRoleForADBPG

Permission policy attached to the role: AliyunServiceRolePolicyForADBPG

Permission description:

  "Version": "1",
  "Statement": [
      "Action": [
      "Resource": "*",
      "Effect": "Allow"
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": ""

Delete the service linked role

Before you delete the AliyunServiceRoleForADBPG role, release all the instances that the role is bound to.