Configure Alibaba Cloud Video
If you have exhausted your free video traffic quota, configure Alibaba Cloud Video. This topic provides usage rules and step-by-step instructions.
Key concepts
-
video space: The free video storage capacity allocated to your site. This capacity is not affected by service renewals.
-
total traffic: The total amount of free data transfer available for your site. This amount increases when you renew your service.
Procedure
-
Click Activate ApsaraVideo for VOD. On the ApsaraVideo for VOD page, purchase a package that suits your needs.
Note-
traffic package: Purchase a traffic package if your video space is sufficient, but you have used up the traffic quota included with your plan. This keeps your videos playable.
-
transcoding package and storage package: Purchase these packages if you have reached your plan's storage limit and need to upload more videos. This enables you to upload videos directly to Alibaba Cloud.
-
-
Add a domain name. In the ApsaraVideo for VOD console, click in the left-side navigation pane. Fill in the required information and click Submit.
NoteUse the following information to add the domain name:
-
For the domain name, prefix your website's domain with
v.. For example:v.kkk.xyz. -
Type: Select OSS domain name.
-
Port: Enter 80.
-
Acceleration region: Select an option based on your needs.
-
-
On the ApsaraVideo VOD console page, copy the system-generated CNAME record value (hover over the eye icon and click the rightmost icon to copy).
-
Return to the Alibaba Cloud console. In the left-side navigation pane, under Products and Services, search for and click Domain Name to open the Domain Name Console. On the Domain Name List page, find your domain name and click DNS Settings to its right. On the DNS Settings page, click Add Record.
NoteConfigure the new record with the following information:
-
Record type: Select CNAME.
-
Host record: Enter v.
-
Record value: Paste the CNAME record value that you copied earlier.
-
Leave all other fields with their default values.
-
-
To configure Alibaba Cloud APIs, move the pointer over the avatar in the upper-right corner of the Alibaba Cloud console and click to go to the Users page.
Note-
For security, use a RAM user for authorization and grant only the necessary VOD permissions to this user.
-
When creating the user, select Console Password Logon for Access Mode.
-
-
Grant permissions to a RAM user: On the Users page, create a RAM user. After the user is created, click Add Permissions, search for AliyunVODFullAccess, select the permission, and then confirm the authorization.
-
To obtain an AccessKey ID and an AccessKey Secret, click your User Login Name, and then click .
-
Return to the Alibaba Cloud Video configuration page in your website's backend and enter the AccessKey ID and AccessKey secret.