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

Configuration file - serverless.yml

We can see that the current configuration file is taken from the preceding sections.

We have a bucket where we keep our model, as shown in the following code snippet:

Effect: "Allow"Action:  - "s3:ListBucket"Resource:  - arn:aws:s3:::serverlessdeeplearningEffect: "Allow"Action:  - "s3:GetObject"Resource:  - arn:aws:s3:::serverlessdeeplearning/*

There is an event source for Lambda and resources, as shown in the following code snippet:

- sqs:    arn:      Fn::GetAtt:        - DLReadSQS        - Arn

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