Running TensorFlow on AWS Lambda(from this blog and this blog)
npm install -g serverless
To deploy you will need an AWS account and your credentials properly configured. For details see the docs.
export AWS_ACCESS_KEY_ID=<your-key-here>
export AWS_SECRET_ACCESS_KEY=<your-secret-key-here>
serverless plugin install -n serverless-python-requirements
serverless deploy -v
serverless invoke local -f hello_world -l