# DevOps

[CPU load explanation](https://scoutapm.com/blog/understanding-load-averages). Good one. I have read it and enjoyed

## How to

* [install particular version of terraform using tfenv](https://stackoverflow.com/a/56283464)
* [90 days of Devops (how to configure machine, backups, etc)](https://github.com/MichaelCade/90DaysOfDevOps/tree/main/Days)

## SRE

* [Curated list of SRE practices of different companies](https://github.com/upgundecha/howtheysre)
* [Stack on a budget](https://github.com/255kb/stack-on-a-budget). List of free tiers for developers
* [Free cloud resources for development/deploy](https://free-for.dev/#/). free-for.dev
  * [Sandstorm is an open source platform for self-hosting web apps](https://sandstorm.io/)
  * [https://coolify.io/](https://coolify.io/) if you want Heroku / Vercel / Netlify applications deployment controlled 100% by you and in your server

## Tools:

* [Vault](https://www.vaultproject.io/).
  * Vault secures, stores, and tightly controls access to tokens, passwords, certificates, API keys, and other secrets in modern computing. Vault handles leasing, key revocation, key rolling, auditing, and provides secrets as a service through a unified API.
* [gitleaks](https://github.com/zricethezav/gitleaks)
  * SAST tool for detecting hardcoded secrets like passwords, api keys, and tokens in git repos
* [semantic-release](https://github.com/semantic-release/semantic-release)
  * tool for CI/CD: determining the next version number, generating the release notes and publishing the package.
* K8s convenient UI tools
  * [octant](https://github.com/vmware-tanzu/octant) (tried, look +- good)
  * :thumbsup:[lens](https://k8slens.dev/) (tried, looks like more functional)
    * [OpenLens](https://github.com/MuhammedKalkan/OpenLens/) if you are in Enterprise company
  * [k9s](https://github.com/derailed/k9s) (tried, a little weird, not useful a lot)
* [Cloud carbon foot-print](https://www.cloudcarbonfootprint.org/)
  * (aka GreenOps) open-source tool from Thoughtworks which "Understand how your cloud usage impacts our environment and what you can do about it".&#x20;
* [Best tools to visualise Terraform](https://dev.to/miketysonofthecloud/best-tools-to-visualize-your-terraform-252a)
* VPN
  * [https://amnezia.org/ru](https://amnezia.org/ru)
  * [https://getoutline.org/ru/](https://getoutline.org/ru/)

## Monitoring

There is Helm chart which simplifies monitoring setup in K8s `kube-prometheus-stack`

### Prometheus

* [Good explanations of PromQL, counters and gauges](https://www.innoq.com/en/blog/prometheus-counters/)
* Detailed explanation of `rate()` function ([LINK](https://www.metricfire.com/blog/understanding-the-prometheus-rate-function/))

## API Gateway

* [Apache APISIX](https://apisix.apache.org/)
  * looks very rich in functionality



## IaaC (Infrastructure as a code)

* [CDK (Cloud Development Kit) for K8s](https://cdk8s.io/)
* [former2](https://former2.com/)
  * scans AWS account and generates IaaC for existing resources
* [terraform-cdk](https://github.com/hashicorp/terraform-cdk)
  * allows developers to use familiar programming languages to define cloud infrastructure and provision it through HashiCorp Terraform
