Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add Alibaba Cloud Compute Nest one-click deployment doc #2780

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,18 @@ A simple comment system with backend support.
- Deploy free!
- Multiple deployment and storage service support, at least 243 deployment choice!

| | Waline | |
| ----------------------------------------------- | ----------------------------------- | ---------------------------------- |
| **Client** | **Server** | **Storage** |
| [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) |
| [MiniValine](https://minivaline.js.org/) | [CloudBase](https://cloudbase.net/) | [CloudBase](https://clodbase.net) |
| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [Railway](https://railway.app) | [MongoDB](https://mongodb.com) |
| | [Render](https://render.com) | MySQL |
| | [Zeabur](https://zeabur.com) | SQLite |
| | [Netlify](https://netlify.com) | [GitHub](https://github.com) |
| | Docker | PostgreSQL |
| | self host | [TiDB](https://tidbcloud.com/) |
| | Waline | |
| ----------------------------------------------- |---------------------------------------------------------------------| --------------------------------- |
| **Client** | **Server** | **Storage** |
| [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) |
| [MiniValine](https://minivaline.js.org/) | [CloudBase](https://cloudbase.net/) | [CloudBase](https://clodbase.net) |
| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [Railway](https://railway.app) | [MongoDB](https://mongodb.com) |
| | [Render](https://render.com) | MySQL |
| | [Zeabur](https://zeabur.com) | SQLite |
| | [Netlify](https://netlify.com) | [GitHub](https://github.com) |
| | [Alibaba Cloud ComputeNest](https://computenest.console.aliyun.com) | SQLite |
| | Docker | PostgreSQL |
| | self host | [TiDB](https://tidbcloud.com/) |

## Todo

Expand Down
27 changes: 14 additions & 13 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,20 @@
- 免费部署
- 多种部署方式和存储服务支持,每列选择一项多达 243 种部署方式任君选择

| | Waline | |
| ----------------------------------------------- | --------------------------------------------------------------- | ---------------------------------- |
| **客户端脚本** | **服务端部署** | **数据存储** |
| [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) |
| [MiniValine](https://minivaline.js.org/) | [CloudBase](https://cloudbase.net/) | [CloudBase](https://cloudbase.net) |
| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [百度云 CFC](https://console.bce.baidu.com/cfc/#/cfc/functions) | [MongoDB](https://mongodb.com) |
| | [阿里云 FC](https://fc.console.aliyun.com/) | MySQL |
| | [Railway](https://railway.app) | SQLite |
| | [Render](https://render.com) | PostgreSQL |
| | [Zeabur](https://zeabur.com) | [GitHub](https://github.com) |
| | [Netlify](https://netlify.com) | [TiDB](https://tidbcloud.com/) |
| | Docker | |
| | 独立部署 | |
| | Waline | |
|-----------------------------------------------------------------------| --------------------------------------------------------------- | ---------------------------------- |
| **客户端脚本** | **服务端部署** | **数据存储** |
| [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) |
| [MiniValine](https://minivaline.js.org/) | [CloudBase](https://cloudbase.net/) | [CloudBase](https://cloudbase.net) |
| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [百度云 CFC](https://console.bce.baidu.com/cfc/#/cfc/functions) | [MongoDB](https://mongodb.com) |
| | [阿里云 FC](https://fc.console.aliyun.com/) | MySQL |
| | [阿里云 计算巢](https://computenest.console.aliyun.com) | SQLite |
| | [Railway](https://railway.app) | SQLite |
| | [Render](https://render.com) | PostgreSQL |
| | [Zeabur](https://zeabur.com) | [GitHub](https://github.com) |
| | [Netlify](https://netlify.com) | [TiDB](https://tidbcloud.com/) |
| | Docker | |
| | 独立部署 | |

## Todo

Expand Down
1 change: 1 addition & 0 deletions docs/src/advanced/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ order: 1
| [MiniValine](https://minivaline.js.org/) | [CloudBase](https://cloudbase.net/) | [CloudBase](https://cloudbase.net) |
| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [百度云 CFC](https://console.bce.baidu.com/cfc/#/cfc/functions) | [MongoDB](https://mongodb.com) |
| | [阿里云 FC](https://fc.console.aliyun.com/) | MySQL |
| | [阿里云 计算巢](https://computenest.console.aliyun.com) | SQLite |
| | [Railway](https://railway.app) | SQLite |
| | [Render](https://render.com) | PostgreSQL |
| | [Zeabur](https://zeabur.com) | [GitHub](https://github.com) |
Expand Down
Binary file added docs/src/assets/aliyun-computenest-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/aliyun-computenest-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/aliyun-computenest-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/aliyun-computenest-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/aliyun-computenest-en-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/aliyun-computenest-en-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/aliyun-computenest-en-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/aliyun-computenest-en-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/src/en/advanced/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ A simple comment system with backend support fork from [Valine](https://valine.j
| | [Render](https://render.com) | MySQL |
| | [Zeabur](https://zeabur.com) | SQLite |
| | [Netlify](https://netlify.com) | PostgreSQL |
| | [Alibaba Cloud ComputeNest](https://computenest.console.aliyun.com) | SQLite |
| | Docker | [GitHub](https://github.com) |
| | self host | [TiDB](https://tidbcloud.com/) |

Expand Down
39 changes: 39 additions & 0 deletions docs/src/en/guide/deploy/aliyun-computenest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: Deploy on Alibaba Cloud Compute Nest
icon: aliyun
---

[Compute Nest](https://computenest.console.aliyun.com/) is a Platform as a Service (PaaS) solution Alibaba Cloud provides for service providers and their customers to manage services.

Service providers can publish private services on Compute Nest, and their customers can deploy these services easily. Service providers can also publish fully-managed services where they can implement hosted O&M for the resources of their customers.

Compute Nest provides service capabilities to cater to each stage of the lifecycle management of services. Service providers can manage different stages using different functional modules based on their requirements. This helps service providers improve operational efficiency, reduce operating costs, and provide simple and convenient services for customers.



<!-- more -->

## How to deploy

0. Confirmation before deployment: To deploy a Waline community edition service instance, you need to
access and create some Alibaba Cloud resources. Therefore, your account must contain permissions for the following
resources. Description: this permission is required only when your account is a RAM account.

| Permission Policy Name | Remark |
| --- |-------------------------------------------------------------------------|
| AliyunECSFullAccess | Permissions to manage ECS |
| AliyunVPCFullAccess | Permissions to manage a VPC |
| AliyunROSFullAccess | Manage permissions for the Resource Orchestration Service (ROS) |
| AliyunComputeNestUserFullAccess | Manage user-side permissions for the compute nest service (ComputeNest) |

1. Access the Waline service on Alibaba Compute Nest [Deployment Link](https://computenest.console.aliyun.com/service/instance/create/default?type=user&ServiceName=Waline%20Community%20Edition),fill in the deployment parameters as prompted
2. Select the payment type, ECS (i.e. cloud server) instance specifications, system disk type, and instance password as needed.
![computenest](../../../assets/aliyun-computenest-en-1.png)
3. Select the availability zone where the ECS instance is deployed, and select the VPC (private network) and switch ID where the ECS instance is located. If there are no available VPCs and switches in your account, you can directly jump to the relevant Alibaba Cloud product console to create them by clicking "Create VPC" and "Create vSwitch" in the Compute Nest console. Click Next: Confirm Order.
![computenest](../../../assets/aliyun-computenest-en-2.png)
4. After confirming the deployment parameters and reviewing the estimated price, click Create Now.
5. Click the "Service Instance" TAB on the left to enter the service instance list page to view the service instance deployment progress.
![computenest](../../../assets/aliyun-computenest-en-3.png)
6. Click the instance ID, enter the details interface, and click "Experience Ip Address" to experience the Waline service.
![computenest](../../../assets/aliyun-computenest-en-4.png)

2 changes: 2 additions & 0 deletions docs/src/en/guide/get-started/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ In addition to deploying on Vercel for free, you can deploy via docker or direct

- [Railway](../deploy/railway.md)

- [Alibaba Cloud Compute Nest](../deploy/aliyun-computenest.md)

## Multiple Database Support

Besides the default LeanCloud, Waline also supports a variety of databases, including MySQL, PostgreSQL, SQLite, and MongoDB.
Expand Down
31 changes: 31 additions & 0 deletions docs/src/guide/deploy/aliyun-computenest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: 阿里云计算巢部署
icon: aliyun
---

[阿里云计算巢](https://computenest.console.aliyun.com/) 服务是一个开放给服务商(包括:企业应用服务商、IT集成服务商、交付服务商和管理服务提供商等)和用户的服务管理PaaS平台。计算巢服务为服务商和用户提供了高效、便捷、安全的服务使用体验,服务商能更好地在阿里云上部署、交付和管理服务,用户能集中管理在阿里云上订阅的各类服务商提供的服务。



<!-- more -->

## 如何部署

0. 部署前确认:部署Waline服务实例,需要对部分阿里云资源进行访问和创建操作。因此您的账号需要包含如下资源的权限。 说明:当您的账号是RAM账号时,才需要添加此权限。

| 权限策略名称 | 备注 |
| --- | --- |
| AliyunECSFullAccess | 管理云服务器服务(ECS)的权限 |
| AliyunVPCFullAccess | 管理专有网络(VPC)的权限 |
| AliyunROSFullAccess | 管理资源编排服务(ROS)的权限 |
| AliyunComputeNestUserFullAccess | 管理计算巢服务(ComputeNest)的用户侧权限 |

1. 访问计算巢Waline服务[部署链接](https://computenest.console.aliyun.com/service/instance/create/default?type=user&ServiceName=Waline社区版),按提示填写部署参数
2. 根据需要选择付费类型,ECS(即云服务器)实例规格、系统盘类型、实例密码。
![](../../assets/aliyun-computenest-1.png)
3. 选择部署ECS实例的可用区,并选择ECS实例所在的VPC(即专有网络)和交换机ID。如果您的账户下没有可用的VPC和交换机,您可在计算巢控制台"新建专有网路"和"新建交换机"直接跳转到相关阿里云产品控制台进行创建。同时点击下一步。
![](../../assets/aliyun-computenest-2.png)
4. 确认部署参数并查看预估价格后,点击立即创建。
5. 点击左侧TAB"服务实例",进入服务列表页可查看服务实例部署进度。![](../../assets/aliyun-computenest-3.png)
6. 点击实例ID进入到详情界面,点击"体验地址"即可体验Waline服务。![](../../assets/aliyun-computenest-4.png)

2 changes: 2 additions & 0 deletions docs/src/guide/get-started/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ order: 2

- [阿里云函数计算](../deploy/aliyun-fc.md)

- [阿里云计算巢](../deploy/aliyun-computenest.md)

- [百度云函数计算](../deploy/baidu-cfc.md)

- [Cloudbase](../deploy/cloudbase.md)
Expand Down
Loading