By default, ApsaraVideo VOD limits the resource usage and the number of API calls. To raise the limits, you can contact after-sales technical support or submit a ticket. In the meantime, we recommend that you describe your scenarios and expected thresholds, such as the number of domain names and the frequency of playback operation calls.
|Domain name||A maximum of 20 domain names can be configured within an Alibaba Cloud account. If your website is located in China, make sure that the domain name has an Internet content provider (ICP) filing.||For more information, see Add a domain name.|
|Resource refreshing and prefetching||You can refresh a maximum of 2,000 URLs and 100 directories and prefetch a maximum of 500 URLs per day. You cannot prefetch content based on directories.||For more information, see Refresh and prefetch.|
|Storage||A maximum of one dedicated bucket is allocated in one region.||For more information, see Manage VOD resources.|
|Category||A maximum of three levels of categories can be created in each category tree within an Alibaba Cloud account. Each category can contain a maximum of 100 subcategories.||For more information, see Manage video categories.|
|Custom tag||A maximum of 16 tags can be specified for a video.||For more information, see Manage media assets.|
|Workflow||A maximum of 20 custom workflows can be configured within an Alibaba Cloud account.||N/A|
|Transcoding template group||A maximum of 20 transcoding template groups can be configured within an Alibaba Cloud account.||For more information, see Manage transcoding settings.|
|Review, editing, and snapshot templates||A maximum of 20 templates for video reviewing, editing, or snapshot capture can be configured within an Alibaba Cloud account.||For more information, see Manage transcoding settings.|
|Transcoding templates associated with a transcoding template group||A maximum of 20 transcoding templates can be configured for a transcoding template group.||For more information, see Manage transcoding settings.|
|Watermark||A maximum of 20 watermarks can be configured within an Alibaba Cloud account.||For more information, see Manage watermarks.|
|Watermarks associated with a transcoding template||A maximum of 5 watermarks can be configured for a transcoding template.||For more information, see Manage transcoding settings.|
|Video editing||You can edit only media files that are stored in the same region.||For more information, see Edit a video file.|
|Callback URL||A maximum of one callback URL can be configured in one region within an Alibaba Cloud account.||For more information, see Configure a callback.|
Limits on server API calls
By default, ApsaraVideo VOD has limits on the frequency of calling the server API. If the number of requests for calling an API operation exceeds the limit, these excess requests are rejected.
When the limit is reached, ApsaraVideo VOD rejects the excess requests and returns a 400 status code. The error code is Throttling.User, and the error message is "Request was denied due to user flow throttling."
Limits on API operations
|Type of API operation||Frequency limit (count/s)||API operation|
|Media upload||100||CreateUploadVideo, RefreshUploadVideo, CreateUploadImage, CreateUploadAttachedMedia, UploadMediaByURL, and RegisterMedia|
|Audio and video playback||300||GetPlayInfo and GetVideoPlayAuth|
|High-frequency query||100||API operations for querying media assets and video AI jobs, such as SearchMedia and GetVideoInfo|
|Configuration management||10||API operations for configuring transcoding templates, snapshot templates, video watermarks, video AI templates, and domain names, such as AddTranscodeTemplateGroup|
|Other API operations||30||API operations for submitting transcoding jobs, capturing snapshots, calling video AI, reviewing videos, modifying or deleting videos, and editing or merging videos, such as DeleteVideo and SubmitTranscodeJobs|
Limits on IP addresses
By default, the number of requests from an IP address is limited to 300 per second. Note that the limit is applicable to Internet egress IP addresses.