This topic describes how you can use DataRobot’s Scoring Code functionality to download a model's Scoring Code and deploy it using AWS Lambda.
DataRobot automatically runs code generation for those models that support it, and indicates code availability with an icon on the Leaderboard.
This option allows you to download validated Java Scoring Code for a predictive model without approximation; the code is easily deployable in any environment and is not dependent on the DataRobot application.
While DataRobot provides its own scalable prediction servers that are fully integrated with the platform, there are multiple reasons why you would want to deploy on AWS Lambda:
Company policy or governance decision.
Serverless architecture.
Cost reduction.
Custom functionality on top of the DataRobot model.
The ability to integrate models into systems that cannot communicate with the DataRobot API. In this case, AWS Lambda can be used either as a primary means of scoring for fully offline systems or as a backend for systems that are using the DataRobot API.
After testing is complete, you can integrate with the AWS API Gateway or other services so that data is sent to the Lambda function and it returns results.