In this section, let's have a practical walkthrough of creating a lambda function triggered by an API gateway in Cloud9. There are a few caveats to this:
- We will create a Node.js function using the wizard. We are not using Java/Kotlin since the main aim of this section is to get familiar with the Cloud9 environment. The wizard currently provides templates for Python and Node.js only.
- We will run the functions locally.
- We will deploy the lambda functions using the IDE and verify the companion API gateway creation.
- Developing lambda functions using Cloud9 uses the Serverless Application Model (SAM) (as opposed to the Serverless Framework that we saw in Chapter 8, Scale Your ...