This topic describes how to attach Resource Access Management (RAM) policies to RAM users to manage the permissions of the RAM users on ApsaraDB RDS instances.
Introduction
Alibaba Cloud allows you to use RAM policies to improve the security of RDS instances. You can use RAM policies to grant different permissions to RAM users on RDS instances. For more information, see RAM policies for ApsaraDB RDS.
Note For more information about RAM policies, see Policy overview.
Procedure
RAM policies for ApsaraDB RDS
Item | Policy | Code | Description |
---|---|---|---|
Instance creation | CreateRdsWithNonDiskEncryptionForbidden |
|
This policy is used to prevent users from creating RDS instances that do not use encrypted
disks.
Note This policy takes effect only when users create primary RDS instances. This policy
does not take effect when users create read-only RDS instances or restore data to
new RDS instances.
|
CreateRdsWithNonVPCNetworkTypeForbidden |
|
This policy is used to prevent users from creating RDS instances whose network types
are not Virtual Private Cloud (VPC).
Note This policy takes effect only when users create primary RDS instances. This policy
does not take effect when users create read-only RDS instances or restore data to
new RDS instances.
|
|
Network configurations | DatabaseConnectionNonVPCNetworkTypeForbidden |
|
This policy is used to prevent users from changing the network type of RDS instances to classic network. |
Security configurations | DataSecuritySSLDisabledForbidden |
|
This policy is used to prevent users from disabling SSL encryption for RDS instances. |
DataSecurityTDEDisabledForbidden |
|
This policy is used to prevent users from disabling Transparent Data Encryption (TDE) for RDS instances. | |
Database proxy configurations | DatabaseProxyWithNonVPCNetworkTypeForbidden |
|
This policy is used to prevent users from specifying public endpoints when the users enable the database proxy feature for RDS instances. |
DatabaseProxyCreateEndpointAddressWithNonVPCNetworkTypeForbidden |
|
This policy is used to prevent users from specifying public endpoints when the users create endpoints to connect to the database proxies of RDS instances. | |
DatabaseProxyModifyEndpointAddressWithNonVPCNetworkTypeForbidden |
|
This policy is used to prevent users from specifying public endpoints when the users modify the endpoints that are used to connect to the database proxies of RDS instances. | |
DatabaseProxyDbProxyInstanceSslDisabledForbidden |
|
This policy is used to prevent users from disabling SSL encryption for the specified endpoints of the database proxies of RDS instances. | |
Backup-related configurations | BackupAndRestorationCrossBackupDisabledForbidden |
|
This policy is used to prevent users from disabling the cross-region backup feature for RDS instances. |
BackupAndRestorationBackupPolicyDisabledForbidden |
|
This policy is used to prevent users from disabling the log backup feature for RDS instances. | |
Event history | EventCenterActionEventEnableEventLogForbidden |
|
This policy is used to prevent users from enabling the event history feature for RDS instances. |