In this video, we explore how to run Deno on AWS Lambda, leveraging serverless pricing to save costs and improve scalability. The tutorial covers using the AWS Lambda adapter project, setting up the Dockerfile, building a Docker image, configuring AWS CLI, and pushing the image to the Elastic Container Registry (ECR). We then create a Lambda function to host the app, discussing critical concepts such as cold start performance and providing a practical example to get your Deno app up and running on AWS Lambda.
00:00 Introduction to Running Deno on AWS Lambda
00:37 Setting Up the Docker Environment
01:01 Interfacing with AWS
01:11 Configuring AWS CLI
02:03 Creating and Pushing Docker Image to ECR
03:49 Creating the Lambda Function
04:36 Configuring the Lambda Function URL
05:07 Cold Start Performance and Conclusion
Source code:
https://github.com/MoonHighway/deno-2...
Deno is an all-in-one batteries included JavaScript and TypeScript toolchain.
Website: https://deno.com
GitHub: https://github.com/denoland
Discord: / discord
Twitter: https:/twitter.com/deno_land