Developing AWS Lambda Functions with Kotlin

Developing AWS Lambda Functions with Kotlin

1h 55mIntermediate2018-01-19

Authors

Troy Miles

Troy Miles

Award-winning Software Engineer, Speaker, and Author

Course details

AWS Lambda lets developers build web services that run in the Amazon cloud—without worrying about configuring servers or paying expensive monthly fees. This course shows you how to create Lambda services, called functions, on AWS using Kotlin—the up-and-coming Java alternative. Speaker and author Troy Miles shows how to create and test a simple Lambda function, and start creating more complex, standalone Kotlin apps with the Spark framework. He also shows how to connect your service to AWS via the API Gateway, and read and write data from a MongoDB database. Plus, learn how to run, test, and debug your microservices locally. Troy also offers a series of challenges to test your new Lambda programming skills.

Learning objectives
Creating an AWS Lambda account
Creating a simple Lambda function in Node.js
Testing the Lambda function
Creating Kotlin apps with Spark, IntelliJ IDEA, Maven, and the AWS library
Binding the API gateway to your Lambda function
Adding data with MongoDB
Developing and debugging your Lambda function locally

Skills covered

KotlinCloud DevelopmentJavaAdvancedOracleCloud PlatformsProgramming LanguagesCloud ComputingOpen SourceSoftware Development

Concepts

Introduction

  • Welcome
  • What you should know
  • Using the exercise files

About AWS Lambda

  • Creating a free AWS account
  • Pricing model
  • Comparing Lambda to EC2 and Elastic Beanstalk

Hello Lambda

  • A simple Lambda in Node.js
  • Testing the Lambda
  • ✓ Challenge - Say your name
  • ✓ Solution - Say your name

Hello Kotlin Lambda

  • The Spark framework
  • IntelliJ, Maven, and Kotlin
  • Maven packages
  • AWS library

Making Your Lambda Web Visible

  • API gateway introduction
  • Implementation
  • ✓ Challenge - What time is it
  • ✓ Solution - What time is it

Adding Data with MongoDB

  • MongoDB introduction
  • Setting up MongoDB
  • Reading records
  • Writing records
  • Deleting records
  • ✓ Challenge - Sort cars by fuel economy
  • ✓ Solution - Sort cars by fuel economy

Developing and Debugging Locally

  • Running Lambda locally
  • Running MongoDB locally
  • Debugging your Lambda
  • Deleting AWS services

Conclusion

  • Next steps
40,000 Toman