Our EC2 Machines
There are a couple of EC2 machines that are running on a daily basis that provide various monitoring purposes. This page lists the machines, their credentials and their purpose. They mostly make use of Slack Notifications to inform team members of updates.
Our regular machines are setup based on our baseline AMI. Too learn more about how this is done, refer to the Working with R on AWS EC2 guide.
- FREE | checks running instances
- Credentials: user:
rstudio, password:i-0ae44a110b2828252 - Purpose: runs
aws ec2 describe-instancesin a for loop every couple of hours and posts active instances on the#awschannel - Notes: if we rotate SSH keys, make sure to update the AWS credentials and start the for loop again
- Action: pastes which AWS instances are active
- Script: monitoring/aws.R
- FREE | Qualtrics backups
- Credentials: user:
rstudio, password:i-0ae44a110b2828252 - Purpose: every 45 minutes runs Qualtrics data backup for a given survey and stores the current backup data on S3
- Notes: change
survey_idsvector on every start of the backup process - Action: pastes backups to the
#qualtrics_backupschannel - Script: tools/qualtrics/qualtrics_backup.R
- FREE | dynata monitoring progress
- Credentials: user:
rstudio, password:i-0ae44a110b2828252 - Purpose: check Dynata collection progress
- Notes: to start monitoring change
qualtrics_survey_idanddynata_project_idand then run the for loop - Action: pastes (roughly after every 60 minutes) a current Dynata collection progress on
#dynata-survey-statuschannel - Script: monitoring/dynata.R
What you need to know about docker?
- FREE | Overquotas API
- Credentials: user:
mkosinski, password:steelpanther- Once it’s started you need to ssh to the machine and run
sudo docker-compose up -d - Then you will be able to log through
instance_ip:2000/
- Once it’s started you need to ssh to the machine and run
- Notes: Hosts
Over Qutoas API with an associated elastic IP
3.222.211.231 - Action: pings
3.222.211.231/HOUSE/store?to call the API - Script: tools/plumber/over-quotas