Skip to content

Commit 66d13ac

Browse files
committedJan 26, 2025·
feat: add documentation on how to add AWS, GCP and Huawei to PipeOps
1 parent c8d6ecf commit 66d13ac

File tree

6 files changed

+1426
-2240
lines changed

6 files changed

+1426
-2240
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
sidebar_position: 5
3+
title: Connecting AWS Account to PipeOps
4+
slug: connect-aws
5+
---
6+
7+
# Connecting AWS Account to PipeOps
8+
9+
## Overview
10+
11+
This documentation guides you through the process of connecting your AWS account to PipeOps. This would enable you to create an AWS server on PipeOps and deploy projects on the server.
12+
13+
## Steps to follow
14+
15+
To connect your AWS account to PipeOps, follow these steps:
16+
17+
1. On the left menu, click on "Integrations" tab.
18+
19+
![PipeOps Cloud Integration Tab](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsCloudIntegrationTab.png)
20+
21+
2. Click on the AWS button among the list of cloud providers shown.
22+
23+
![PipeOps Cloud Providers List](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsConnectCloudProviderList.png)
24+
25+
3. On the "Connect AWS" screen, you can provide an optional name to identify your AWS account. The optional field is useful in scenarios when you want to connect more than one(1) AWS account on PipeOps.
26+
27+
![PipeOps AWS Connection screen](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsAWSConnectionTab.png)
28+
29+
4. Fill in your AWS Account ID found at the top-right corner of your AWS account and an optional name.
30+
31+
![PipeOps AWS Connection screen filled](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsAWSConnectionFormFilled.png)
32+
33+
5. After filling the form. Click on the "Add" button, then a spinner loads before enabling the "Authorize IAM" button.
34+
35+
6. Click on "Authorize IAM" button. It should open a new tab to the right, opening a "Create Stacks" page on your AWS account which would need you to acknowledge "that AWS CloudFormation might create IAM resources with customised names
36+
" on the bottom of the page. Then click on the "Create stack" button at the bottom right of the page.
37+
38+
![PipeOps AWS Create Cloud Formation Stacks Page](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsAWSCreateStacksPage.png)
39+
40+
7. After clicking the "Create stack" button. You will have a page similar to this.
41+
42+
![PipeOps AWS Create Cloud Formation Stack In Progess Page](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsAWSCreateStackInProgress.png)
43+
44+
8. You can switch back to your PipeOps tab to the left and wait for few seconds and your AWS account would automatically get connected.
45+
46+
![PipeOps AWS Create Cloud Formation Stack In Progess Page](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsAWSAccountConnected.png)
47+
48+
Now that you have connected your AWS account on PipeOps, you can now create a server to your connected AWS account using this guide [here](/docs/servers/server-provisioning).
49+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
sidebar_position: 6
3+
title: Connecting GCP Account to PipeOps
4+
slug: connect-gcp
5+
---
6+
7+
# Connecting GCP Account to PipeOps
8+
9+
## Overview
10+
11+
This documentation guides you through the process of connecting your GCP account to PipeOps. This would enable you to create an GCP server on PipeOps and deploy projects on the server.
12+
13+
14+
## Steps to follow
15+
16+
To connect your GCP account to PipeOps, follow these steps:
17+
18+
1. Ensure you have downloaded your GCP JSON credentials. If not, you can follow this guide [here](/docs/how-to-guides/tutorials/generate-gcp-json-credentials).
19+
20+
2. On the left menu, click on "Integrations" tab.
21+
22+
![PipeOps Cloud Integration Tab](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsCloudIntegrationTab.png)
23+
24+
3. Click on the GCP button among the list of cloud providers shown and click the "Proceed" button at the bottom right.
25+
26+
![PipeOps Cloud Providers List](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsConnectCloudProviderList.png)
27+
28+
29+
4. On the "Upload Credentials JSON" screen, you can provide an optional name to identify your uploaded GCP JSON credentials. The optional field is useful in scenarios when you want to connect more than one(1) GCP account on PipeOps.
30+
31+
![PipeOps GCP JSON Credentials Upload Screen](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsGCPJSONCredentialsFilled.png)
32+
33+
5. Click on the submit button at the bottom right and if the JSON credentials is valid, then your GCP Account is successfully connected.
34+
35+
![PipeOps GCP Connection screen](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsGCPCredentialsUploaded.png)
36+
37+
Now that you have connected your GCP account on PipeOps, you can now create a server to your connected GCP account using this guide [here](/docs/servers/server-provisioning).
38+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
sidebar_position: 7
3+
title: Connecting Huawei Account to PipeOps
4+
slug: connect-huawei
5+
---
6+
7+
# Connecting Huawei Account to PipeOps
8+
9+
## Overview
10+
11+
This documentation guides you through the process of connecting your Huawei account to PipeOps. This would enable you to create a Huawei server on PipeOps and deploy projects on the server.
12+
13+
## Steps to follow
14+
15+
To connect your Huawei account to PipeOps, follow these steps:
16+
17+
1. Ensure you have downloaded your Huawei credentials which is a CSV file. If not, you can follow this guide [here](/docs/how-to-guides/tutorials/generate-huawei-credentials).
18+
19+
2. On the left menu, click on "Integrations" tab.
20+
21+
![PipeOps Cloud Integration Tab](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsCloudIntegrationTab.png)
22+
23+
3. Click on the Huawei button among the list of cloud providers shown and click the "Proceed" button at the bottom right of the page.
24+
25+
![PipeOps Cloud Providers List](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsConnectCloudProviderList.png)
26+
27+
4. On the "Enter Access Credentials" screen, you can provide an optional name to identify your Huawei account. The optional field is useful in scenarios when you want to connect more than one(1) Huawei account on PipeOps. Then provide your "Access Key" and "Secret Key" from the CSV file you downloaded.
28+
29+
30+
![PipeOps Huawei Credentials Input Screen](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsHuaweiCloudCredentialsForm.png)
31+
32+
5. Click on the submit button at the bottom right and if the Huawei credentials is valid, then your Huawei Account is successfully connected.
33+
34+
![PipeOps Huawei Connection screen](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/HuaweiConnectionScreen.png)
35+
36+
Now that you have connected your Huawei account on PipeOps, you can now create a server to your connected Huawei account using this guide [here](/docs/servers/server-provisioning).
37+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
sidebar_position: 7
3+
title: Generate GCP JSON credentials
4+
slug: generate-gcp-json-credentials
5+
---
6+
7+
Creating a GCP JSON credentials is required to connect your GCP Account to PipeOps. The followings steps would highlight how to generate the JSON credentials to be securely uploaded on PipeOps platform.
8+
9+
1. [Connect to your GCP console](https://console.cloud.google.com/).
10+
11+
2. Create a new Project or open an existing one
12+
13+
![GCP New Project](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/PipeOpsCreateGCPProject.png)
14+
15+
3. Open the embedded Google shell
16+
17+
![GCP Embedded Shell](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/gcp_shell_1.webp)
18+
19+
4. Run the following command in the Google Shell to create the service account and generate the json key
20+
21+
22+
```bash
23+
curl https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/create_credentials_gcp.sh | \
24+
bash -s -- $GOOGLE_CLOUD_PROJECT pipeops_role pipeops-service-account
25+
```
26+
27+
You can modify:
28+
- the service account name by replacing **pipeops-service-account** by the name of your choice
29+
- the role name by replacing **pipeops_role** by the role name of your choice
30+
31+
32+
5. Once the script is finished, you will see the following message:
33+
34+
```
35+
created key [xxxx] of type [json] as [key.json] for [pipeops-service-account@<your-project.iam.gserviceaccount.com]
36+
Operations completed. You can now download your json key to upload in PipeOps
37+
```
38+
So you can download it by clicking on the **Download** in the **Cloud Terminal Shell** window.
39+
40+
![GCP JSON Credentials Download Step](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/gcp_shell_5.webp)
41+
42+
And specify the name of the file /your/home/key.json and click on Download.
43+
44+
![GCP JSON Credentials Download Path](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/GCPJSONCredentialsDownload.png)
45+
46+
Congratulations you have successfully created your GCP JSON credentials.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
sidebar_position: 8
3+
title: Generate Huawei credentials
4+
slug: generate-huawei-credentials
5+
---
6+
7+
Creating a Huwei credentials is required to connect your Huawei Account to PipeOps. The followings steps would highlight how to generate the credentials to be securely added on PipeOps platform.
8+
9+
1. [Connect to your Huawei console](https://console-intl.huaweicloud.com).
10+
11+
2. Create a new IAM User by clicking on the "Create User" button by the top right of the page.
12+
13+
![Huawei New IAM User](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/CreateHuaweiIAMUser.png)
14+
15+
3. Provide a unique **username** e.g PipeOpsIAMUser and ensure the followings
16+
- Allow "Access Type" to be **__Programmatic access__**
17+
- Enable "Management console access"
18+
- Credential Type should be enabled to use **__Access key__**
19+
- Login Protection enabled
20+
21+
![Set Huawei IAM User Details](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/SetHuaweiIAMUserDetails.png)
22+
23+
Click on the "Next" button at the bottom right of the page.
24+
25+
4. Select the check box for admin "Full permissions" and click the "Create" button at the bottom right of the page.
26+
27+
![Set Huawei IAM User Permission](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/HuaweiIAMPermission.png)
28+
29+
30+
5. Ensure you download the created credentials which is a CSV file, by clicking the "OK" button first and "Download" button . The CSV contains your "User Name", "Access Key Id" and "Secret Access Key".
31+
32+
![Set Huawei IAM User Permission](https://pub-950943fa1bc54978bed46ef104f9d81a.r2.dev/HuaweiCredentialsDownload.png)
33+
34+
Congratulations you have successfully created your Huawei credentials.

0 commit comments

Comments
 (0)
Please sign in to comment.