Exoscale Medium (4GB, 2 x 2198 MHz, 50 GB)
Also maybe try Digital Ocean
Open the following ports in the firewall to allow INGRESS tcp
connections:
22
- to allowssh
connections13000
- to allow improved p2p connectivity3000
- to allow remote access to Grafana4000
- to allow remote access to the Beacon Node
cd ~
sudo echo
sudo apt update -y
sudo apt upgrade -y
mkdir prysm && cd prysm
curl https://raw.githubusercontent.com/prysmaticlabs/prysm/master/prysm.sh --output prysm.sh && chmod +x prysm.sh
cd ~
wget https://raw.githubusercontent.com/chrishobcroft/prysmconfig/master/beacon.service
wget https://raw.githubusercontent.com/chrishobcroft/prysmconfig/master/prometheus.service
wget https://raw.githubusercontent.com/chrishobcroft/prysmconfig/master/grafana.service
sudo mv *.service /etc/systemd/system
sudo systemctl enable /etc/systemd/system/beacon.service
sudo systemctl enable /etc/systemd/system/prometheus.service
sudo systemctl enable /etc/systemd/system/grafana.service
wget https://github.com/prometheus/prometheus/releases/download/v2.18.1/prometheus-2.18.1.linux-amd64.tar.gz
tar -zxvf prometheus-2.18.1.linux-amd64.tar.gz
rm prometheus-2.18.1.linux-amd64.tar.gz
cd prometheus-2.18.1.linux-amd64
rm prometheus.yml
wget https://raw.githubusercontent.com/chrishobcroft/prysmconfig/master/prometheus.yml
cd ~
wget https://dl.grafana.com/oss/release/grafana-6.7.3.linux-amd64.tar.gz
tar -zxvf grafana-6.7.3.linux-amd64.tar.gz
rm grafana-6.7.3.linux-amd64.tar.gz
sudo reboot
Notes
-
TO DO: Telegram Bot Alerting stuff
-
Tail logs with
sudo journalctl -f --unit=beacon.service
sudo journalctl -f --unit=prometheus.service
sudo journalctl -f --unit=grafana.service
-
log in to Grafana at http://{ip-address}:3000/# admin/admin (first time load will be slow)
- add a Prometheus data source with URL
http://localhost:9090
and click "Save & Test" to see "Data source is working" - import new dashboard using this as json https://raw.githubusercontent.com/GuillaumeMiralles/prysm-grafana-dashboard/master/more_10_validators.json
- add a Prometheus data source with URL
-
Wait for beacon node to sync