StackPractices

devops

Practical resources about devops for software engineers.

203 results

Automating Infrastructure and Delivery

DevOps bridges the gap between writing code and running it in production. Containerization, CI/CD pipelines, infrastructure as code, and observability are no longer optional — they are table stakes for modern engineering teams.

Find practical recipes for building Docker images, writing GitHub Actions workflows, deploying to Kubernetes, managing Terraform state, and setting up Prometheus monitoring. Each guide is tested against real cloud environments and includes troubleshooting tips.

intermediate

Load Balancing with HAProxy and Health Checks

Configure HAProxy as a high-performance load balancer with active health checks, sticky sessions,...

beginner

Parse and Validate YAML/JSON Configuration

How to parse and validate application configuration files in YAML and JSON across Python,...

beginner

Set Up Pre-Commit Hooks with husky and lint-staged

Set up production-ready pre-commit hooks with husky, lint-staged and the pre-commit framework....

devops git pre-commit husky
intermediate

Metrics Collection and Alerting with Prometheus

Instrument applications and infrastructure with Prometheus metrics, configure alerting rules, and...

intermediate

Expose Custom Application Metrics with Python and Prometheus

Build a custom Prometheus metrics exporter in Python using prometheus_client. Covers counters,...

advanced

Build a Custom Terraform Provider with Python

Extend Terraform with a custom provider using Python and the terraform-plugin-framework to manage...

intermediate

Retry Logic with Exponential Backoff

How to implement resilient retry logic with exponential backoff and jitter for transient failures...

intermediate

Manage Application Secrets Securely

How to store, rotate, and inject API keys, database passwords, and certificates without hardcoding...

devops secret-management vault ci-cd
intermediate

Setup CI with GitLab Pipelines

How to configure GitLab CI/CD pipelines for testing, building, and deploying applications using...

beginner

Setup SSL Certificates with Let's Encrypt

Step-by-step guide to getting free TLS certificates from Let's Encrypt with Certbot — Nginx,...

ssl tls certbot letsencrypt
intermediate

Provision an AWS VPC with Terraform

How to use Terraform to provision a production-ready AWS VPC with public and private subnets, NAT...

intermediate

Store Terraform State in S3 with DynamoDB Locking

How to configure Terraform remote state with S3 backend and DynamoDB locking, covering state...

intermediate

Isolate Environments with Terraform Workspaces

How to use Terraform workspaces for environment isolation, covering workspace creation, conditional...

intermediate

Traffic Mirroring for Production Testing

Mirror production traffic to staging environments for realistic testing, shadow deployments, and...

intermediate

Event Streaming with Apache Kafka and Node.js

Build growth-ready event-driven systems using Apache Kafka with producers, consumers, consumer...

intermediate

Container Security: Scan, Harden, and Sign Docker Images

Scan container images for CVEs and secrets with Trivy and Grype. Harden Dockerfiles, generate...

intermediate

Package Python Dependencies for AWS Lambda with Layers

Package Python dependencies for AWS Lambda using Lambda Layers, Docker builds for native...

intermediate

External Configuration Store Pattern

Centralize application configuration outside deployment artifacts to support live updates,...

intermediate

Blue-Green Deployment Pattern

Run two identical environments and switch traffic between them. Deploy to the idle environment,...

intermediate

Canary Release Pattern

Route a small percentage of traffic to the new version while the rest stays on stable. Monitor...

No results found.