Browse Source

update docs to link to necessary parts of infra docs (#2390)

pull/2393/head
Arthur Campbell 8 months ago committed by GitHub
parent
commit
d3ddaa31b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      docs/monitoring.md

3
docs/monitoring.md

@ -33,6 +33,9 @@ To do this, you will need to “exec” into the container.
- AWS access - AWS access
#### Accessing the rails console #### Accessing the rails console
Prerequisite:
Configure AWS auth following the [documentation in the infra repo](https://github.com/communitiesuk/submit-social-housing-lettings-and-sales-data-infrastructure/blob/main/docs/development_setup.md). This also details how to enter a subshell with suitable AWS credentials.
In a shell using suitable AWS credentials for the relevant account (e.g. the development, staging, or production account), run `./exec.sh env command` In a shell using suitable AWS credentials for the relevant account (e.g. the development, staging, or production account), run `./exec.sh env command`
E.g. `./exec.sh staging "rails c"` - this will open the rails console on an app container in the staging environment, when authenticated for the staging aws account. E.g. `./exec.sh staging "rails c"` - this will open the rails console on an app container in the staging environment, when authenticated for the staging aws account.

Loading…
Cancel
Save