Skip to content
StackPractices

Tag: deployment

Browse 35 practical software engineering resources tagged with "deployment". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving deployment.

Background Jobs

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

Bash Scripting for DevOps Automation and System Tasks

How to write reliable Bash scripts for automating deployments, system monitoring, log rotation, and routine maintenance tasks

Blue-Green Deployment

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

CI/CD Pipeline Setup

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

CLI Tool with Argument Parsing

How to build a professional command-line interface with argument parsing, flags, and subcommands.

Cron Jobs

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

Environment Variables

How to read, set, and manage environment variables securely across Python, JavaScript, and Java.

Feature Flags

How to implement feature toggles to safely roll out, test, and rollback functionality without deploying code.

Generate Sitemaps Live

How to build and serve live XML sitemaps from your application data, with multi-language support, pagination, and automatic lastmod dates.

GitHub Actions CI/CD

How to build and deploy with GitHub Actions using workflows, matrices, caching, and secrets.

Implement Graceful Shutdown and Zero-Downtime Restarts

How to implement graceful shutdown and zero-downtime restarts for web servers, workers, and containers

Canary Deployments with Istio Service Mesh

How to use Istio traffic splitting to perform safe canary deployments by gradually shifting user traffic between application versions

Parse and Validate YAML/JSON Configuration

How to parse and validate application configuration files using YAML and JSON schemas.

Set Up Pre-Commit Hooks

How to set up pre-commit hooks with husky, lint-staged, and pre-commit to enforce code quality before commits

Traffic Mirroring

Mirror production traffic to staging environments for realistic testing, shadow deployments, and performance validation without user impact.

Package Python Dependencies for AWS Lambda with Layers

Package Python dependencies for AWS Lambda using Lambda Layers, Docker builds for native extensions, and SAM/Serverless Framework integration.

Cache Warmup Runbook

Runbook for warming caches after deployment, restart, or incident: identify hot keys, preload strategies, progressive warmup, health checks, and rollback procedures with code examples and automation scripts.

CI/CD Pipeline Design Template

A template for documenting CI/CD pipeline stages, gates, environments, deployment strategies, rollback procedures, and security scanning.

Deployment Checklist Template

A pre-release verification checklist for safe production deployments.

Deployment Rollback Runbook

Runbook for rolling back failed deployments safely: rollback triggers, Kubernetes rollback, blue-green deployment rollback, canary rollback, database migration rollback, verification steps, and post-rollback procedures with code examples for kubectl, Helm, and ArgoCD.

Environment Configuration Template

A template to document environment variables, secrets, endpoints, and infrastructure settings per deployment environment.

Helm Chart Review Checklist

A checklist for reviewing Helm charts covering values, templates, security, resource limits, probes, RBAC, and best practices.

Production Readiness Review Template

A thorough checklist for verifying that a service, feature, or system is ready for production deployment and ongoing operation.

Zero-Downtime Deployment Checklist

A checklist to ensure production deployments complete without service interruptions using safe rollout patterns.

Serverless Function Deployment Checklist

Pre-deploy and post-deploy checklist for serverless functions (AWS Lambda, Azure Functions, GCP Cloud Functions): IAM roles, environment variables, memory sizing, timeout config, logging, alarms, and rollback procedures.

Disaster Recovery Plan Template

A disaster recovery plan template for documenting RTO/RPO targets, failover procedures, and recovery runbooks that minimize downtime during catastrophic failures.

Post-Deployment Verification Checklist Template

A checklist template for verifying deployments: health checks, smoke tests, metric validation, and rollback readiness before declaring all-clear.

Regression Test Checklist

A checklist for verifying existing functionality after changes: pre-deploy checks, post-deploy smoke tests, and rollback verification.

Blue-Green Deployment

A practical guide to blue-green deployments: architecture, traffic switching strategies, database migrations, and achieving zero-downtime releases with instant rollback capability.

Canary Deployment: Gradual Rollouts with Safety Controls

A practical guide to canary deployments: traffic splitting strategies, automated promotion, rollback triggers, and safely rolling out new versions to a subset of users.

CI/CD Pipeline Guide

A practical guide to building CI/CD pipelines with GitHub Actions, testing, deployment strategies, and rollback procedures.

GitHub Actions CI/CD: Workflows, Runners, Secrets

Master GitHub Actions for CI/CD: workflows, reusable workflows, composite actions, secrets management, runners, matrix builds, caching, and deployment patterns.

Helm Charts: Structure, Templating, Dependencies, Registry

Master Helm charts for Kubernetes: chart structure, templating, values, dependencies, hooks, libraries, registry management, and production patterns for deployment.

Blue-Green and Canary Deployments

A practical guide to deployment strategies: blue-green, canary, rolling, and feature flags. Minimize risk and rollback time when releasing to production.

Complete Guide to AWS Lambda in Production

Run AWS Lambda in production with confidence. Covers cold start optimization, layers, deployment patterns, observability with X-Ray, security hardening, connection pooling, and cost tuning for production workloads.