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

Serverless deployment

Now, let's deploy our service by executing the following command:

serverless deploy

The preceding command deploys your service, as shown in the following screenshot:

As part of the deployment, it will give us the URL of the API Gateway, as shown in the following screenshot:

Now let's test the URL in the command line:

curl https://dns1519ilj.execute-api.us-east-1.amazonaws.com/dev/startFunction

You can check with the results in your browser. In the following screenshot, you can see our step function:

In the following screenshot, ...

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