Case Study
Automated Image Pipeline & CloudFront Savings Bundle: 30% Cost Reduction for SaaS Email Platform
Built an automated image optimization pipeline and enrolled in CloudFront Savings Bundle to cut delivery costs by 30% while improving global email load times.
Challenge
TargetBay is a customer engagement SaaS company serving over 4,500 e-commerce brands via its BayEngage platform. Each marketing campaign features dynamic, high-resolution images that must load quickly in email clients across the globe. As the platform scaled, three critical issues emerged:
- Rising CloudFront Costs: Campaign volume and image resolution continued to increase, driving CloudFront egress costs upward with no structural mechanism to control spending.
- Performance Bottlenecks: Unoptimized images — often oversized or served in legacy formats — caused longer email load times, degrading the end-user experience and impacting campaign engagement metrics.
- Manual Workflows: Marketing teams were manually resizing and compressing images before upload, creating inconsistency across campaigns and consuming time that should have been spent on creative and strategic work.
Solution
FactualMinds designed and implemented a two-pronged approach: an automated image processing pipeline to eliminate manual workflows and a cost optimization strategy to reduce CloudFront egress spending.
Automated Image Processing Pipeline:
- Images are automatically resized if they exceed 1,200px width, ensuring consistent dimensions without manual intervention
- Adaptive compression is applied based on image type, balancing visual quality with file size
- WebP conversion is performed for JPEG and PNG assets when the conversion yields a smaller file, delivering modern formats to supported clients
- All processed images are stored in Amazon S3, ensuring every asset is lightweight, consistently formatted, and ready for global delivery
CloudFront Savings Bundle:
- Enrolled TargetBay in a 1-year CloudFront Savings Bundle at the 500 TB/month tier
- Secured approximately 30% discount on standard egress rates
- Established a predictable, lower data transfer billing model aligned with TargetBay’s usage patterns
AWS Services Used
- Amazon CloudFront — Low-latency global delivery with edge caching for optimized images
- Amazon S3 — Durable, highly available storage for processed image assets
- AWS Savings Plans (CloudFront Savings Bundle) — Committed-use discount model for egress cost reduction
- Amazon CloudWatch — Monitoring for egress volume, cache hit ratios, and performance metrics
Results
The combined approach delivered immediate cost savings and operational improvements:
- Approximately 30% reduction in CloudFront costs through the Savings Bundle and reduced egress volume from smaller image payloads
- Fully automated image optimization eliminating manual resize and compression workflows for marketing teams
- Faster email load times globally as optimized images and edge caching reduced time-to-render across regions
- Predictable billing model replacing variable egress costs with committed-use pricing aligned to actual usage
Results
Want Similar Results?
Let our AWS experts help you achieve your business goals.
