StackPractices

devops

Practical resources about devops for software engineers.

213 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

Go REST API with Gin and Middleware

Build production-ready REST APIs in Go using the Gin framework with custom middleware for logging,...

intermediate

Build gRPC Services in TypeScript with Protocol Buffers

Build production-ready gRPC services in TypeScript using Protocol Buffers. Covers unary, streaming,...

intermediate

APScheduler BackgroundScheduler: Prevent Overlapping Jobs

Run cron-like jobs in Python using APScheduler. Covers interval, cron, and date triggers, job...

intermediate

Parse Server Log Files with Python, Java and JavaScript

Parse and analyze server log files with Python, Java, and JavaScript. Covers regex, structured...

intermediate

Ansible Playbook for Server Configuration

How to write and run Ansible playbooks for provisioning, configuring, and managing servers with...

intermediate

Deploy Containers to AWS ECS with Fargate

How to deploy Docker containers to AWS ECS using Fargate serverless compute with Terraform and...

intermediate

Background Jobs

How to schedule and run background jobs using cron, task queues, and workers.

intermediate

AWS CLI Bash Scripts

Automate AWS resource provisioning with bash and AWS CLI

intermediate

Backup Rotation Script in Bash

Automated backup with retention policies using bash and find.

intermediate

Monitor Disk Usage with Bash

Alert when disk space crosses thresholds with bash scripts

intermediate

Log Rotation and Compression in Bash

Rotate and compress application logs automatically with bash scripts

intermediate

Run Shell Commands in Parallel with Bash

Execute multiple shell commands concurrently using xargs, GNU parallel, and background jobs.

beginner

Bash Scripting for DevOps Automation and System Tasks

How to write reliable Bash scripts for automating deployments, system monitoring, log rotation, and...

intermediate

Blue-Green Deployment Recipe

Deploy with zero downtime using blue-green environments, instant traffic switching, and automated...

advanced

Chaos Engineering

Build resilient systems by intentionally injecting failures and observing how your distributed...

beginner

CI/CD Pipeline Setup

Set up automated CI/CD pipelines for testing, building, and deploying applications with GitHub...

intermediate

CLI Argument Parsing in Python, JS, Java, Go, and Rust

Build command-line tools that handle flags, positional arguments, subcommands, and validation in...

cli command-line argparse commander.js
intermediate

Container Image Security Scanning with Trivy

Scan Docker images for vulnerabilities, misconfigurations, and secrets using Trivy, integrate...

beginner

Cron Jobs

How to schedule and manage recurring tasks using cron syntax across Linux, Python, and Node.js.

beginner

Docker Basics

How to containerize an application, write a Dockerfile, and run containers with Docker Compose.

No results found.