By default, Resource Access Management (RAM) users cannot change the metering method of Alibaba Cloud CDN. To grant this permission, attach the AliyunCDNFullAccess managed policy to the RAM user.
Grant permission using the AliyunCDNFullAccess policy
Attach the AliyunCDNFullAccess policy to the RAM user in the RAM console. After the policy is attached, the RAM user can change the metering method in the Alibaba Cloud CDN console. For instructions, see Change the metering method.
Grant permission using a custom policy
If you want to grant only the permissions needed to change the metering method, create a custom policy on the JSON tab in the RAM console.
For instructions on creating a custom policy, see Create a custom policy on the JSON tab. For CDN-specific policy syntax and examples, see Alibaba Cloud CDN custom policies.
After creating the policy, attach it to the RAM user in the RAM console.
Use your Alibaba Cloud account directly
To change the metering method without configuring RAM permissions, log on to the Alibaba Cloud CDN console with your Alibaba Cloud account. For instructions, see Change the metering method.