> 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-for-provider/quick-start.md).

# 与您的朋友分享节点

从提供商面板部署和管理边缘节点，然后与您的朋友共享，或与他人合租、拼车。

{% hint style="success" %}
您希望多人共享一组节点，但每个人有自己的管理面板时，您可以参考此文档。
{% endhint %}

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

* 创建一个 AxisNow 提供商租户。在此[创建您的提供商租户](https://dashboard.axisnow.io/provider-signup)。提供商租户用于统一部署和管理边缘节点和 DNS 路由调度。
* 你的朋友必须创建最终租户。在此[创建您的最终租户](https://dashboard.axisnow.io/signup)。最终租户即终端 CDN 用户，每个租户管理自己的业务。

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

* 在提供商租户部署边缘
* 创建用于分享资源的 DNS 路由
* 与最终租户建立订阅关系
* 管理您的最终租户

## 在提供商租户部署边缘和配置 EIP <a href="#deploy-edges-and-eips" id="deploy-edges-and-eips"></a>

{% stepper %}
{% step %}

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

* 单击导航栏中的“边缘”。
* 在屏幕右侧单击“新增”。
* 然后，您将看到一组根据您的特定环境或偏好设置来部署选项。选择每个选项都会更新下面显示的部署步骤集。

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

* 有关部署边缘的更多信息，请参阅[部署边缘](/zh/docs/edge/edge/edge-deployment.md)。
* 在您的实例上启动部署脚本后，一旦边缘成功连接到 AxisNow Cloud，边缘列表页面将自动更新。
  {% endstep %}

{% step %}

### 为 EIP 分配标签 <a href="#tag-eips" id="tag-eips"></a>

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

{% hint style="info" %}
为您的 EIP 分配标签以便在路由规则中引用。
{% endhint %}

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

## 创建用于分享资源的 DNS 路由 <a href="#create-shared-dns-routing" id="create-shared-dns-routing"></a>

{% stepper %}
{% step %}

### 创建 DNS 路由 <a href="#create-dns-routing" id="create-dns-routing"></a>

单击导航中的“调度”，进入 DNS 路由页面，单击右上角新增按钮创建一个 DNS 路由。

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

{% step %}

### 配置路由规则 <a href="#configure-routing-rules" id="configure-routing-rules"></a>

单击域名列来到路由规则页面

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

{% hint style="success" %}
当您选择公开 EIP 时，订阅此 CNAME 的租户将**能看到 DNS 路由规则、拨测任务、质量评分和关联的 EIP 地址池。**
{% endhint %}

{% hint style="success" %}
必须选择对应的 **EIP 标签**才可以分享 EIP。

若您的边缘网络主要覆盖**中国方向链路，选择 Default China Network 拨测模版。**
{% endhint %}

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

{% step %}

### 为该 CNAME 开启默认分享 <a href="#share-cname-by-default" id="share-cname-by-default"></a>

{% hint style="success" %}
默认分享开启后，新订阅的租户将自动获得该 CNAME 地址
{% endhint %}

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

## 与最终租户建立订阅关系 <a href="#subscribe-end-tenants" id="subscribe-end-tenants"></a>

{% stepper %}
{% step %}

### 查看你的邀请码 <a href="#view-invite-code" id="view-invite-code"></a>

在租户菜单里，单击右上角“邀请码”，您可以复制此邀请码发送给您的最终租户

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

{% step %}

### 最终租户的订阅和使用 <a href="#end-tenant-subscriptions" id="end-tenant-subscriptions"></a>

最终租户在“边缘” > “提供商” 处单击右上角订阅，输入邀请码即可建立订阅关系。

<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>

{% hint style="success" %}
订阅成功后，在 调度 > DNS 路由即可发现提供商分配的 CNAME。**就像使用大多数 CDN 一样，您只需将流量解析至该 CNAME 即可使用。**
{% endhint %}

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

{% hint style="success" %}
若 EIP 配置为公开的 CNAME，也可以直接使用其提供的 EIP，将其贴上您自己的标签后，可在您单独构建的 DNS 路由规则中使用。
{% endhint %}

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

## 管理您的最终租户 <a href="#manage-end-tenants" id="manage-end-tenants"></a>

{% stepper %}
{% step %}

### 查看租户列表 <a href="#view-tenants" id="view-tenants"></a>

查看所有与您建立订阅关系的租户列表页面。

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

{% step %}

### 管理租户 <a href="#manage-tenants" id="manage-tenants"></a>

单击某个租户可进入详情页面，您可以管理为其分配的 CNAME，查看该租户的流量统计。

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


---

# 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-for-provider/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.
