This topic describes how to use and delete the service-linked role AliyunServiceRoleForAnalyticDBForMySQL of AnalyticDB for MySQL.
Background information
To implement a feature, AnalyticDB for MySQL may require permissions to access other Alibaba Cloud services. The service-linked role AliyunServiceRoleForAnalyticDBForMySQL is a Resource Access Management (RAM) role that authorizes AnalyticDB for MySQL to access such services. For more information, see Service-linked roles.
Role description
Role name: AliyunServiceRoleForAnalyticDBForMySQL
Policy attached to the role: AliyunServiceRolePolicyForAnalyticDBForMySQL
Permission description:
Log on to the RAM console.
In the left-side navigation pane, choose Identities > Roles.
On the Roles page, enter AliyunServiceRoleForAnalyticDBForMySQL in the search box and click the name of the role.
On the Permissions tab, click the policy that you want to manage.
On the Policy Document tab, view the permission description.
Delete the service-linked role
Before you delete the AliyunServiceRoleForAnalyticDBForMySQL role, you must release all the clusters that depend on the role.
For information about how to delete an AnalyticDB for MySQL cluster, see Delete or unsubscribe from a cluster.
For information about how to delete a service-linked role, see the "Delete a service-linked role" section of the Service-linked roles topic.