mirror of https://github.com/statping/statping
Updated AWS EC2 (markdown)
parent
31cd8c2a5d
commit
e329d09f5c
11
AWS-EC2.md
11
AWS-EC2.md
|
@ -8,6 +8,17 @@ Choose the correct AMI Image ID based on your AWS region.
|
||||||
- us-west-2 `ami-007c6990949f5ccee` (Oregon)
|
- us-west-2 `ami-007c6990949f5ccee` (Oregon)
|
||||||
- eu-central-1 `ami-06e252d6d8b0c2f1f` (Frankfurt)
|
- eu-central-1 `ami-06e252d6d8b0c2f1f` (Frankfurt)
|
||||||
|
|
||||||
|
# Upgrading Staping
|
||||||
|
You can upgrade the Statping executable by running the commands below on your EC2 instance.
|
||||||
|
```
|
||||||
|
VERSION=$(curl -s "https://github.com/hunterlong/statping/releases/latest" | grep -o 'tag/[v.0-9]*' | awk -F/ '{print $2}')
|
||||||
|
wget https://github.com/hunterlong/statping/releases/download/$VERSION/statping-linux-x64.tar.gz
|
||||||
|
tar -xvzf statping-linux-x64.tar.gz
|
||||||
|
chmod +x statping
|
||||||
|
mv statping /usr/local/bin/statping
|
||||||
|
```
|
||||||
|
You can test the version number by running `statping version`.
|
||||||
|
|
||||||
# Instructions
|
# Instructions
|
||||||
|
|
||||||
### 1. Create an EC2 instance from AMI Image
|
### 1. Create an EC2 instance from AMI Image
|
||||||
|
|
Loading…
Reference in New Issue