You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gitpod-network-check/README.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ A CLI to check if your network setup is suitable for the installation of Gitpod.
17
17
```
18
18
19
19
2. Set up AWS credentials
20
-
20
+
21
21
`gitpod-network-check` needs access to the AWS account you are planning to use to deploy Gitpod in. Much like AWS CLI, `gitpod-network-check` uses the available AWS profile in your terminal to authenticate against the account. This means that you can rely on any locally available [AWS profiles](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) or just set the right environment variables in your terminal for the CLI to use:
22
22
```
23
23
export AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
@@ -44,7 +44,7 @@ A CLI to check if your network setup is suitable for the installation of Gitpod.
44
44
45
45
To start the diagnosis, the the command: `./gitpod-network-check diagnose`
46
46
47
-
```
47
+
```console
48
48
./gitpod-network-check diagnose
49
49
INFO[0000] ✅ Main Subnets are valid
50
50
INFO[0000] ✅ Pod Subnets are valid
@@ -77,3 +77,18 @@ A CLI to check if your network setup is suitable for the installation of Gitpod.
77
77
INFO[0191] ✅ S3 is available
78
78
```
79
79
80
+
3. Clean up after network diagnosis
81
+
82
+
Dianosis is designed to do clean-up before it finishes. However, if the process terminates unexpectedly, you may clean-up AWS resources it creates like so:
83
+
84
+
```console
85
+
./gitpod-network-check clean
86
+
INFO[0000] ✅ Main Subnets are valid
87
+
INFO[0000] ✅ Pod Subnets are valid
88
+
INFO[0000] ✅ Instances terminated
89
+
INFO[0000] Cleaning up: Waiting for 2 minutes so network interfaces are deleted
90
+
INFO[0121] ✅ Role 'GitpodNetworkCheck' deleted
91
+
INFO[0121] ✅ Instance profile deleted
92
+
INFO[0122] ✅ Security group 'sg-0a6119dcb6a564fc1' deleted
93
+
INFO[0122] ✅ Security group 'sg-07373362953212e54' deleted
0 commit comments