Photo by Kimberly Farmer on Unsplash

A curated list of books that will help you to be a better serverless developer

So here’s the thing: you are an experienced developer thrilled by the opportunities of serverless architectures. You read books, watch any possible video courses but when it comes to starts building a real serverless solution you feel completely naked; like if you are missing something.

Over the years I have taught many developers and architects who had the same problem as you and all did one thing, apparently sensible but useless in practice. All of them focused (erroneously) on serverless, but serverless is just an execution model, things that matter are elsewhere.

So what is serverless?

Serverless is many things. It could be a…

For years we have tried to avoid mistakes, when in fact we should have caused them.

Photo by Matt Chesin on Unsplash

Wind extinguishes a candle and energizes fire.

Likewise with randomness, uncertainty, chaos; you want to use them, not hide from them.

Thus begins the prologue to Antifragile by Nassim Nicholas Taleb, one of the most popular authors of recent years.

What does the randomness have to do with our work as engineers? What does chaos have to do with cloud computing? Much more than you can imagine and in this story, we will understand why.

How not to lose effectiveness in the era of online training

Photo by Jonathan Farber on Unsplash

In the early days of 2020, when Coronavirus starts hitting the world of businesses, the first job activities that have been stopped was the so-called workplace learning. According to a study by McKinsey:

As of early March 2020, roughly one-half of in-person programs through June 30, 2020, have been postponed or canceled in North America; in parts of Asia and Europe, the figure is closer to 100 percent.

A terrible loss of knowledge.

Luckily the industry recovered quickly through remote training and applications like Zoom and Teams have been essential tools in our daily job.

Unluckily, good public speaking skills…

Photo by Matt Chesin on Unsplash

Come l’Errore può aiutarci a realizzare sistemi cloud veramente resilienti e performanti

Il vento spegne la candela e alimenta il fuoco.
Lo stesso vale per il caso, l’incertezza e il caos: vogliamo usarli, non nasconderci da loro.

Inizia così il prologo ad Antifragile di Nassim Nicholas Taleb, uno degli autori più apprezzati degli ultimi anni.

Cosa c’entra il caso con il nostro lavoro da ingegneri? Cosa ha a che fare il caos con il cloud? Molto più di quanto possiate immaginare e in questo articolo capiremo il perché.

Amazon API Gateway is a fully managed service that makes it easy to handle REST APIs. The main task of this service is to bind an HTTP endpoint to a given backend service, like a Lambda function.

Image by kropekk_pl from Pixabay

Amazon Cognito is an AWS service that lets you easily add users’ management to web and mobile apps. It supports social identity providers, such as Facebook, Google and enterprise identity providers via SAML 2.0.

A powerful service.
At first, hard to understand.

One of the things that generate the biggest confusion is the fact that Amazon Cognito comes with two main components:

  • Amazon Cognito User Pools
  • Amazon Cognito Identity Pools (aka Federated Identities)

This is the first blocker because, in the common language, users and identities are almost the same things.
In this brief story, we will try to clarify…

Photo by Hussan Amir on Unsplash

This is the italian version of a story originally in English that you will find here. Thanks to my colleague Paolo D’Incau for the Italian translation and invaluable feedback.

Per chi non lo conoscesse, AWS Lambda è una servizio che permette di eseguire della business logic senza la necessità di dover gestire un server. Una volta caricato il codice sorgente, la piattaforma si occuperà di tutto il necessario per eseguirlo, garantendone la scalabilità in base al numero di richieste.

Una volta rilasciato, l’esecuzione di tale codice potrà essere avviata da altri servizi AWS (Amazon S3, Amazon SNS/SQS e così via)…

Photo by Hunter James on Unsplash

For those of you who might not be familiar with, AWS Lambda is a service platform that let us run our code without provisioning or managing servers. We just upload the source code and the platform takes care of everything required to run and scale it.

Once deployed, that code can be automatically triggered by other AWS services like Amazon S3, Amazon SNS/SQS and so on. To make these integrations as seamless as possible, there are some assumptions and conventions that we need to use.

Since these conventions are peculiar to AWS Lambda, sometimes you may hear of people that…

Photo by Liam Truong on Unsplash

Wise men say that the whole is greater than the sum of its parts. In a microservice architecture, we could be tempted to unit testing the single services, forgetting these are just parts of the system.

With good reason, unit tests are seen as a guiding light by every good developer. As the name suggests, this type of test involves just a unit of the overall codebase, without any external dependencies like databases, HTTP calls, queues, topics or something like that. This characteristic makes unit testing deterministic and, above all, fast; so we could run an entire suite of thousands of tests in a bunch of seconds.

Back in the days of big fat monolithic projects, a good suite of unit tests may validate the entire system right after a refactoring work.

Today, with the rise…

Photo by James Sutton on Unsplash

JSON Web Token (JWT) is an open standard (RFC 7519) that defines a way for transmitting information – like authentication and authorization facts – between two parties: an issuer and an audience. Communication is safe because each token issued is digitally signed, so a consumer can verify if the token is authentic or has been forged.

In a previous story, we talk in depth about it: how it is built, what problems it solves, what is the theory behind signature’s validation and, finally, how we can protect our resource.

Mariano Calandra

Mariano daily helps companies succeed using cloud and microservices. • AWS Authorized Instructor • AWS Community Builder •

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store