Skip to content

add lightsail provider #7

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
57 changes: 57 additions & 0 deletions docs/en/connect/connect-server-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,60 @@ import { data } from '../../.vitepress/config.data.ts'
6. Select `Bizfly Cloud` server provider
7. Enter a note about this API Credential
8. Enter `API Key` as `Application ID Credential` and `API Secret` as `Secret Key` obtained in step 3

## Amazon Lightsail

1. Goto [IAM Console Create User](https://us-east-1.console.aws.amazon.com/iam/home#/users/create)
![](../../images/connect-server-provider/lightsail-create-user.png)
2. Next to set permissions > `Click attach policy directly` > `Click Create Policy` a new tab open for you
![](../../images/connect-server-provider/lightsail-policy.png)
3. At the Create Policy page > Select `JSON` editor and Pasted this json config > Click `Next` to Step 2
![](../../images/connect-server-provider/lightsail-policy-permission.png)

```
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"lightsail:GetBundles",
"lightsail:GetRegions",
"lightsail:GetBlueprints",
"lightsail:CreateInstances",
"lightsail:GetInstances",
"lightsail:GetInstance",
"lightsail:DeleteInstance",
"lightsail:CreateKeyPair",
"lightsail:DeleteKeyPair",
"lightsail:RebootInstance",
"lightsail:GetKeyPairs",
"lightsail:ImportKeyPair",
"lightsail:PutInstancePublicPorts"
],
"Resource": "*"
}
]
}
```

5. Enter Policy name, Policy description and Click `Create Policy` to create Policy
![](../../images/connect-server-provider/lightsail-policy-name.png)
6. Closed the `Policy tab` and `Go back` to create user tab > Click `Icon Reload` next the Create Policy > Click `Next`
![](../../images/connect-server-provider/lightsail-done-attach-permission.png)
7. At review and create page click `Create User`
![](../../images/connect-server-provider/lightsail-review-create-user.png)
8. Goto edit your user and create new access key
![](../../images/connect-server-provider/lightsail-create-accesskey.png)
9. At Create Access Key page
![](../../images/connect-server-provider/lightsail-best-accesskey.png)
10. Enter description
![](../../images/connect-server-provider/lightsail-accesskey-description.png)
11. Application Credential information will appear, copy `Application Credential ID` and `Secret Key`
![](../../images/connect-server-provider/lightsail-accesskey-retrieve.png)
12. Return to <a :href="data.url + '/user/vps'" target="_blank">{{ data.name }}</a>
13. Click the `Add Credentials` button
14. Select `Amazon Lightsail` server provider
15. Enter a note about this API Credential
16. Enter `API Key` as `Application ID Credential` and `API Secret` as `Secret Key` obtained in step 11
![](../../images/connect-server-provider/lightsail-provider-credential-form.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions docs/vi/connect/connect-server-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,60 @@ import { data } from '../../.vitepress/config.data.ts'
6. Chọn nhà cung cấp máy chủ `Bizfly Cloud`
7. Nhập ghi chú về API Credential này
8. Nhập API Key là `ID Application Credential` và API Secret là `Secret Key` lấy ở bước 3

## Amazon Lightsail

1. Vào trang [IAM Console Create User](https://us-east-1.console.aws.amazon.com/iam/home#/users/create)
![](../../images/connect-server-provider/lightsail-create-user.png)
2. Tại panel tạo Permission > `Chọn attach policy directly` > `Chọn Create Policy`
![](../../images/connect-server-provider/lightsail-policy.png)
3. Tại trang tạo policy > Chọn trình chỉnh sửa `JSON` và dán đoạn json phía dưới > Chọn `Next` Để qua bước 2
![](../../images/connect-server-provider/lightsail-policy-permission.png)

```
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"lightsail:GetBundles",
"lightsail:GetRegions",
"lightsail:GetBlueprints",
"lightsail:CreateInstances",
"lightsail:GetInstances",
"lightsail:GetInstance",
"lightsail:DeleteInstance",
"lightsail:CreateKeyPair",
"lightsail:DeleteKeyPair",
"lightsail:RebootInstance",
"lightsail:GetKeyPairs",
"lightsail:ImportKeyPair",
"lightsail:PutInstancePublicPorts"
],
"Resource": "*"
}
]
}
```

5. Nhập tên và mô tả Permissions và chọn `Create Policy`
![](../../images/connect-server-provider/lightsail-policy-name.png)
6. Đóng cửa sổ policy và Trở lại cửa sổ thêm mới user > Chọn biểu tượng `Reload` bên cạnh nút Create Policy > Chọn `Next`
![](../../images/connect-server-provider/lightsail-done-attach-permission.png)
7. Tại step review và create chọn `Create User`
![](../../images/connect-server-provider/lightsail-review-create-user.png)
8. Đi đến trang chỉnh sửa user bạn vừa tạo và nhấn tạo access token
![](../../images/connect-server-provider/lightsail-create-accesskey.png)
9. Tại trang tạo access token
![](../../images/connect-server-provider/lightsail-best-accesskey.png)
10. Nhập mô tả
![](../../images/connect-server-provider/lightsail-accesskey-description.png)
11. Thông tin Application Credential sẽ hiện ra, bạn copy `ID Application Credential` và `Secret Key`
![](../../images/connect-server-provider/lightsail-accesskey-retrieve.png)
12. Quay lại <a :href="data.url + '/user/vps'" target="_blank">{{ data.name }}</a>
13. Ấn nút `Thêm Thông Tin Chứng Thực`
14. Chọn nhà cung cấp máy chủ `Amazon Lightsail`
15. Nhập ghi chú về API Credential này
16. Nhập API Key là `ID Application Credential` và API Secret là `Secret Key` lấy ở bước 11
![](../../images/connect-server-provider/lightsail-provider-credential-form.png)