Comments about the AWS Serverless Workshop

Yesterday I attended the AWS Swiss Cloud Day (what a fantastic event!) and participated in the workshop about Serverless computing taught by a very competent team lead by Magdalena Gargas and Scott Gerring.

The workshop consisted in the deployment of a quite extensive Node.js application on top of AWS, using not only Lambda but other services, such as Amplify (where the frontend and backend were installed), Cognito (for user management), DynamoDB (database), Cloud9 (web-based IDE), CodeCommit (Git repository), and of course IAM (role-based authorizations).

On the positive side, I was glad to see how all of those services come together to create an application! That was very, very interesting, and I thank the AWS team for that. They were also very helpful with all of us, continuously roaming from laptop to laptop to make sure that everyone’s code was up and running, and explaining concepts all over the place. A great job indeed.

On the other hand… I hope not to sound too negative, because the presentation was really interesting. But in general I found that the demo app was too big for just one hour and 45 minutes. I am very well aware that AWS has many moving parts, and that it’s extremely complicated to distill the essence of such a platform in a few minutes: I have been (I still am, actually) in the position of writing tutorials for technical audiences, and it’s really complicated sometimes.

So instead of useless criticism, here’s a list of what I would have done differently in such a workshop; of course, I’m no AWS employee nor expert, so please forgive any ignorance on my side.

I always prefer to make demo apps for workshops as simple as possible; in this case, since Serverless is (at least in my mind) somehow synonym of AWS Lambda2, and if Lambda is all about running snippets of code on demand, I’d just focus on that. Get the code, paste it in the console, and use curl to run the request; save and retrieve data. That’s it.

From my (admittedly limited) knowledge of AWS, I guess Cloud9 (for its web-based terminal with pre-installed components), Lambda, DynamoDB, and a bit of IAM would have been enough for such a workshop, and all contact with other parts of the infrastructure should be kept to the minimum. In particular IAM: it would of course be really hard not to use it; after all you need to make your Lambda code able to talk to DynamoDB. At the very least.

And if you would like to show a more complex example, you can do so at the end of the session; like a “walkthrough” for attendees, showing how other pieces of the AWS puzzle fit together for more complex scenarios; and you can also make those apps available on GitHub for those interested.


  1. The Node.js application used for this workshop really took a long time to compile; couple that to the time it took to deploy the app to Amplify, and this generated lots of idle times in the workshop. ↩︎

  2. Or maybe it’s just that my perception of Serverless is a bit limited; I give you that. After all there’s also this thing called Redshift Serverless in their platform, so maybe there’s a lot more to that. ↩︎