Skip to content

HumanCellAtlas/logs

Repository files navigation

Logs

This repository holds the configuration for the HCA's centralized logging, monitoring, and alerting. The design of this system is described in the DCP Centalized Logging design document.

Configuration

If this is your first deployment, you will first need to populate AWS Secrets Manager with your configuration for the logs project. You can do this with templates using the following command.

python3 scripts/secret_templates.py

Then, configure your logs deployment by modifying the JSON values in each of these secrets. All secrets for the logs project have the prefix logs/.

CI User

To run this repository a CI user must be set up in your AWS account. These are created from the configuration in the ci directory.

You don't need to run the commands in this subdirectory yourself, the deployment step should do this for you.

Environment

First, set the PROJECT_ROOT and download the project's secrets with the following commands

export AWS_PROFILE=<profile>
export GOOGLE_APPLICATION_CREDENTIALS=<credentials.json>
source environment
make secrets
make clean-terraform init

Deployment

The following command will deploy the CI configuration, infrastructure, and apps. In short, everything.

make deploy

Development

To install the development environment run make install.

Testing

To run unit tests, run make test.

Security

Please note: If you believe you have found a security issue, please responsibly disclose by contacting us at security-leads@data.humancellatlas.org.

About

Infrastructure for centralizing and indexing logs

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •