O'Reilly logo

Hands-On Serverless Deep Learning with TensorFlow and AWS Lambda by Rustem Feyzkhanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Step functions

Let's check the list of files that we have by executing the ls command. As you can see, we have the index.py file and the serverless.yml configuration file service document. We also have installed plugins for the serverless framework.

Let's take a look at the configuration file and its two main parts here:

  1. First, we will be adding several functions, which will be used in different states of the step function:
function:    branch:        handler: index.handlerBranch    map:        handler: index.handlerMap    reduce:        handler: index.handlerReduce
  1. Next, we will add some plugins, which are required to work with step functions:
plugins:    - serverless-step-functions    - serverless-pseudo-parameters
  1. Now let's take a look at the index.py file, where you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required