diff --git a/AWS-EC2.md b/AWS-EC2.md index 75f64bd..d59f053 100644 --- a/AWS-EC2.md +++ b/AWS-EC2.md @@ -1,11 +1,29 @@ -Running Statping on the smallest EC2 server is very quick using the AWS AMI Image. When the AMI image boots it will automatically run the [init.sh](https://github.com/hunterlong/statping/blob/master/dev/init.sh) script to update Docker containers and remove unused containers/images. The server will also re-download the init.sh script to make sure it is up-to-date with the latest updates and bug fixes. +Running Statping on the smallest EC2 server is very quick using the AWS AMI Image. The AWS AMI Image will automatically start a Statping Docker container that will automatically update to the latest version. Once the EC2 is booted, you can go to the Public DNS domain to view the Statping installation page. The Statping root folder is located at: `/statping` on the server. # AMI Image Choose the correct AMI Image ID based on your AWS region. -- us-east-1 `ami-b3be85cc` -- us-east-2 `ami-cc7a40a9` -- us-west-1 `ami-6d1ffd0e` -- us-west-2 `ami-7be8a103` +- us-east-1 `ami-09ccd23d9c7afba61` (Virginia) +- us-east-2 `ami-0c6c9b714a501cdb3` (Ohio) +- us-west-1 `ami-02159cc1fc701a77e` (California) +- us-west-2 `ami-007c6990949f5ccee` (Oregon) +- eu-central-1 `ami-06e252d6d8b0c2f1f` (Frankfurt) + +# Instructions + +### 1. Create an EC2 instance from AMI Image +Go to the main EC2 dashboard and click 'Launch Instance'. Then type `Statping` inside the search field for 'Community AMI'. Once you've found it in your region, click Select! + + + +### 2. Get the Public DNS for EC2 Instance +Copy the 'Public DNS' URL and paste it into your browser. + + + +### 3. Setup Statping +Use SQLite if you don't want to connect to a remote MySQL or Postgres database. + + Then set the image with a environment variable: `AMI_IMAGE=ami-7be8a103`