Case Study

How Factual Minds Helped TargetBay Achieve Scalable Microservices on Amazon ECS (EC2)

Challenges

Solution Provided by Factual Minds

Factual Minds designed and implemented a modern, containerized architecture using Amazon ECS on EC2, introducing fault isolation, auto-scaling, and path-based routing for service-level flexibility.
Microservices Decomposition
ECS on EC2 with Auto Scaling
Load Balancing & Routing

Implemented an Application Load Balancer (ALB):

API Gateway Integration
Added Amazon API Gateway (HTTP API) for:
Monitoring & Auto Scaling

Results & Benefits

Metric
Before (ECS)
After (Amplify)
Uptime
Vulnerable to single-node crash
>99.99% availability with ASG redundancy
Scalability
Manual, vertical, with downtime
Auto-scaled per microservice
Release Speed
Hours + risk of downtime
CI/CD enabled, zero-downtime releases
Resilience
OOM crashes and unresponsive API
Isolated services with self-healing ECS
Compute Cost
Static EC2 pricing
30% savings using Spot + On-Demand mix
Security & Traffic Control
Basic NGINX throttling
API Gateway + IAM + AWS WAF

AWS Services Used

Why Choose Factual Minds?

Get Started Today

Looking to enhance your development team’s efficiency with Amazon Q? Contact Factual Minds today for expert guidance and seamless implementation!
Client Overview

TargetBay is a marketing automation SaaS provider powering dynamic email and SMS campaigns. Their core platform serves thousands of e-commerce merchants via a suite of RESTful APIs. Initially deployed on a single Amazon EC2 instance, the platform handled web traffic, API calls, batch processing, and scheduled jobs—all from a centralized node.

Take the First Step Towards Cloud Excellence

Explore scalable, innovative, and cost-effective solutions for your business