Updated on 2024-09-12 GMT+08:00

Access Process

Access Process

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 delivery of resources on 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 a 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

Configuring a CNAME Record

If you have added a domain name, the system automatically assigns a CNAME to it. The CNAME cannot be accessed directly. Add this CNAME 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.

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 enabling 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 are 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.