StackPractices

infrastructure

Practical resources about infrastructure for software engineers.

101 results

Designing Reliable Infrastructure

Infrastructure is the platform your applications run on. From cloud networking and load balancing to service meshes and auto-scaling policies, the decisions you make here affect availability, latency, and operational cost for years.

Find guides on infrastructure as code with Terraform, Kubernetes deployment patterns, reverse proxy configuration, and SSL certificate automation. Each resource is built from real-world experience running production workloads on AWS, GCP, and Azure.

intermediate

Configure Nginx as a Reverse Proxy and API Gateway

How to use Nginx as a reverse proxy for backend services, implement load balancing, SSL...

intermediate

Cache HTTP Responses with Nginx Reverse Proxy

Configure Nginx as a caching reverse proxy to cache upstream HTTP responses with TTL zones, cache...

beginner

Local Microservices Development with Docker Compose

Orchestrate multi-service local environments with Docker Compose including databases, caches,...

intermediate

Deploy Applications to Kubernetes with Helm Charts

Package, version, and deploy Kubernetes applications using Helm charts with value overrides,...

advanced

Canary Deployments with Istio Service Mesh

How to use Istio traffic splitting to perform safe canary deployments by gradually shifting user...

intermediate

Load Balancing with HAProxy and Health Checks

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

advanced

a Custom Terraform Provider with Python and

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

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

Cloud Cost Optimization Recipe

Reduce cloud infrastructure costs with right-sizing, reserved instances, spot instances, and...

advanced

Kafka Consumer Groups with Python for Scalable Streaming

Create Kafka consumer groups in Python with partition assignment, offset management, commit...

intermediate

Consume Kafka Topics with Spring Boot Stream Listeners

Build Kafka consumers in Spring Boot using @KafkaListener annotations, concurrent consumers, error...

intermediate

Configure Dead-Letter Queues in RabbitMQ for Failed Messages

Set up dead-letter queues and exchanges in RabbitMQ with TTL expiry, max length limits,...

intermediate

Build a RabbitMQ Consumer with Python and Pika

Create a RabbitMQ consumer and producer in Python using pika with durable queues, work dispatching,...

intermediate

Implement Redis Pub/Sub Messaging in Python

Build real-time pub/sub messaging with Redis and Python including pattern subscriptions, message...

beginner

Enable Brotli Compression in Nginx for Static Assets

Configure Brotli compression in Nginx to shrink JavaScript, CSS, and HTML assets with better ratios...

advanced

Manage Application Secrets with HashiCorp Vault and Python

Store, retrieve, and rotate application secrets securely using HashiCorp Vault with Python hvac...

advanced

Reduce AWS Lambda Cold Start with Provisioned Concurrency

Minimize Lambda cold start latency using provisioned concurrency, ARM64 Graviton, lighter...

intermediate

Package Python Dependencies for AWS Lambda with Layers

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

intermediate

Build HTTP-Triggered Azure Functions with Python

Create HTTP-triggered Azure Functions in Python with binding configuration, async handlers,...

intermediate

Deploy HTTP Cloud Functions on Google Cloud with Node.js

Create and deploy HTTP-triggered Cloud Functions on Google Cloud with Node.js, Express integration,...

No results found.