Newsletter #21 - July 2021 (view on the web)
Hi everyone,

Starting this newsletter, I've collected more than 30 articles to share with you. I won't describe them all as I would need to spend 2 nights on it but I've selected a great subset.
I also take this opportunity to introduce the AWS Community Builders program. If you are building on AWS and want to be recognized for this (get some credits, swag and ability to discuss with AWS teams, and more), you can apply. The AWS Community in Switzerland is a bit shy... don't be shy! Have a look here.
Next newsletter will be in September as I'm taking a summer break soon. The format will probably change, as I'm not really happy with what Meetup provides. In the meantime, enjoy this one and your holidays if you have some.
Jerome
 
Going Serverless (on AWS)

Let's start this newsletter with a story: the story of Payam Moghaddam from Galvanize about their journey to Serverless. By moving to serverless, they've been able to focus more on their business. But serverless is not magic and it's actually a journey for most people. This article describes this journey, the frictions you may have (with code organization, dev|ops boundaries, testing, ...) and how to solve them.

 
 
Optimizing your Java Lambda Cold Starts and Initializations

Who said Java was not a good idea for Lambda functions? OK, you may have cold starts longer than for other languages, but if you read this article and this other one from "I love my local farmer", you will have many recommendations to reduce these cold starts. You don't code Lambda functions like you build microservices: forget about Spring Boot, take care of your dependencies and your final package size, initialize your code properly (outside the handler function), ...
To continue with My Local Farmer, 2 other articles have been posted recently about Database connection from your Java Lambda function: part 1 & part 2, using RDS Proxy.

 
 
Multi-Tenant Architectures with AWS Cognito

Everyone wants to become the next Salesforce, Square or Shopify and to provide a great SaaS (Software as a Service). But to achieve this, you will need a robust multi-tenant architecture. In this article Sena Yakut explains the different approaches to do it with Cognito: 1 User Pool per tenant, using groups or custom attributes. This other article ("Serverless architecture for multi-tenant SaaS") touches upon another topic: costs, and how to keep costs low while maintaining strong data isolation between tenants.

 
 
Developing evolutionary architecture with AWS Lambda

This is a topic I really enjoy, and I'm happy to see an AWS blog post about it. In this article, Luca Mezzalira describes why and how to apply hexagonal architecture in a Lambda function. One of the main reasons is evolutivity, a nice way to counter "vendor lockin". The other reason is testability.
Testability, which is the first point of many others best practices listed in this other article: "AWS Lambda Functions Best Practices".

 
 
Serverless COBOL: Rejuvenating legacy code with open source software

Have you ever seen a line of Cobol code? Me neither! At least until I read this article (2 parts) on the AWS blog, explaining how to actually deploy a Lambda function written in Cobol. And if you wanted to recycle some of your mainframe code, now you know how!

 
 
Gigabytes in milliseconds: Bringing container support to AWS Lambda without adding latency

You feel this newsletter is for dummies? Then I have something for you: this video from Marc Brooker. You probably know you can deploy functions as container images since last december, and these images can be up to 10GB. But then, how to quickly start functions? Listen to Marc and you will know. Really, really, really deep dive!

 
 
Testing strategies for Step Functions

Last month, AWS announced the AWS Step Functions Workflow Studio to ease creation of Step Functions state machines. But it remains complicated to test these state machines. In this article, Yan Cui provides his strategy and some insights to test workflows.

 
 
Loan Broker Implementation with AWS Step Functions

You probably know Gregor Hohpe for his articles on architect[s|ure] ("The Architect Elevator") or for one of his books ("Enterprise Architecture Patterns"), probably less for his development skills. In this (2-part) article, he tries (and succeeds) to develop a loan broker using Step Functions, Lambda and other serverless services. It's actually really well detailed for an enterprise strategist...

 
 
Orchestrating and Monitoring Complex, Long-running Workflows Using AWS Step Functions

Let's continue with Step Functions. Great story and details on how IHS Markit (Financial company) was able to reconcile hundreds of reports using Step Functions. Definitely a service I love!

 
 
A redefinition of serverless applications

When talking about serverless, we often think "Lambda". But sometimes Lambda does not fit business requirements, especially when latency is an important criteria (cold starts can be problematic if the load on your function is not consistent). In this article, James Eastham explains how he migrated from Lambda to AWS App Runner, a recently announced serverless container service.

 
 
Building well-architected serverless applications

Last year, Julian Wood (AWS Serverless Developer Advocate) started a series of articles on well-architected serverless applications. One year later, the series continues with new articles on security and reliability:

So, are you well-architected?

 
 
Integrating Amazon API Gateway private endpoints with on-premises networks

So you've built an API on AWS and you would like to use it securely from onprem applications? This AWS blog post (one more!) goes through the details of the VPN, VPC endpoint and DNS configuration to achieve this. Not an easy task (at least for me), so definitely useful.

 
 
Behind the scenes, AWS Lambda

Lambda is quite easy to use... but this simplicity hides the complexity under the hood, the one you don't really have to care about. But it's really interesting to see how things are actually working: scaling, load balancing, asynchronous invocation, firecracker...

 
 
Goin' Serverless - A Serverless Folk Song

Let's finish this newsletter with a song from Jeremy Daly, author of off-by-non newsletter and serverless chats podcast. "The answer that's best, to clean up all that mess, the answer is goin' serverless 🎶 ". See you in September!

 
 

AWS updates

AWS SAM Pipelines. With this new SAM CLI feature, it will be easier to create CI/CD pipelines for your serverless applications. And the great news is that it also works with Github Actions, Gitlab CI/CD and Jenkins (in addition to CodePipeline). Cool stuff!

 
 
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

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