Newsletter #14 - January 2021 (view on the web)
Hi everyone,

First, let me wish you a Happy New Year and all the best for 2021!
January is generally the time where we do have good resolutions. Mine, apart from losing weight ^^, will be to continue this Meetup and try to evangelize even more serverless in Romandy and neighboring France. I count on you to share this newsletter and the Meetup to your colleagues and friends!
In the latest newsletter, I focused on re:Invent and kept some good content for today. Hope you'll enjoy it.
As I said in the past, please reach out to me on Meetup / Twitter (@ServerlessGVA / @jeromevdl) to provide some feedback or if you'd like to share something with the community. Don't be shy!
Jerome
 
What all has changed in the AWS Lambda in the past one year

January is the period where you have good resolutions, it's also the time to review the past year. In this article, Dhaval Nagar goes through major complaints about Lambda and lists the evolution the service had in 2020 to address those complaints.
Looking at 2020, you can also check the ICYMI Q4 2020 blog post, where you will find all news, articles,... and content published by AWS in Q4.

 
 
Testing AWS Lambda functions written in Java

During re:Invent, some code from the Lambda Java runtime has been open sourced. This code permits (among other things) to correctly deserialize json events in java objects. With that, I decided to create a library to ease the tests of java lambda handlers: aws-lambda-java-tests. Finally I wrote this blog post to announce it. If you develop your lambda functions in Java, please give a try and tell me if that's useful!

 
 
AWS Lambda the Terraform Way

I'd rather recommend using SAM or Serverless framework to deploy your lambda functions but this set of tutorials is really good. And it's not just about Lambda, but also layers, and using different services (S3, Kinesis, DynamoDB, SQS, API Gateway).
And if you persist in wanting to use Terraform for Lambda functions, read this blog post ("Hard Lessons From Deploying Lambda Functions With Terraform"). It provides some interesting tips, in particular how to build the zip file with dependencies or setting log retention period in Cloudwatch...
And if you already used Terraform and want to try Serverless framework, check this post ("AWS Serverless Provisioning: Terraform + Serverless Framework") as it could be helpful if you want to share some resources between the two worlds.

 
 
AWS Lambda $LATEST is dangerous

Great article from Aidan Steele, explaining why you should not use the $LATEST version of a Lambda function. Instead, you should create new versions each time you deploy an update (straightforward with SAM). And you should use aliases to facilitate references to your function (with API Gateway for example).

 
 
My journey with AWS Serverless

Really complete article from Miron Machnicki, based on his experience from the last year. It covers a lot of topics and is a must read to avoid some pitfalls and get some great advice. It's also a good way to start your journey to serverless (note that it's not a tutorial).

 
 
Serverless Adoption: Is Cost Still The Main Factor?

Sheen Brisals, from LEGO, is used to provide great articles and this one is no exception to the rule. Cost is often an important driver for companies to move to the cloud, and even more to serverless. But is it still the main factor? Ease, speed, agility, simplicity are today more important than ever to respond to the market...

 
 
Serverless Proxy with AWS API Gateway and AWS Lambda

Despite the second example of this article where I'm not totally convinced, this article from Guillaume Lannebere gives a lot of information about API Gateway (provisioning, security, throttling, REST vs HTTP, ...). In particular, it explains how to use it as a proxy for private resources inside your VPC.

 
 
How to Expose and protect Logic App using Azure API Management

Talking about API, and if you are in the Azure world, I don't forget you, here is a series of 5 articles to dive deep in Azure API Management and Azure Logic Apps: How to integrate them (part 1), secure the Logic App with IP filtering (part 2), have one API in front of several Logic Apps (part 3), API documentation (part 4), and tags and headers (part 5). Lots of useful details!

 
 
Optimizing Serverless in AWS

In this article, Chameera Dulanga gives several tips to improve your serverless applications performance: use provisioned concurrency to avoid cold start, use RDS Proxy to avoid overwhelming your relational database, use the appropriate amount of memory... Regarding this last point, AWS released a new feature in the Compute Optimizer that now provides advice to improve performance & costs of your functions. And if you are using containers to package your lamda, Rob Sutter also provides meaningful information to optimize lambda functions packaged that way.

 
 
7 Best Serverless and AWS Lambda Courses to Learn in 2021

Well, if you read this newsletter every two weeks, there are chances that you know a bit about serverless. But it is also possible that you want to improve your skills. Then this article may help, as it provides a list of courses you can follow to become a serverless expert. However, I think one important is missing: theburningmonka (Yan Cui).

 
 
You are receiving this email because you subscribed via Meetup


Want to be removed?
No problem, click here to manage your notifications.
RSS Feed Twitter

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -