Bridging two clouds to bring machine learning to crop disease management

Customer Success

Bridging clouds to bring machine learning to crop disease management

Crop disease is difficult to diagnose, traditionally requiring plant pathologists to visit farmers’ fields to physically examine plant specimens. Machine learning can accelerate this manual process by quickly analyzing and deriving insights from massive volumes of data—for example, by allowing photos from a farmer’s phone to be checked against thousands of comparative crop images, serving up diagnostics and treatment options for keeping crops healthy in near real-time. A U.S-based software engineering company was tasked with developing exactly such a solution on behalf of a global agricultural biotechnology firm. To make it work, the company called on the multi-cloud experts at Pythian to connect the cloud hosting its machine learning model to the cloud hosting its client’s reference data.


A U.S.-based software engineering company needed a “pipeline” to seamlessly connect its machine learning algorithms in Google Cloud to its client’s reference database in the AWS cloud.

As it was developing its mobile app for farmers, the software engineering company leveraged the advanced image analytics of Google Cloud Vision API, powered by the pattern-recognition capabilities of the Google Cloud Machine Learning Engine. 

There was just one catch: while its machine learning model was based in Google, the data it was analyzing was not. For the app to work, the model had to cross-reference the many different data points in a farmer’s photo—crop color, texture, and decay patterns—against the agricultural biotechnology firm’s reference library of some 50,000 photos, which was stored on an entirely different platform: Amazon Web Services (AWS). 

To complete the app, the company’s data scientists needed to seamlessly connect the Google and Amazon clouds in a way that ensured fast and secure movement of data between the two platforms. 

Pythian drew on its in-depth knowledge of Google Cloud to bridge Google and AWS, making it possible for photos received by the agricultural biotechnology firm’s AWS platform to be seamlessly pushed over to Google Cloud for analysis by the software engineering company’s machine learning model. 

What we did

  • Custom-built a solution that allowed the company to span a cluster of Docker containers across the two clouds, complete with time-limited authentication to give its data scientists access to AWS from within Google Cloud
  • Through this pipeline, the Google-based model could seamlessly access the reference library housed on AWS—and then instantly send its findings back to AWS and onward to the farmer 
  • Built a custom multi-cloud authentication solution through Google OAuth to provide services running in AWS with time-limited access to the Google Cloud

Technologies used

  • Amazon Web Services
  • Amazon Elastic Container Services
  • Docker software container platform
  • Google Cloud 
  • Google Cloud Machine Learning Engine
  • Google OAuth
  • Rancher container management platform

Key Outcomes

The company now has a reusable platform with DevOps support for multi-cloud infrastructures to assist its data scientists in building and deploying machine learning solutions at scale.

Accelerated processes by creating a “pipeline” to make it possible for farmers to get instant diagnostics and recommendations on the health of their crops

Explore our Data Science, Artificial Intelligence, and Machine Learning Services

No matter your business, no matter the challenge: Pythian’s solutions drive results. 

More customer success stories