Example of a serverless ML Pipeline in AWS
Learn about the components (Step Functions and EventBridge) required to deploy an ML pipeline in AWS.
We'll cover the following...
This last example will be special, as it will bring together all the components we've learned so far. We'll implement this with AWS Step Functions. It’s an orchestration service used to build pipelines in the cloud.
In this example, we will deploy a service that consists of the following:
-
ML model: A previously trained ML model wrapped in a Docker image and deployed to Lambda using our custom image in order to serve model predictions.
-
AWS Step Functions pipeline: This small pipeline will integrate our model prediction with another Lambda function.
-
AWS EventBridge: We’ll integrate another Lambda function outside our
to demonstrate another approach for integrating services.SF pipeline Step Functions Pipeline -
Two additional Lambda functions: These are variations of functions we’ve already deployed before, but with a few tweaks. One of these functions will be integrated in our Step Functions pipeline, and the other will be invoked through the AWS EventBridge service. Together, they will constitute an entire mini-model pipeline.