- Create a user for EFF in IAM
- Need
AmazonEC2FullAccess
permission
- Create a Access keys on
Security credentials
tab
- Access key is very important!
- Be careful not to expose your key.
- Launch instane from
ami-0c8832fce913849e1
. - Add security-group rules on
Security > Inbound rules
.
- Source 0.0.0.0/0, Port range 80
- Source 0.0.0.0/0, Port range 9102
- Source 0.0.0.0/0, Port range 9090
- Source 0.0.0.0/0, Port range 3000
- Source 0.0.0.0/0, Port range 8080
- Source 0.0.0.0/0, Port range 8125
- Connect to instance.
ssh -i "EFF-KeyPair.pem" ubuntu@{your ip or domaiin}
- Create AWS config file into
back/config
.
[default]
region=ap-northeast-2
- Create AWS credential file into
back/credentials
.
[default]
aws_access_key_id=AKIAIOSFODNN7EXAMPLE
aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
- Fix cron service using
sudo crontab -e
- Remove comment symbol(
#
) in@reboot
line.
- Reboot your instnace!
- Login for initialize (id: admin / pw: admin)
- Set your admin password (or skip)
- Add data source on
Configuration > Data sources
- Default data source type is Prometheus.
- Default URL is
http://{your ip or domain}:9090
.