Introduction I’ll be honest when I say running a high-traffic production environment on AWS is fun…. until you see the cloud bill. At first, you overprovision a bit of memory “just to be safe.” Containers stay up a little longer than needed. Logs? Oh, we log everything because, you know, one day you might need it. And cross-AZ...
Introduction In ad-tech, logs are not “nice to have.” They are the product’s heartbeat. Every impression, every click, every bid request — everything generates logs. Multiply that by millions of requests per minute, and you’re suddenly dealing with millions of events and TB’s of logs per day. That’s exactly where one of our...
Introduction If you’ve worked in production long enough, you’ve probably heard this: “Let’s right-size the services and reduce the AWS bill.” So we do it. We check CPU and memory metrics for a week. We reduce task sizes. Costs drop. Everyone’s happy. And then…. six months later, the bill increases again....
Introduction Reducing cloud costs is always the top priority and biggest headache for Devops Engineers, especially when using managed AWS services like ECS Fargate. For one of our Ad-Tech clients at TO THE NEW, we were already utilising Fargate Spot to reduce the ECS bill significantly. But we found that we could save even more money if...
Introduction In today's fast-paced software landscape, automation isn't just a luxury—it’s a necessity. Organizations need to ship features faster, scale effortlessly, and ensure rock-solid reliability—all without drowning in operational overhead. The solution? A unified, fully automated CI/CD pipeline that does it all. Many...
“In the world of continuous delivery, downtime is the enemy of progress “ Have you ever thought that you are sitting in your office peacefully and suddenly, you are notified that migration is about to begin for the most critical tool on which all other or I would say the entire project depends on it. What do you think what tool it...
Introduction Optimizing the cost of running production workloads is essential in today’s cloud-driven world. By using Amazon ECS with Fargate Spot instances, you can significantly reduce your cloud costs while also ensuring that your applications are reliable and functional. Fargate Spot offers a cost-effective solution, offering the...
AWS recently launched a new Application Load Balancer (ALB) that supports Dynamic Port Mapping with ECS. It allows you to run two containers of a service on a single server on dynamic ports which ALB automatically detects and reconfigures itself. Amazon EC2 Container Service ECS is a managed container service that allows you to run...
If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster. If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving access to all S3 buckets and attach...
AWS Lambda is an event-driven compute service using which you can perform actions by executing some set of code on any event. We are using a lambda function to trigger AWS ECS container auto-scaling that is executed on the SNS event. Below is the AWS Lambda code in node.js that will get Cluster Name, Service Name & Operator...