Updated AWS EC2 (markdown)

master
Hunter Long 2019-09-19 23:56:31 -07:00
parent 31cd8c2a5d
commit e329d09f5c
1 changed files with 11 additions and 0 deletions

@ -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