India’s Leading Domain & Web Hosting Provider
D2C brand house catches a ₹1.6 lakh-a-day NAT gateway spike within four hours
House of nine D2C brands sharing one commerce platform, ₹65 lakh monthly AWS bill · AWS Mumbai (ap-south-1) · 6 weeks
As-is situation
The company ran nine brand storefronts on a shared commerce platform across 16 AWS accounts. A single AWS Budget on the management account emailed the CTO at 100% of actual spend. Cost Anomaly Detection was enabled with one estate-wide monitor, which flagged a few items a month that nobody investigated. Last year, a product-image service was redeployed into a private subnet without an S3 gateway endpoint, sending image traffic through NAT gateways during a sale week. The NAT bill rose ₹14 lakh before anyone noticed, in the following month's invoice.
- One budget and one anomaly monitor for nine brands and a shared platform.
- NAT data-processing charges could rise sharply within hours of a configuration change.
- Previous anomaly alerts were ignored because nobody owned them.
Approach, tools and architecture
NTSPL created a cost category per brand plus one for the shared platform, then a Cost Anomaly Detection monitor for each with ₹20,000-a-day impact thresholds. Budgets per brand used the marketing calendar so sale weeks had higher thresholds, alerting on forecast. CloudWatch alarms on NAT gateway BytesOutToDestination and on S3 request counts gave minute-level warnings. Alerts flowed through SNS to a Lambda that added the top usage types and owner, then to each brand team's Slack channel via Amazon Q Developer in chat applications. Sandbox accounts got budget actions applying a deny SCP at the hard limit.
Implementation approach
Measured results
Operational improvements
- Brand teams see their own platform cost weekly and plan campaign infrastructure with it.
- S3 gateway endpoints are now enforced by an AWS Config rule after the repeat incident.
Cost considerations
Anomaly Detection and Budgets add negligible cost; CloudWatch alarms and the enrichment Lambda cost under ₹6,000 a month. The main effort was agreeing brand-level budgets with the marketing calendar, which finance now updates quarterly. No third-party tool was licensed.
Return on investment
The repeat NAT incident alone would have cost about ₹15 lakh based on the previous occurrence; it cost ₹27,000. Across six months, early detection avoided an estimated ₹31 lakh of overrun against a six-week setup.