Updated on 2023-12-20 GMT+08:00

Overview

Quick Start

This section describes how to use CDN and how to select CDN billing options. If you are using Huawei Cloud CDN for the first time, you can quickly enable CDN by following the procedure described in this section to accelerate your content delivery.

Figure 1 describes the process of using CDN.

Figure 1 Process

For details about each step, see Table 1.

Table 1 Access procedure

No.

Step

Description

1

Enabling CDN

Enable CDN.

2

Adding a Domain Name

If you want to use CDN to accelerate your site, add the domain name of the site and configure origin details. CDN caches origin content on points of presence (PoPs) so that your content loads faster.

3

(Optional) Testing the Domain Name

Test your domain name before adding a CNAME record to the domain's DNS records to ensure that your domain configurations are correct.

4

Configure a CNAME record.

If you have added a domain name, the system automatically assigns a CNAME record to it. The CNAME record cannot be accessed directly. Add this CNAME record to your domain's DNS records and point the domain name to it. Then requests for your domain name will be redirected to CDN PoPs for acceleration. The CNAME configuration method varies depending on the DNS provider. Select one based on your needs.

5

Checking Whether the CNAME Record Has Taken Effect

The length of time before the CNAME record takes effect depends on the DNS provider. You can check whether the CNAME record has taken effect by yourself.

Billing Options

When buying CDN, you can choose to be billed by traffic or peak bandwidth. For details about the billing options and examples, see Billing.

By Traffic

If you choose traffic-based billing:

  • You can be billed by the traffic used per hour.
  • You can buy a CDN traffic package to get more savings. For details about traffic packages, see Prepaid Traffic Packages.

By Peak Bandwidth

You are billed by the daily peak bandwidth.