Sachin Chaurasiya

DevOps

DevOps engineering notes

Automation, delivery pipelines, infrastructure as code and the operational practices that keep production moving.

Covers DevOps Infrastructure as Code Linux Production Engineering Observability Terraform Ansible Linux Prometheus Grafana

Articles

Cloud Security beginner

Cloud Identity and Least Privilege: Humans, Workloads and CI

Human and workload identities and the credentials that carry them: why static keys are dangerous, how a bound short-lived token differs from a legacy one, how CI assumes a role without a key, and how to scope each one.

13 min read
Observability intermediate

Kubernetes Observability with Prometheus, Grafana and Loki

kube-prometheus-stack, Loki in single-binary mode and Alloy on a kind cluster; the PromQL and LogQL that answer operational questions; low-cardinality log labels; a real OOM restart loop diagnosed end to end.

21 min read
Cloud Security intermediate

Logging, Audit and Security Visibility: Who Did What, From Where

Application, infrastructure and audit logs and what each answers; Kubernetes API audit logging enabled on a real cluster, tuned from lease noise to the events that matter, and read for denied and privileged requests.

13 min read
DevOps intermediate

Platform Engineering Foundations: Defining the Platform Contract

The operating model behind the CI templates, ApplicationSets, Kyverno guardrails and observability stack on this site: what a team hands over, what the platform returns, where the golden path ends and enforcement begins.

11 min read
DevOps intermediate

Platform Guardrails with Kyverno and GitOps

Kyverno as a platform guardrail system: baseline and production policy layers keyed on namespace labels, delivered by Argo CD from one repository, rolled out audit-first, with scoped expiring exceptions.

17 min read
Infrastructure as Code intermediate

IaC Security in CI/CD: Gates, Exceptions and Baselines

Put Checkov in front of terraform plan: a GitLab CI job on every merge request, a baseline so only new findings fail, a pass/fail policy by check ID, exceptions with reasons, reports in the MR, and branch protection.

12 min read
Infrastructure as Code intermediate

Scan Infrastructure as Code with Checkov

Run Checkov against Terraform with a public database, an open security group and an unprotected bucket; read the 22 findings and why they matter; fix them; then record the rest as documented skips.

12 min read
Infrastructure as Code intermediate

Secure Terraform Foundations: Pinning, State, Secrets and Review

The security foundations of a Terraform repository: pinned versions with a committed lock file, remote state with locking and access control, secrets kept out of source, least-privilege plan and apply roles.

11 min read

Related tools

deploy Configuration management

Ansible

Agentless configuration management and orchestration over SSH.

secure IaC scanner

Checkov

Static analysis for infrastructure as code: Terraform, CloudFormation, Kubernetes and Dockerfiles.

observe Visualisation

Grafana

Dashboards and alerting across metrics, logs and traces.

observe Metrics & alerting

Prometheus

Pull-based metrics collection, storage and alerting with PromQL.

deploy Infrastructure as code

Terraform

Infrastructure as code with a plan/apply workflow and a large provider ecosystem.