Skip to content

AWS diagnostics and triage guide

Charlie McVicker edited this page Jul 27, 2023 · 6 revisions

How do you find production or development resources and logs? Look no further!

How do I connect to the DEV/PROD PostgreSQL database?

  1. Sign into AWS and select the appropriate user role for the environment you want to inspect
  2. Find our bastion EC2 server
  • Go to AWS EC2 -> Instances -> filter by tag nu:application=dailp-app
  1. Use "Session Manager" to get a shell in the browser
  2. Check if psql exists with which psql
  3. (optional) Install psql to the Bastion server if needed
sudo amazon-linux-extras install postgresql14
  1. Connect to the database. Password should be retrieved from Naomi or another developer
psql -h dailp-database-primary.crrytz26uak5.us-east-1.rds.amazonaws.com -p 5432 -U dailp -W

How do I see DEV/PROD logs for our GraphQL Lambda function?

If you go to the "Monitor" tab and select "Logs" and then select a time range, you can see logging info.
- Naomi

How do I see DEV/PROD logs for the server-side rendering service?

TODO!

  • Dev?
  • Prod?

Clone this wiki locally