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

Quick Deployment

This section describes how to deploy the Serverless Real-Time Log Analysis solution.

Table 1 Parameter description

Parameter

Type

Mandatory

Description

Default Value

function_name

String

Yes

Function name, which identifies a function and serves as the prefix of other resource names. It must be unique and can contain 2 to 53 characters, including letters, digits, underscores (_), and hyphens (-). Start with a letter.

serverless-real-time-log-analysis-demo

lts_bucket_name

String

Yes

Name of an OBS bucket to upload alarm logs to. It must be unique and can contain 3 to 59 characters, including lowercase letters, digits, hyphens (-), and periods (.).

Left blank

lts_name

String

Yes

Log group and log stream prefix. It must be unique and can contain 1 to 57 characters, including letters, digits, hyphens (-), underscores (_), and periods (.). Do not start with a period or underscore, or end with a period.

serverless-real-time-log-analysis-demo

smn_name

String

Yes

Topic name, which cannot be modified once the topic is created. The name can contain 1 to 255 characters, including letters, digits, hyphens (-), and underscores (_), and must start with a letter or digit. Modifying this parameter will create a resource.

serverless-real-time-log-analysis-demo

email

String

Yes

Email address for receiving alarms.

Left blank

  1. Log in to Huawei Cloud Solution Best Practices, choose Serverless Real-Time Log Analysis, and click Deploy.

    Figure 1 Selecting a solution

  2. On the Select Template page, click Next.

    Figure 2 Selecting a template

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

    Figure 3 Configuring parameters

  2. On the Configure Stack page, select the rf_admin_trust agency and click Next.

    Figure 4 Advanced settings

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

    Figure 5 Confirming configurations

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

    Figure 6 Creating an execution plan

    Figure 7 Execution plan created

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

    Figure 8 Confirming the execution plan

  3. Wait until deployment is completed, and click the Events tab to view details.

    Figure 9 Resources created