Here, we will need to deploy the serverless framework and then we can check the trance using the CLI:
- Let's look at the configuration file. You can see all the main parts and roles that we need to define to access the model:
provider: name: aws region: us-east-1 runtime: python3.6 memorySize: 1536 timeout: 30 iamRoleStatements: - Effect: "Allow" Action: - "s3:ListBucket" Resource: - arn:aws:s3:::serverlessdeeplearning - Effect: "Allow" Action: - "s3:GetObject" Resource: - arn:aws:s3:::serverlessdeeplearning/*
- Here are the functions, which we will use in different states of the step function:
functions: main: handler: index.handler map: handler: index.map reduce: handler: index.reduce
- map will enable the mapping of ...