> For the complete documentation index, see [llms.txt](https://www.axisnow.io/zh/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.axisnow.io/zh/docs/edge/quick-start.md).

# 快速入门

通过最简单的反向代理用例配置 AxisNow Edge。

## 先决条件 <a href="#prerequisites" id="prerequisites"></a>

* 一个 AxisNow 账户。您可以免费开始使用。在此[创建您的租户](https://dashboard.axisnow.io/signup)。
* 一个满足最低配置要求的 Linux 主机实例。在此参阅 [VPS 要求和选择](/zh/docs/edge/edge/vps.md)。若您不希望自部署节点，至少需要订阅一个提供商节点。[前往市场。](https://www.axisnow.io/zh/marketplace)
* 一个您的 Web 服务。

## 步骤摘要 <a href="#steps-summary" id="steps-summary"></a>

<details>

<summary>Step 1 - <strong>部署或订阅边缘</strong></summary>

在您的 Linux 实例中运行一行命令部署一个新边缘。或订阅一个边缘提供商。

</details>

<details>

<summary>Step 2 - <strong>创建边缘代理的 Web 服务</strong></summary>

在端点中创建并配置边缘代理的网站、API 或应用程序。

</details>

<details>

<summary>Step 3 - <strong>将 Web 流量牵引至 EIP</strong></summary>

通过本机 Host 方法进行测试，或在您的 DNS 提供商处将域名解析至任意 EIP。

</details>

<details>

<summary>Step 4 - <strong>使用策略管理、控制和保护流量</strong></summary>

通过丰富的插件和规则管理安全、性能和日志等。

</details>

<details>

<summary>Step 5 - <strong>使用洞察获得深度的可见性</strong></summary>

查看边缘的运行指标，插件的分析，全局流量统计和日志检索。

</details>

## 部署或订阅边缘 <a href="#deploy-or-subscribe-edges" id="deploy-or-subscribe-edges"></a>

### 部署边缘 <a href="#deploy-edges" id="deploy-edges"></a>

* 单击导航栏中的“边缘”。
* 在屏幕右侧单击“新增”。
* 然后，您将看到一组根据您的特定环境或偏好设置来部署选项。选择每个选项都会更新下面显示的部署步骤集。
* 有关部署边缘的更多信息，请参阅[部署边缘](/zh/docs/edge/edge/edge-deployment.md)。

<figure><img src="https://3062891322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKDgGNU6JXG7cqYCk2aCz%2Fuploads%2Fgit-blob-b019a7712c55f67608ffdd4e40854115a5408d92%2Fimage%20(228).png?alt=media" alt=""><figcaption></figcaption></figure>

在您的实例上启动部署脚本后，一旦边缘成功连接到 AxisNow Cloud，边缘列表页面将自动更新。

{% hint style="info" %}
通常实例上的 EIP 会**自动上报**添加至关联的边缘。一些非主流的 VPS 可能需要您手动添加，您也可以随时修正错误的上报。有关 EIP 的更多信息请[参阅 EIP](/zh/docs/edge/edge/eip.md)。
{% endhint %}

<figure><img src="https://3062891322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKDgGNU6JXG7cqYCk2aCz%2Fuploads%2Fgit-blob-e79ff029c451ce8644ab585e8711116c286fa8ce%2Fimage%20(229).png?alt=media" alt=""><figcaption></figcaption></figure>

### 订阅边缘 <a href="#subscribe-to-edges" id="subscribe-to-edges"></a>

* 单击导航栏中的“提供商”。
* 在屏幕右侧单击“新增”。
* 然后，输入邀请码即可订阅对应的提供商。
* 有关订阅边缘的更多信息，请参阅[订阅边缘](/zh/docs/edge/edge/edge-subscription.md)。

<figure><img src="https://3062891322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKDgGNU6JXG7cqYCk2aCz%2Fuploads%2Fgit-blob-9ca5b3299668d73bfb6ef33bdc4db2d601cd9534%2Fimage%20(299).png?alt=media" alt=""><figcaption></figcaption></figure>

## 创建边缘代理的 Web 服务 <a href="#create-web-service" id="create-web-service"></a>

* 单击导航栏中的“端点”。
* 在“域”页面的屏幕右侧单击“新增”，来到配置域的详细信息。
* 有关域的更多信息，请参阅[域](/zh/docs/edge/endpoints/domains.md)。

<figure><img src="https://3062891322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKDgGNU6JXG7cqYCk2aCz%2Fuploads%2Fgit-blob-557f9b9632f1f40f5acfc560f9a1bd2442fb407c%2Fimage%20(230).png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
当您将流量牵引至 EIP 时，AxisNow 会**通过 HTTP 验证方式自动为您申请免费证书**，由 Edge 节点直接响应校验值。在配置 DNS 解析时若您采用了分区/分线路，请确保国际上的颁发机构可以请求到您的 EIP 以完成 HTTP 验证。
{% endhint %}

{% hint style="info" %}
您也可以手动配置证书：

* 上传：手动配置证书和私钥，您可以通过手动输入或者文件上传的形式来添加。
* 申请：您可以创建证书申请，需要在您的 DNS 提供商处配置效验的 TXT 记录。
  {% endhint %}

## 将 Web 流量牵引至 EIP <a href="#route-web-traffic-to-eips" id="route-web-traffic-to-eips"></a>

通过上述步骤，您已经成功为边缘配置了一个反向代理 Web 服务。接下来将流量路由至边缘节点即可。

* **本机测试：**&#x901A;过本机 Host 方式，将您的域名指向到任意的 EIP 测试访问情况。
* **权威 DNS 解析：**&#x5728;您的 DNS 提供商处将域名解析至边缘任意的 EIP 或订阅的 CNAME。

## 使用策略控制流量 <a href="#control-traffic-with-policies" id="control-traffic-with-policies"></a>

* 单击导航栏中的“策略”。
* 在“插件”页面中已经具有内置的一组插件。
* 每个插件具备不同的功能特性，有关插件更多信息，请参阅[插件](/zh/docs/edge/policies/plugins.md)。

<figure><img src="https://3062891322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKDgGNU6JXG7cqYCk2aCz%2Fuploads%2Fgit-blob-b69fd4fc8058506cb61448357fcd33b2bd713918%2Fimage%20(231).png?alt=media" alt=""><figcaption></figcaption></figure>

## 后续步骤 <a href="#next-steps" id="next-steps"></a>

恭喜！现在您已启动并运行，以下步骤可能会对您有所帮助。

* [更深入地了解我们的“策略”](/zh/docs/edge/policies.md)
* [DNS 延迟优选和故障切换](/zh/docs/guide/dns-routing-gtm.md)
* [AxisNow + Cloudflare](/zh/docs/guide/axisnow-cloudflare.md)
* [了解 AxisNow 纵深安全防护](/zh/docs/edge/architecture/security.md)

我们非常乐意听取您对产品和体验的反馈，您可以加入[社区电报群组](https://t.me/AxisNowGroupZh)。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.axisnow.io/zh/docs/edge/quick-start.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
