O'Reilly logo

Hands-On Serverless Applications with Kotlin by Ameya Kulkarni, Hardik Trivedi

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

Practical walk-through of authoring the lambda function in Cloud9

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 ...

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