Skip to content

Commit

Permalink
Merge pull request #211 from yangj1211/moc_doc
Browse files Browse the repository at this point in the history
add network strategy
  • Loading branch information
dengn authored Dec 21, 2023
2 parents a802b2c + ca274f7 commit 20431ed
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
11 changes: 9 additions & 2 deletions docs/MatrixOne-Cloud/Instance-Mgmt/create-instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,16 @@ Compute Unit (CU) 是 MatrixOne Cloud Serverless 实例的计算资源开销的
- 必须包含至少一个大写字母
- 必须包含至少一个小写字母

### 网络安全策略
### 网络策略

您可以设置公网访问实例的 IP 白名单,以防止恶意 IP 地址访问您的系统。更多详情请参考 IP 白名单章节。
MatrixOne Cloud 设置了两种网络安全策略

- 允许所有公网 IP 访问
默认设置为**允许所有公网 IP 访问**
- 允许指定的 IP 访问
建议设置为**允许指定的 IP 访问**,详情请参考[设置 IP 白名单](../Security/IP-Access.md)章节。
- 修改网络策略
在控制台中,选择并点击进入你想要修改的数据库实例,点击进入**网络策略 > 编辑**,在弹框中可切换两种网络策略

## 步骤五:命名并创建实例

Expand Down
17 changes: 10 additions & 7 deletions docs/MatrixOne-Cloud/Security/IP-Access.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@

## 如何设置 IP 白名单

以下是在 MatrixOne Cloud 中开启 IP 白名单的步骤:
以下是在 MatrixOne Cloud 中设置 IP 白名单的步骤:

1. 使用 MatrixOne Cloud 帐户登录到 MatrixOne Cloud 控制台。
**实例创建时**

2. 在控制台中,选择并点击进入你要设置 IP 白名单的数据库实例。
- 使用 MatrixOne Cloud 帐户登录到 MatrixOne Cloud 控制台
- 点击右上角 **+创建实例**
- 在网络策略处选择**允许指定的 IP 访问**,点击添加本地公网 IP,可自动填充,点击 **+ 添加新的 IP**,可添加 IP 白名单

3. 点击进入 **Network Policy > IP Access**,点击 **Edit**
**实例创建后**

4. 在弹窗中选择 **Access restriction method**,选择 **Access from spcified IP Address** 前的复选框,可以添加 IP 白名单。

5. 将新的 IP 地址到白名单中后,点击 **Submit**,添加成功。
- 使用 MatrixOne Cloud 帐户登录到 MatrixOne Cloud 控制台。
- 在控制台中,选择并点击进入你要设置 IP 白名单的数据库实例。
- 点击进入**网络策略 > 编辑**
- 在弹框中选择**允许指定的 IP 访问**,点击**添加本地公网 IP**,可自动填充,点击 **+ 添加新的 IP**,可添加 IP 白名单,也可对已添加的 IP 白名单进行删除或者修改操作。

通过开启 IP 白名单,确保只有受信任的 IP 地址能够访问数据库服务器。请谨慎配置 IP 白名单,并定期审查和更新允许访问的 IP 地址,以保持数据库的安全性。

0 comments on commit 20431ed

Please sign in to comment.