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

Deploying TensorFlow using a serverless framework

First, we will look at the project files. We have model files in the Inception folder, and Lambda code with Serverless.yml, the configuration file in the Lambdapack folder.

The flow of deployment will be the same as in the previous section. One of the main differences will be that, instead of providing an AWS Lambda admin role, we will provide access to bucket by serverless CML file. The only thing we need to add is bucketname, and run the properties of access as shown:

We will need to create an S3 bucket, upload files there, and then deploy AWS Lambda. We will create an S3 bucket and upload ...

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