Tencent Cloud EdgeOne

Tencent Cloud EdgeOne
Getting Started
Product Documentation©2013-2022 Tencent Cloud. All rights reserved.

Page 1 of 26

Tencent Cloud EdgeOne

Copyright Notice©2013-2024 Tencent Cloud. All rights reserved.
Copyright in this document is exclusively owned by Tencent Cloud. You must not reproduce, modify, copy or distributein any way, in whole or in part, the contents of this document without Tencent Cloud's the prior written consent.
Trademark Notice

All trademarks associated with Tencent Cloud and its services are owned by Tencent Cloud Computing (Beijing)
Company Limited and its affiliated companies. Trademarks of third parties referred to in this document are owned bytheir respective proprietors.
Service Statement
This document is intended to provide users with general information about Tencent Cloud's products and services
only and does not form part of Tencent Cloud's terms and conditions. Tencent Cloud's products or services are
subject to change. Specific products and services and the standards applicable to them are exclusively provided for in
Tencent Cloud's applicable terms and conditions.

©2013-2022 Tencent Cloud. All rights reserved.

Page 2 of 26

Tencent Cloud EdgeOne

Contents
Getting Started
Quick Start
Quick access to L4 proxy service©2013-2022 Tencent Cloud. All rights reserved.

Page 3 of 26

Tencent Cloud EdgeOne

Getting Started
Quick Start：

Last updated 2023-12-07 10:11:57
This document describes how to add a site to Tencent Cloud EdgeOne and enable secure acceleration, so that you
can get a quick start with the EdgeOne service.

EdgeOne brings the following benefits to your site:
EdgeOne nodes provide dynamic and static smart acceleration, to enable users to obtain resources from nodes
nearby, which avoids network issues due to cross-region or cross-ISP access.
Files are cached on nodes to reduce the proportion of origin-pull requests, which decreases the traffic to the origin.
Services are provided from EdgeOne nodes to hide the IP address of the origin and protect the origin from malicious
attacks.
More EdgeOne capabilities, such as DNS, security protection, edge functions, and L4 proxy, can be integrated withyour site.

Preparations
1. You have registered a Tencent Cloud account.
2. You have registered a domain name, such as example.com . For more information about domain nameregistration, see Domain Registration.
Note:
If you want to set the service region of your site to Chinese mainland or Global, the domain name must have been
filed with the Chinese Ministry of Industry and Information Technology.
3. Your site is hosted on an accessible service, such as Cloud Virtual Machine (CVM) or Cloud Object Storage (COS).
For example, you have built a cross-border e-commerce site based on Tencent Cloud CVM, and the current server IP
address is: 1.1.1.1.

©2013-2022 Tencent Cloud. All rights reserved.

Page 4 of 26

Tencent Cloud EdgeOne

Step 1: Add the Site
Perform the following operations to add the site to EdgeOne:
1. Log in to the EdgeOne console.
2. Click Add site.

©2013-2022 Tencent Cloud. All rights reserved.

Page 5 of 26

Tencent Cloud EdgeOne

3. In the Enter your site input box, enter the domain name, In this example, enter example.com . Then, click Next.

Step 2: Select Service Region and Plan
This step requires binding the site access plan specs so that the platform can allocate the corresponding service
resources for you. You can bind by purchase plan or bind sites to your plan:
Purchase plan
Bind sites to your plan
1. When entering the plan selection, the default is the Purchase plan page. Currently. You can view the Comparisonof EdgeOne Plans to see the differences between the different plan versions.

©2013-2022 Tencent Cloud. All rights reserved.

Page 6 of 26

Tencent Cloud EdgeOne

2. After confirming the plan, check and agree to the EdgeOne Service Level Agreement below, and click the next step.
1. If you have already purchased a plan, you can click Bind sites to your plan to switch to the binding plan page andselect the purchased plan to bind.

©2013-2022 Tencent Cloud. All rights reserved.

Page 7 of 26

Tencent Cloud EdgeOne

1. ﻿
2. After selecting the plan, check and agree to the EdgeOne Service Level Agreement below, and click Next.

Step 3: Select the Access Mode
This step requires selecting the acceleration region and access mode that meet your needs.
1. Select the acceleration region. The acceleration region is mainly used to allocate node resources for the current
site. When you select the Chinese mainland availability zone and the Global availability zone, it is required that thecurrent domain has completed the MIIT (Ministry of Industry and Information Technology) ICP Filing.

©2013-2022 Tencent Cloud. All rights reserved.

Page 8 of 26

Tencent Cloud EdgeOne

2. Select the access mode. EdgeOne provides you with two access modes, namely NS server access mode and
CNAME access mode. The differences between the different access modes are as follows:
Mode

Scenario

Access mode

NS Access (Recommended)

CNAME Access

You want to change the original DNS
provider and host DNS on EdgeOne.

You have hosted the domain name to another
DNS provider, such as Tencent Cloud
DNSPod, and you do not want to change the
DNS provider.

You only need to change the settings ofthe DNS server once at the original DNS
provider. After that, you can easily
enable secure acceleration for the

Each time you add a new subdomain andenable secure acceleration, you must add a
CNAME record at the corresponding DNS

domain name in the EdgeOne console.
Verification
methodSchedulingmethodYou need to change the URLs of theoriginal NS servers to the ones provided
by EdgeOne.
After secure acceleration is enabled forthe domain name, it points to the nearest
EdgeOne node by using the A record.

provider.
You need to verify the domain name ownershipby adding a DNS record or using theverification file.
After secure acceleration is enabled for thedomain name, the client access is scheduled
to the nearest EdgeOne node by using the
CNAME record.

NS Access
CNAME Access
1. On the Select an access mode tab, select NS access.

©2013-2022 Tencent Cloud. All rights reserved.

Page 9 of 26

Tencent Cloud EdgeOne

2. (Optional) In NS Access mode, EdgeOne automatically scans all DNS records for the domain name. You can verify
the scan results by comparing them with the original DNS records.
If all the original DNS resolution records are retrieved, clicking Import all to import them to EdgeOne.
If you find that some DNS resolution records are missing, click Add record or Batch import to add them.

3. Click Next. In the NS server access mode, you need to go to the original domain registration service provider andchange the domain's DNS server address to the DNS server address provided by EdgeOne. The operation steps canbe referred to: Modify DNS server.

©2013-2022 Tencent Cloud. All rights reserved.

Page 10 of 26

Tencent Cloud EdgeOne

4. After the change, EdgeOne automatically detects the current URLs of the NS servers. After settings of the NS
servers take effect, click OK.
Note:
The process may be slow with some domain registrars, please be patient.
1. On the Select an access mode tab, select CNAME access and click Next.
2. Verify the site ownership. EdgeOne allows you to verify your site ownership through DNS verification or fileverification. For more information, see Verifying Site Ownership.

©2013-2022 Tencent Cloud. All rights reserved.

Page 11 of 26

Tencent Cloud EdgeOne

3. After the site ownership is verified, click OK.

Step 4: Add the Domain Name
The procedure varies based on the access mode you have selected in step 3.
Note:
1. Conversion of Chinese, Korean, and Japanese domain names to punycode and domain names containing
underscores are not supported.
2. After you add a domain name, if your origin HOST type is IP address/domain name, the Host Header is theacceleration domain name by default. If your Host Header needs to specify a domain name, you can configure it
according to Host Header Rewrite. If the Origin is the object storage origin, the default Host Header is the domainname of the object storage origin.
NS Access
CNAME Access
1. Click Site List in the left sidebar and select the added site to go to the details management page.
2. Choose Domain Name Service > DNS records to go to the DNS management page.
3. Click Add record, specify the record type, host record, and record value, and click Save. The host record is the
subdomain name. For example, if the domain name is www.example.com , the host record is www . The record
value is the IP address of your origin. For example, if you have built a cross-border e-commerce site based on Cloud
Virtual Machine (CVM), and hosted the site on a server whose IP address is 10.1.1.1 , the record value is10.1.1.1 . For more information about the DNS record types, see NS Connection.

©2013-2022 Tencent Cloud. All rights reserved.

Page 12 of 26

Tencent Cloud EdgeOne

4. Click Enable acceleration for the domain name.

5. Choose Domain Name Service > Acceleration to view and manage all the accelerated domain names.
1. Click Site List in the left sidebar and select the added site to go to the details management page.
2. Choose Domain Name Service > Domain management. On the Domain management page, click Add
Domain.
3. Specify the domain name to be connected to EdgeOne and specify the information of the corresponding origin.
Then, click Next.

©2013-2022 Tencent Cloud. All rights reserved.

Page 13 of 26

Tencent Cloud EdgeOne

Configuration Item

Description
The domain name accessible to the client. You can enter the value of the host record.

Domain name

EdgeOne supports connecting wildcard domain names. If you want to access the root
domain, enter @ .
For example, if the domain name is www.example.com , enter www .

Origin typeThe address of the resource that is accessed when the client initiates a request. Options:
IP/Domain name, Object storage origin, and Origin Group.
IP/Domain name: Select this option to add a single IP address or domain name as theorigin.
Object storage origin: This is utilized for the addition of Tencent Cloud COS andbuckets that have already activated private read-write permissions of buckets of S3©2013-2022 Tencent Cloud. All rights reserved.

Page 14 of 26

Tencent Cloud EdgeOne

compatible type. If the bucket is public read-write. IP address/domain access can also be
employed.
Origin Group: Select this option to add multiple IP addresses as the origin.
For example, you have built a cross-border e-commerce site based on CVM, and hosted
it on a server whose IP address is 10.1.1.1 , you can select IP/Domain name andenter 10.1.1.1 in the IP/Domain name field.
IPv6 accessSelect whether to enable support for access via IPv6. Refer to the document: IPv6
Access.
Choose the access protocol supported by your origin. Options include:

Origin-pull
protocolFollow protocol: The protocol used during origin-pull is identical to the user's accessrequest protocol.
HTTP: The HTTP protocol is used for origin-pull.
HTTPS: The HTTPS protocol is used for origin-pull.

Origin-pull port

Specify the port to be used during origin-pull. Please ensure that the designated port ofyour origin server is accessible.

4. (Optional) After you add the domain name, EdgeOne provides you with recommended configurations for different
business scenarios to ensure that your business runs securely and smoothly. You can select a recommended
configuration as needed and click Next to deploy the configuration, or click Skip.

©2013-2022 Tencent Cloud. All rights reserved.

Page 15 of 26

Tencent Cloud EdgeOne

5. Visit the original DNS provider and change the DNS resolution records by using the CNAME address and resolution
records provided by EdgeOne. You must complete the CNAME configuration at this step to direct the DNS resolutionof your domain name to EdgeOne and then enable domain acceleration.

6. Complete the CNAME configuration, and then click OK.

Step 5: Perform Access Test
You can perform the following two steps to verify whether your site is connected to EdgeOne and test the acceleration
performance:
1. Verify whether your site is connected to EdgeOne
The verification procedure varies based on the access mode you have selected in step 3.
NS Access
CNAME Access
In NS access mode, when the client accesses the accelerated domain, EdgeOne automatically schedule the accessto the nearest edge node. You can check whether the IP address of the assigned edge node is on EdgeOne to verify
whether the site has been added to EdgeOne.
1. You can obtain the IP address of the assigned edge node by using any of the following methods:
Windows
Mac/Linux©2013-2022 Tencent Cloud. All rights reserved.

Page 16 of 26

Tencent Cloud EdgeOne

Visit the site
Open the command prompt and run the nslookup -qt=A www.example.com command. Then, check the IP
address of the domain obtained by the A record resolution.

Open the terminal and run the dig www.example.com command. Then, check the IP address of the domain
obtained by the A record resolution.

Visit www.example.com from a browser, press F12 to open the developer tools, and click any request record toview the IP address to which the request points. Then, copy this IP address.

©2013-2022 Tencent Cloud. All rights reserved.

Page 17 of 26

Tencent Cloud EdgeOne

2. On the IP Location Query page of the EdgeOne console, paste the IP address in the IP field and click Search to
check whether the IP address is on EdgeOne. If yes, DNS of the accelerated domain has been switched to EdgeOne.

After you complete the CNAME configuration, EdgeOne automatically detects whether the CNAME configuration has
taken effect. In the domain list, if the Status column of the accelerated domain is Activated, the domain is correctly
configured and accelerated.

©2013-2022 Tencent Cloud. All rights reserved.

Page 18 of 26

Tencent Cloud EdgeOne

If you have correctly configured the CNAME record, but the status is CNAME unconfigured, this may be caused by
the CNAME resolution latency of the DNS provider. In this case, you can manually verify the connection by using thefollowing methods:
Windows
Mac/Linux
Open the command prompt and run the nslookup -qt=cname www.example.com command. Then, check the
CNAME information of the domain. If the CNAME information is the same as that provided by EdgeOne, DNS of theaccelerated domain has been switched to EdgeOne.

Open the terminal and run the dig www.example.com command. Then, check the CNAME information of thedomain. If the CNAME information is the same as that provided by EdgeOne, DNS of the accelerated domain has
been switched to EdgeOne.

2. Verify the site acceleration performance
If the site is connected to EdgeOne, EdgeOne can accelerate access to the site.

©2013-2022 Tencent Cloud. All rights reserved.

Page 19 of 26

Tencent Cloud EdgeOne

Before connecting the site to EdgeOne, you can perform the following operations to check the speed of direct access:Open a browser, press F12 to open the developer tools, and then visit the IP address of the server. In this case, visit
10.1.1.1 . In the bottom right corner of the developer tools, you can see that it took 1.22s to load the site.

After connecting the site to EdgeOne, you can visit the domain added to EdgeOne, for example,
www.example.com , and refresh the page several times. After that, you can see in the bottom right corner that the
total loading time of the site has been reduced to 695 ms.

©2013-2022 Tencent Cloud. All rights reserved.

Page 20 of 26

Tencent Cloud EdgeOne

Learn More
EdgeOne Overview﻿
Rule Engine Overview﻿
Edge Functions Overview﻿©2013-2022 Tencent Cloud. All rights reserved.

Page 21 of 26

Tencent Cloud EdgeOne

Quick access to L4 proxy service：

Last updated 2023-11-23 21:01:55
EdgeOne, based on Tencent edge computing nodes, provides a wide range of security acceleration solutions,
including domain name resolution, smart acceleration for dynamic and static content, L4 proxy, Edge functions, andmore. When you only need to selectively enable some features, such as L4 proxy TCP/UDP security acceleration,
EdgeOne provides domainless access, allowing you to quickly enable related services without connecting to a sitedomain name.
This article will guide you through the domainless access feature to quickly connect to EdgeOne and enable L4 proxyservice.

Usage Scenarios
A company provides a remote work application that supports voice chat, video conference, real-time comments, andother online services. Ensuring real-time message delivery and smooth transmission is a necessary capability for suchinteractive scenarios. The application also supports email and file transfer functions, which require high reliability andintegrity of data transmission. Therefore, the company wants to enable EdgeOne L4 proxy TCP/UDP security
acceleration to reduce service access delay and ensure connection stability and reliability. However, there is no needto enable domain name resolution and L7 security acceleration for the business domain. To facilitate the company's
use of L4 proxy service, EdgeOne provides domainless access, allowing quick enablement of L4 proxy TCP/UDP
security acceleration without using a domain name.

Directions
To quickly enable L4 proxy service, you can refer to the following steps to quickly access EdgeOne using domainlessaccess without preparing a site domain name.

：

Note

Before connecting, you need to register a Tencent Cloud account.

Step 1: Create a domainless access site
1. Log in to the EdgeOne console.
2. When you log in to the console for the first time, you need to add an available site. Click Add Site.

©2013-2022 Tencent Cloud. All rights reserved.

Page 22 of 26

Tencent Cloud EdgeOne

3. On the Enter Site page, click No domainless Access to switch to domainless access mode.

4. EdgeOne will generate a default site for you to manage domainless access services; click Next.

Step 2: Choose a Plan
In this step, you need to choose a plan that suits your needs so that the platform can allocate the corresponding
service resources for you. The Standard plan does not support TCP/UDP application protection and acceleration. If
you need to use TCP/UDP application protection and acceleration through domainless access, please choose theEnterprise plan. You can choose between purchasing a new plan and binding to an existing plan:
Purchase a new plan
Bind to an existing plan©2013-2022 Tencent Cloud. All rights reserved.

Page 23 of 26

Tencent Cloud EdgeOne

1. When you enter the Choose Plan page, the default is the Purchase New Plan page. Currently, Select a Suitable
Plan. You can view the Comparison of EdgeOne Plans to see the differences between the different plan versions.

2. After confirming the plan, check and agree to the EdgeOne Service Level Agreement below, and click OK.
3. The created domainless access service will be added to the site list, where you can manage all created sites anddomainless access services.

1. If you have already purchased a plan, you can click Bind to Existing Plan at the top to switch to the Bind Plan pageand select a purchased plan to bind.

©2013-2022 Tencent Cloud. All rights reserved.

Page 24 of 26

Tencent Cloud EdgeOne

2. After selecting a plan, check and agree to the EdgeOne Service Level Agreement below, and click OK.
3. The created domainless access service will be added to the site list, where you can manage all created sites anddomainless access services.

Step 3: Enable L4 Proxy©2013-2022 Tencent Cloud. All rights reserved.

Page 25 of 26

Tencent Cloud EdgeOne

After creating a domainless access site, you can use the acceleration and security protection features provided by
EdgeOne for domainless access scenarios. You can enable related features such as TCP/UDP protocol accelerationand security protection on the L4 Proxy page. For details, please refer to Create a new L4 proxy instance.

Additional Information
Set site domain name to enable more security acceleration features
If your domainless site needs to bind a site domain name to use more security acceleration features, you can click Set
Site Domain Name on the Domain Management page and access EdgeOne using NS/CNAME mode. In NS/CNAME
access mode, you need to create a site using a domain name. Suppose your domain name is example.com. You needto create an example.com site and access EdgeOne using NS or CNAME to use more services. For details, pleaserefer to Quickly Access EdgeOne from Scratch, select the acceleration region and access mode, and complete site
access.

©2013-2022 Tencent Cloud. All rights reserved.

Page 26 of 26