TypeScript is an excellent language for writing AWS Lambda functions. Its flexible static typing allows for high developer productivity and since it can be transpiled into JavaScript, our code can be bundled into small deployment packages that allow for fast Lambda cold starts, without need for keeping 'warm' instances of our lambdas. I have recently … Continue reading TypeScript Types for AWS Lambda
Tag: AWS Lambda
The Ultimate Guide to TypeScript Monorepos
I've written a couple of posts about how to set up JavaScript and TypeScript Monorepos over the past three years (#1, #2, #3, #4, #5, #6, #7), and I kind of thought I had it all figured out - but I didn't. It turned out that for various reasons it is fiendlishly difficult to develop … Continue reading The Ultimate Guide to TypeScript Monorepos
Lambda Go Starter Project
Serverless development allows deploying low-cost, low-maintenance applications. Go is an ever-more popular language for developing backend applications. With first rate support both in AWS Lambda and GCP Cloud Functions, Go is an excellent choice for serverless development. Unfortunately, setting up a flexible infrastructure and efficient deployment pipelines for Serverless applications is not always easy. Especially … Continue reading Lambda Go Starter Project
Express.js on Lambda Getting Started
AWS Lambda is a cost efficient and easy way to deploy server applications. Express.js is a very popular Node.js framework that makes it very easy to develop REST APIs. This post will go through the basics of deploying an Express.js application to AWS Lambda. You can also check out the sample project on GitHub. Develop … Continue reading Express.js on Lambda Getting Started
Deploy Java Lambda using SAM and Buildkite
I've recently covered how to deploy a Node JS based Lambda using SAM and Buildkite. I would say that this should cover most use cases, since I believe a majority of AWS Lambdas are implemented with JavaScript. However, Lambda supports many more programming languages than just JavaScript and one of the more important ones among … Continue reading Deploy Java Lambda using SAM and Buildkite
Deploy Lambda using SAM and Buildkite
One of the many good things about Lambdas on AWS is that they are quite easy to deploy. Simply speaking, all that one requires is a zip file of an application that then can be uploaded using an API call. Things unfortunately quickly become more complicated, especially if the Lambda depends on other resources on … Continue reading Deploy Lambda using SAM and Buildkite
AWS Lambda: Cross-account pass role is not allowed.
Today I came across the following exception while working with the AWS SDK for Amazon Lambda: com.amazonaws.AmazonServiceException: Cross-account pass role is not allowed. (Service: AWSLambda; Status Code: 403; Error Code: AccessDeniedException; Request ID: xxx) At first I was a bit puzzled where this exception might come from; but when I found out what the problem … Continue reading AWS Lambda: Cross-account pass role is not allowed.
What is Amazon Flourish (for AWS)
According to a recent article on the New Stack Blog, the Amazon Serverless Team (responsible for instance for Amazon Lambda) is about to release a new open source product called 'Floruish'. Currently, there are very few details available on this product. These are some points I could find: It will be a platform to manage … Continue reading What is Amazon Flourish (for AWS)