-
Notifications
You must be signed in to change notification settings - Fork 7
TTAHUB System Operations
Ryan Ahearn edited this page May 26, 2021
·
18 revisions
- An overview of our infrastructure can be found in the boundary diagram
- Persistent infrastructure is created, configured, and maintained with terraform scripts
- The File Scanning API is a ClamAV docker container & go API
- Application code is deployed via the last step of our CI/CD pipeline.
- Production pipeline runs
Deploying the application to the production environment requires the approval of both the Product Owner and Government Technical Monitor, or Vendor Tech Lead in the absence of a GTM role. To achieve this:
- The first approval is given by one of the PO, GTM, or Vendor tech lead opening a Pull Request to merge the current
main
branch into theproduction
branch and request a review from the other person. - The second approval is given through the PR review mechanism.
- The PR can then be merged at the time that the deploy is to be done.
Note: if a PR is prematurely marked as approved, the fix depends on whether the merge has occurred yet or not.
- If not merged -> submit a new review with "request changes" state
- If merged already -> have a conversation with Krys in Slack about whether to revert the merge or submit a new PR with any additional changes.
- Security Processes and Procedures
- Access Control & Account Management SOP
- PR Workflows
- Configuration Management
- Information on setting environment variables is found in the Continuous Deployment section of the README
- Formal Configuration Management Plan
- There is a script that will dump to the audit logs counts for various models, including breakdowns by region and status for
ActivityReports
andGrants
. See the cli script code for documentation on how to run in each environment.
If access to the production data set is required, pg_dump
can be used via cf-connect-service
. This only works if ssh access is enabled, which is not the case for the production space. In order to get a production db copy, follow these steps:
- Create a screensharing video call between at least the Product Owner, GTM, and Vendor Tech Lead.
- While sharing screen and working on Government Furnished Equipment, enable space ssh access
cf allow-space-ssh ttahub-prod
- Follow cloud.gov db backup steps
- Disable space ssh access
cf disallow-space-ssh ttahub-prod
- Immediately wipe the production db from local storage when the investigation is done
SSH access is allowed in non-production spaces, and can be enabled using the steps above for production in case of emergency.
cf ssh APP_NAME
- Get a one-time code to use as the password:
cf ssh-code
- Get the app's GUID:
cf curl /v3/apps/$(cf app APP_NAME --guid)/processes | jq --raw-output '.resources | .[] | select(.type == "web").guid'
scp -P 2222 -o User=cf:<<GUID FROM STEP 2>>/0 ssh.fr.cloud.gov:<<PATH TO FILE YOU WANT TO COPY>> <<LOCAL PATH>>
- You'll be prompted for a password, use the code you got in step 1.
- If any issues are suspected, contact the Product Owner and Government Technical Monitor
- They will activate the appropriate plan in consultation with the Vendor Technical Lead
Position | Name | Phone | |
---|---|---|---|
Product Owner | Patrice Pascual | [email protected] | |
Product Owner | Christine Nguyen | [email protected] | |
Government Technical Monitor | Ryan Ahearn | [email protected] | 202-615-6394 |
Vendor Technical Lead | Krys Wisnaskas | [email protected] | |
Vendor Product Manager | Angela Waner | [email protected] |