Sources for the https://gplassard.github.io/does-user-have-internet/ website.
This is a silly project and just a pretext to use (far too many) tools, please don't use it as an exemple !
But does it work ? Yes !
- Datadog Monitors
- Datadog Workflow Automation
- Terraform CDK
- AWS Systems Manager Parameter Store
- Github Actions
- Projen
- Diagram As Code
- ...
- Put Parameter Store in a CDK stack
- Continuous deployment for terraform & CDK changes
- Snapshot tests
- Update infra diagram through a github action when code / dependency change
- Website as a projen project
- Github action to update python dependencies
- Make history pages / retrieve SLO information
- You need an AWS Account and access credentials
- Configure S3 Bucket for Terraform State
- Configure Parameter Store for Configuration
- You need a Datadog Account and access credentials
- Access to github registry
- Have pnpm / nodejs / python / pipenv
# Installation
pnpm install # install node dependencies
cd website && yarn install # install dependencies for website
pipenv install # install python dependencies
pipenv shell # start a shell with python environment
# Useful commands
python ./docs/architecture/diagram.py # generate architecture diagram
cd website && yarn dev # start website locally
pnpm run cdktf apply # deploy terraform stack
pnpm run projen # update project files managed by projen
