India’s Leading Domain & Web Hosting Provider
Test-prep edtech puts 52 Azure environments on schedules developers actually keep
Test-prep platform with 70 lakh learners, 240 engineers in Bengaluru and Jaipur · Azure Central India (Pune) · 9 weeks
As-is situation
The company ran 52 non-production environments, including dev, QA, UAT, staging, a content-authoring sandbox and load-test rigs, across 14 subscriptions. Non-production accounted for ₹29 lakh of a ₹71 lakh monthly Azure bill. An earlier attempt at scheduling used a VM auto-shutdown setting at 9 p.m. with no start-up automation, so testers arrived to find environments down and logged tickets. Within six weeks, 44 of the 52 environments had been exempted. AKS QA clusters ran 18 nodes overnight and Azure SQL databases ran provisioned 24x7.
- 44 of 52 environments exempted from the previous shutdown policy within six weeks.
- No start automation: environments took 40-70 minutes to bring up manually.
- Content authors in Jaipur worked until 11 p.m. before exam-calendar releases, clashing with a single fixed schedule.
Approach, tools and architecture
NTSPL profiled login and request data and defined three schedules: ist-office (8:30 a.m.-8:30 p.m.), content-late (10 a.m.-midnight during release weeks) and loadtest-campaign (on demand only). Start/Stop VMs v2 handled VMs, a Logic App per environment sequenced Azure SQL, Redis and app tiers with health checks, and QA AKS clusters were stopped overnight. Dev databases moved to Azure SQL serverless with auto-pause. A Teams command woke any environment for four hours. Exceptions required an engineering lead's approval with an end date.
Implementation approach
Measured results
Operational improvements
- Content release weeks switch to the late schedule automatically from the exam calendar.
- Environment tickets about 'UAT is down' fell from about 30 a month to 2.
Cost considerations
Disks and reserved IPs remain billed when VMs are deallocated, about ₹2.3 lakh a month. Logic Apps and automation runs cost under ₹20,000 a month. Serverless SQL resume adds about a minute on first connection, which developers accepted.
Return on investment
₹16.5 lakh a month, 23% of the total Azure bill, saved from week nine onward. The engagement paid back within its first month of full operation, and the low exception count has held for three quarterly reviews.