Deployment

We can deploy lambda to AWS using two tools:

  • AWS CLI tool
  • Web AWS Console

The first is a little tedious, and in the next section of this chapter, you will see how to use the Serverless Framework to deploy an application consists of lambda functions. For this example, enter the AWS Console and go to the AWS Lambda product page. Click the Create Function button and, in the form that appears, enter the following values:

  • Name: minimal-lambda
  • Runtime: Choose Use custom runtime in function code or layer
  • Role: Choose Create a new role from one or more templates
  • Role name: minimal-lambda-role

This is what the form should look like when you've finished:

Click the Create function button, and while the function is being created, pack ...

Get Hands-On Microservices with Rust now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.