Updated on 2023-04-25 GMT+08:00

Quick Deployment

This section describes how to deploy the Serverless Video Transcoding solution.

Table 1 Parameter description

Parameter

Type

Mandatory

Description

Default Value

src_video_bucket_name

String

Yes

Name of an OBS bucket for storing the original videos. The name must be unique and can contain 3 to 55 characters, including lowercase letters, digits, and hyphens (-). Do not start or end with a hyphen.

Left blank

transcode_bucket_name

String

Yes

Name of an OBS bucket for storing transcoded videos. The name must be unique and can contain 3 to 56 characters, including lowercase letters, digits, and hyphens (-). Do not start or end with a hyphen.

Left blank

dst_format

String

Yes

Target format to transcode videos to. For example, avi, flv, and m3u8.

Left blank

dst_height

String

Yes

Target resolution height to transcode videos to. For example, 720.

Left blank

dst_width

String

Yes

Target resolution width to transcode videos to. For example, 1280.

Left blank

  1. Log in to Huawei Cloud Solution Best Practices, choose Serverless Video Transcoding, and click Deploy.

    Figure 1 Selecting a solution

  2. On the Select Template page, click Next.

    Figure 2 Selecting a template

  3. On the Configure Parameters page, configure parameters by referring to Table 1 and click Next.

    Figure 3 Configuring parameters

  4. On the displayed page, select rf_admin_trust from the Agency drop-down list and click Next.

    Figure 4 Configuring a stack

  5. On the Confirm Configurations page, click Create Execution Plan.

    Figure 5 Confirming configurations

  6. In the displayed Create Execution Plan dialog box, enter an execution plan name and click OK.

    Figure 6 Creating an execution plan

  7. Click Deploy. In the displayed dialog box, click Execute.

    Figure 7 Execution Plans tab
    Figure 8 Confirming the execution plan

  8. Click the Events tab and check whether the message "Apply required resource success." is displayed. If yes, the solution is successfully deployed.

    Figure 9 Solution deployed