By default, Resource Access Management (RAM) users cannot change the metering method of Alibaba Cloud CDN. After you attach the AliyunCDNFullAccess policy to a RAM user, the RAM user can change the metering method.
You can use the following methods to change the metering method of Alibaba Cloud CDN:
Method 1: Log on to the Alibaba Cloud CDN console with your Alibaba Cloud account
Log on to the Alibaba Cloud CDN console with your Alibaba Cloud account and change the metering method of Alibaba Cloud CDN-accelerated domain name. For more information, see Change the metering method.
Method 2: Create a custom policy on the JSON tab
For information about how to create a custom policy, see Create a custom policy on the JSON tab. For information about how to write a script, see Alibaba Cloud CDN custom policies. After you create a custom policy, attach the custom policy to the RAM user in the RAM console.