- Documentation
Torch Object Storage
User Guide
Flow control management
Quality of Service (QoS) policies
Creating QoS policies
Quality of Service (QoS) policies
Creating QoS policies
Creating QoS policies
TOS allows you to customize a QoS policy in the visual or JSON view. This topic explains how to do so.
- The total JSON description size of QoS policies per account cannot exceed 20 KB.
- A single Statement can have at most ten resources or principals.
- If a request matches multiple QoS policies, all of the policies take effect. In this case, if the policies have the same type of QoS restriction, the restriction with the lowest quota applies.
- A QoS policy defines the bandwidth limit for specific resources under specific conditions within a region. Burst bandwidth, on the other hand, is an account's flexible upper limit at the regional level. These two concepts operate at different levels and take effect concurrently.
- For example, if an account’s intranet download bandwidth in China (Guangzhou) is 10 Gbps and its burst bandwidth is 5 Gbps, then the total intranet download bandwidth is 15 Gbps. At this time:
- If you set a QoS policy for the "my-data" bucket under this account that limits the maximum intranet read bandwidth to 2 Gbps, the system allows the "my-data" bucket a maximum intranet read bandwidth of 2 Gbps.
- If you set a QoS policy for the "my-data" bucket that limits its maximum intranet read bandwidth to 20 Gbps but the account’s total intranet download bandwidth quota is 15 Gbps, the system will allow the "my-data" bucket a maximum intranet read bandwidth of 15 Gbps.
- By default, the owner of an account has full permissions. IAM users have no permissions by default. If an IAM user needs to perform any of the following operations, the account owner must grant the user the appropriate permissions using an IAM or bucket policy.
- Set QoS policies: tos:PutQosPolicy
- View QoS policy configurations: tos:GetQosPolicy
- Delete QoS policies: tos:DeleteQosPolicy
Creating a QoS policy in visual view
- In the left navigation pane, select Flow control management > QoS policy management.
- At the top left of the QoS policy management page, select the target region.
- On the Visual view tab, click Create policy.
- On the Create QoS policy page, set the following parameters.
- After completing the settings, click Next step.
- After verifying the details, click Confirm.
Creating a QoS policy in JSON view
- In the left navigation pane, select Flow control management > QoS policy management.
- At the top left of the QoS policy management page, select the target region.
- Click the JSON view tab.
- Click Edit and enter the policy content. For more information on QoS policy parameters, see Parameters.
- Threshold‑based throttling example:
- The following statement establishes a 5,000 Mbps upload bandwidth limit for user "aaa" on the "bucketname" bucket.
- Priority‑based throttling example:
- The following statement sets the upload bandwidth limit for user "aaa" to 5,000 Mbps for buckets "bucket1", "bucket2", and "bucket3". "bucket1" has priority 1 and a guaranteed upload bandwidth of 1,000 Mbps. "bucket2" has priority 2 and a guaranteed upload bandwidth of 1,000 Mbps. "bucket3" has priority 3 and a guaranteed upload bandwidth of 3,000 Mbps.
- Save your settings by clicking Save.
- On the QoS policy management page, click the Visual view tab and then click Edit in the Actions column of the relevant policy. This will take you to the editing page where you can modify the policy.
- On the QoS policy management page, find the Visual view tab and click ... > Copy in the Actions column of the relevant policy. On the Create QoS policy page, verify that the policy details are correct, and then click Next step and Confirm.
- On the QoS policy management page, click the Visual view tab. In the Actions column of the relevant policy, click Delete. Then, confirm the deletion by clicking Delete in the box that appears.
Last updated: 2026.08.20 17:53:16