India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudAgritechAgriculture & Food

Agritech firm delivers 6 a.m. crop advisories to 2.1 million farmers on time

Crop-advisory and farm-input platform, 2.1 million registered farmers · Central and Northern India · 9 weeks

Amazon Web Services
01

As-is situation

The company ran a regional weather downscaling model and crop-disease risk models on eight large VMs at a hosting provider. Each night the pipeline ingested gridded forecast data, ran the downscaling at 3 km resolution across 11 states, scored disease and irrigation risk per village, and pushed SMS and app advisories. The run took 7.5 hours on a good night; in kharif season, with more crops and districts, it frequently overran into mid-morning, after farmers had already sprayed or irrigated. The eight VMs ran 24x7 at INR 9.4 lakh per month despite being busy for only one-third of the day.

  • Nightly pipeline duration of 7.5-10 hours against a 6 a.m. advisory deadline
  • Advisories delayed on 23 days during the previous kharif season
  • Fixed VMs idle around 65% of each day but billed continuously
  • Model runs needing a mix of memory-heavy downscaling and CPU-heavy per-village scoring
02

Selected Google Cloud services and architecture

NTSPL split the pipeline into stages orchestrated by Cloud Scheduler and Workflows. Weather downscaling runs as an MPI-capable Batch job on a compact placement of C4 VMs in asia-south2, chosen for per-core speed, on standard provisioning because the stage is deadline-critical. Village-level risk scoring fans out into 4,800 Batch tasks on Spot VMs using N4 custom shapes with a 1:6 vCPU-to-memory ratio. A small autoscaled N4 MIG serves the advisory API and SMS gateway connectors. Intermediate grids land in Cloud Storage, and all eight fixed VMs were retired once two full kharif-week runs finished before 4 a.m.

Cloud Scheduler → Workflows → Batch downscaling on C4 (compact placement) → Batch scoring on Spot N4 → Cloud Storage → advisory API MIG → SMS gateway and app
BatchCompute Engine C4 and N4Spot VMsManaged Instance GroupsCloud SchedulerCloud Storage
03

Implementation approach

Weeks 1-3 · Stage decompositionSeparated the monolithic script into ingest, downscale, score and publish stages with explicit inputs and outputs in Cloud Storage.
Weeks 4-6 · Batch and shape tuningTuned C4 node counts for downscaling and N4 custom shapes for scoring through four timed test runs.
Weeks 7-8 · Rabi-season pilotRan the new pipeline in parallel for three states and compared advisory outputs village by village.
Week 9 · Full cutoverMoved all 11 states and decommissioned the hosted VMs.
04

Measured results

Nightly pipeline duration
7.5-10 hours→2 hours 40 minutes
Late advisory days per season
23→1
Monthly compute cost
INR 9.4 lakh→INR 4.1 lakh
Forecast grid resolution
3 km→1.5 km in pilot districts

Operational improvements

  • The on-call engineer no longer restarts overrunning scripts at 4 a.m.; Workflows retries failed stages individually
  • Adding a new state is a configuration change to the task count, not a new VM
  • Agronomists can rerun one district's scoring during the day without disturbing the nightly run
05

Cost considerations

The deadline-critical downscaling stage runs on standard C4 VMs, deliberately paying on-demand rates for predictability, while village scoring takes Spot pricing. A small three-year resource-based commitment covers only the advisory API MIG. Retiring eight always-on VMs, rather than discounting them, produced the largest single reduction.

06

Return on investment

ROI indicator

Monthly compute cost fell by an indicative INR 5-5.5 lakh, about INR 60-65 lakh a year, recovering the migration investment within five months. On-time advisories improved the input-retailer partner programme's conversion, which management estimates at INR 80 lakh to 1.1 crore in additional annual revenue.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.