ECS autoscaling race condition with task protection

Autoscaling Killed Our Healthy ECS Worker. Here Is Why.

Our ECS worker was healthy, not crashing, not stuck — yet autoscaling killed it right as it picked up a new job. The fix? Inverting the ECS Task Protection lifecycle so the worker is protected whenever it’s ready to accept work, not just while processing.

June 20, 2026 · 5 min · 916 words · Ivan Yalovets
How One Line of CDK Cut Our Caching Costs by 20%

How One Line of CDK Cut Our Caching Costs by 20%

Every production system needs a cache, and most of us run Redis on ElastiCache. By switching the engine to Valkey — a one-line CDK change — we saved 20% on our caching bill. Here’s the full story with real numbers.

June 20, 2026 · 6 min · 1149 words · Ivan Yalovets
ECR Pull-Through Cache - Docker Hub Rate Limits Solution

ECR Pull-Through Cache: Solving Docker Hub Rate Limits

Docker Hub rate limits can break your CI/CD pipeline. Discover how ECR pull-through cache acts as a smart middle layer between your builds and Docker Hub, solving rate limits, speeding up builds, and reducing costs.

March 30, 2026 · 3 min · 602 words · Ivan Yalovets
When Cost Optimization Breaks Production

When Cost Optimization Breaks Production: A Story of EFS, ECS, and Ephemeral Storage

We reduced EFS costs by 70% by moving temporary file operations to ephemeral storage. Everything looked perfect — until production started acting strange. Here’s what went wrong, why it happened, and how we built a proper decoupled architecture following AWS Well-Architected principles.

March 1, 2026 · 3 min · 611 words · Ivan Yalovets
AWS CDK Best Practices

How Understanding Redis Cut Our AWS Costs by 50%

Most AWS cost optimization advice focuses on resizing infrastructure. But in this real production case, scaling wasn’t the problem — logic was. Here’s how understanding versioned Redis keys reduced our AWS bill by 50% without changing traffic or load.

February 22, 2026 · 5 min · 875 words · Ivan Yalovets
AWS OpenSearch Serverless - Cost Analysis

Think Twice Before Using AWS OpenSearch Serverless

Many businesses want a simple way to centralize and search logs. AWS OpenSearch Serverless looks perfect - no cluster management, automatic scaling. We thought the same. Three months later, we migrated away. Here’s why serverless doesn’t always mean cost-effective.

January 31, 2026 · 7 min · 1301 words · Ivan Yalovets
AWS CDK Best Practices - CloudFront Caching Issues

Can CDK Undermine Customer Trust?

When building production-grade enterprise solutions on AWS, we try to follow all the best practices. But what happens when CDK itself creates unexpected issues? A deep dive into a real-world problem with CloudFront caching and CDK configuration.

December 10, 2025 · 6 min · 1182 words · Ivan Yalovets