BrandActif - AWS infrastructure for TV commerce at scale
Turning live TV ads into real-time mobile engagement, on AWS infrastructure built to absorb broadcast-sized traffic spikes.
About the project
Project Overview
Description
BrandActif turns television into an interactive channel: when an ad airs, viewers scan the screen or tap a link on their phone and land in a synced, branded experience with offers, videos, polls or a test-drive booking. Global FMCG, media, sports and retail brands have run campaigns on the platform. Selleo has been BrandActif's technology partner since 2019, and we designed, built and operate the whole AWS infrastructure behind it. That covers the scanning engine that recognises TV images and audio, the admin portal where brands build campaigns, and the mobile web apps viewers open. Everything is defined as code in Terraform, so each environment and region can be rebuilt and audited from one repository.
What we run on AWS
- 1Scanning engineRecognises TV images and audio in real time
- 2Admin portalWhere brands build and launch campaigns
- 3Campaign web appsThe branded mobile experience viewers open
Challenge
TV traffic is all-or-nothing: an ad break sends a whole audience to their phones in the same 30 seconds, then traffic drops back to almost zero. The platform had to serve a TV audience of 400 million viewers in India and stay fast at the exact moment they all reach for their phones. Paying for that capacity around the clock would have wasted most of the budget, because most hours carry no live campaign. BrandActif also expanded from India to Singapore and the UK, so data and apps had to sit close to each audience. Every new brand campaign needed its own secure mobile app on its own domain, launched fast and without manual setup.
Traffic during a TV campaign
Outcome
BrandActif has run live TV campaigns on this infrastructure for nearly seven years, across India, Singapore and the UK. The platform serves a TV audience of 400 million viewers in India, scaling out for each ad break and back down between campaigns, so BrandActif pays for peak capacity only when an ad is on air. Launching a new brand app comes down to one Terraform module and a DNS record, which is how production grew to more than 170 branded campaign apps. Cost control is built in, with AWS Budgets alerts tracking monthly spend.
Our solution
How we built it on AWS
A containerised, queue-driven platform that scales up for a campaign and back down when it ends.
A branded app per campaign
Each campaign's mobile web app is served from S3 through its own CloudFront distribution, with an ACM certificate, a Route 53 domain and Lambda@Edge security headers. Production now runs 170+ of these apps.
Elastic compute
The scanner, portal and background workers run as Docker containers on Amazon ECS, on EC2 Auto Scaling groups behind Application Load Balancers. A custom Lambda rebalances tasks across instances after each scale-up.
Peaks absorbed by queues
Incoming TV, radio and geolocation scans go to Amazon SQS queues, so a 30-second spike is buffered instead of overloading the database.
Database built for bursts
Amazon RDS PostgreSQL runs Multi-AZ, with a PgBouncer connection-pooling cluster on ECS in front of it and ElastiCache Redis for caching.
Serverless media pipeline
AWS Lambda creates scan images and extracts video frames, Elastic Transcoder converts videos to HLS in 360p, 540p and 720p, and Amazon Rekognition moderates uploaded videos automatically.
Multi-region
Production runs in Mumbai (ap-south-1), Singapore (ap-southeast-1) and Ireland (eu-west-1), with the global edge layer in us-east-1.
Technologies
AWS services used
Defined as code across 16 Terraform Cloud workspaces covering every environment and region.
| Area | AWS services | What they do for BrandActif |
|---|---|---|
| Compute | ECS, EC2 Auto Scaling, ECR, AWS Batch | Run the scanner, portal and workers as containers; scale for campaigns; run batch deployments of campaign apps |
| Networking | VPC, Application and Network Load Balancers, NAT Gateway, Route 53 | Public and private subnets, traffic routing, 200+ DNS records across 6 hosted zones |
| Data | RDS PostgreSQL (Multi-AZ), ElastiCache Redis, S3 | Campaign and scan data, caching, uploads and media |
| Messaging | SQS, SNS, SES | Buffer scan spikes, alerts, transactional email with DKIM |
| Serverless and media | Lambda, Lambda@Edge, API Gateway, Elastic Transcoder, Rekognition | Scan image generation, video frame extraction, HLS video, automatic content moderation, security headers |
| Delivery | CloudFront, ACM | 170+ branded campaign apps on custom domains with TLS |
| CI/CD | CodePipeline, CodeBuild, ECR | Build and deploy containers from GitHub |
| Security | IAM, SSM Parameter Store | Least-privilege roles, configuration |
| Monitoring and cost | CloudWatch, Elasticsearch Service with Cognito, AWS Budgets | Dashboards, log search, Slack alerts, monthly budget alerts |
Design system
Styleguide
We have developed a unique and user-friendly design system.
Typography

Colors
Components

results
Outcome Gallery
This is how the app looks inside!
Mobile Screens

Campaign view


Users screens



Check out the next project