Weekly update 07

You can become a serverless blackbelt. Enrol to my 4-week online workshop Production-Ready Serverless and gain hands-on experience building something from scratch using serverless technologies. At the end of the workshop, you should have a broader view of the challenges you will face as your serverless architecture matures and expands. You should also have a firm grasp on when serverless is a good fit for your system as well as common pitfalls you need to avoid. Sign up now and get 15% discount with the code yanprs15!

Hi, welcome to another weekly update!

MEAP update for Production-Ready Serverless

We have released 2 new videos on my video course Production-Ready Serverless, this time around cold starts, which is easily the most frequently asked question I get!

Remember, whilst the course is still in the MEAP, you can get 40% off the face price using the code ytcui.

I have also turned this course into a classroom setting, so if you’re interested in having me run this as a workshop in your company, then drop me a line via the Contact page.

DAZN is hiring in both London and Amsterdam

Fresh off our groundbreaking new deals for the Italian league and US boxing, we are also expanding our engineering team to new locations. We will be opening a new office in Amsterdam, and we are looking for talented engineers at all levels, and from different disciplines to join our team!

Whether you want to specialise in backend or frontend, or leaning towards fullstack development, or devops/SRE, we want to hear from you! We will provide visa sponsorship, and offer you the chance to work on some interesting and challenging projects, and provide you with the help and opportunity to learn and improve yourself.

ServerlessDays Milan

Also, I want to share some good news with you :-)

I’m honoured to be invited as a keynote speaker at ServerlessDays Milan, which is happening on the 19th October. The call for paper is still open so don’t miss your chance to speak at another exciting serverless event in Europe! The other keynote speaker is the one and only Gojko Adzic, creator of claudia.js and author of one of my favourite books on testing – Specification by Example.

Oh, and DAZN is going to be one of the sponsors for the event, and we’ll be at the job fair the day after the main event. If you wanna chat to me and other DAZN engineers about what it’s like to work there, or to find out opportunities we have, then that’s the perfect opportunity for you to do so.

New Survey by CloudZero

CloudZero (www.cloudzero.com) today announces the launch of a significant market research effort focused exclusively on the Cloud and Serverless EcoSystem. Beyond the many informative surveys in market that have focused on the size of the market, key applications and the rate of adoption of cloud and serverless systems, this online survey is focused on better understanding the yet unsolved problems and challenges that arise when organizations commit to develop and run in serverless environments.

It challenges those taking the survey to think about a new paradigm to understand the interrelationships between Activity, Cost, Performance and Relationships that occur in cloud and serverless environments. The survey will also probe on the technologies currently used to understand, manage and resolve these problems and challenges, and to interpret the relative importance of each.

Please go and complete the survey, it’ll only take 5-10 minutes. Your effort will really help us understand the pain points people have, and the biggest unsolved problems in the tooling space.

New Posts

Step Functions: how to implement semaphores for state machines. I have used AWS Step Functions a lot at DAZN and sometimes we need to control the number of concurrent executions that can access a shared resource. For that we needed to implement semaphore semantics for our state machines.

In this post I discussed two approaches to solving this problem and compared them on scalability, simplicity and cost.

Centralised logging for AWS Lambda, REVISED (2018). A follow-up on my original post on centralised logging for AWS Lambda.

In this post I discussed the problem with using Lambda functions to ship logs from CloudWatch Logs in terms of concurrency control, or lack there of. And why, when you’re operating at scale it is better to stream your logs to a Kinesis stream first.

If you recall from the last weekly update, I also wrote a post for Binaris on my wish list for AWS Lambda. And no. 1 on that list is the ability to ship logs to Kinesis without going through CloudWatch Logs first. If my wish is to be granted then it’ll dovetail perfectly with this approach (using Kinesis) and streamline our logging pipeline even further!.

How to create IP-protected endpoints with API Gateway and Lambda. Finally, I wrote a short post on how to use the new resource policies feature in API Gateway to implement endpoints that are only accessible from whitelisted IP ranges.

AWS Announcements

SSM Parameter Store is now integrated with the new AWS Secrets Manager.

ELB now supports redirects and fixed error responses for the ALB.

Fargate is now available in Singapore, Sydney and Frankfurt.

Good reads

Patterns for Resilient Architectures – Part 1 by Adrien Hornsby

The million dollar engineering problem by Segment

25 Serverless peeps you need to follow by Jeremy Daly

Is AWS Lambda the Most Secure Application Platform? Probably. by Tsion Gonen

Liked this article? Support me on Patreon and get direct help from me via a private Slack channel or 1-2-1 mentoring.
Subscribe to my newsletter


Hi, I’m Yan. I’m an AWS Serverless Hero and I help companies go faster for less by adopting serverless technologies successfully.

Are you struggling with serverless or need guidance on best practices? Do you want someone to review your architecture and help you avoid costly mistakes down the line? Whatever the case, I’m here to help.

Hire me.


Skill up your serverless game with this hands-on workshop.

My 4-week Production-Ready Serverless online workshop is back!

This course takes you through building a production-ready serverless web application from testing, deployment, security, all the way through to observability. The motivation for this course is to give you hands-on experience building something with serverless technologies while giving you a broader view of the challenges you will face as the architecture matures and expands.

We will start at the basics and give you a firm introduction to Lambda and all the relevant concepts and service features (including the latest announcements in 2020). And then gradually ramping up and cover a wide array of topics such as API security, testing strategies, CI/CD, secret management, and operational best practices for monitoring and troubleshooting.

If you enrol now you can also get 15% OFF with the promo code “yanprs15”.

Enrol now and SAVE 15%.


Check out my new podcast Real-World Serverless where I talk with engineers who are building amazing things with serverless technologies and discuss the real-world use cases and challenges they face. If you’re interested in what people are actually doing with serverless and what it’s really like to be working with serverless day-to-day, then this is the podcast for you.


Check out my new course, Learn you some Lambda best practice for great good! In this course, you will learn best practices for working with AWS Lambda in terms of performance, cost, security, scalability, resilience and observability. We will also cover latest features from re:Invent 2019 such as Provisioned Concurrency and Lambda Destinations. Enrol now and start learning!


Check out my video course, Complete Guide to AWS Step Functions. In this course, we’ll cover everything you need to know to use AWS Step Functions service effectively. There is something for everyone from beginners to more advanced users looking for design patterns and best practices. Enrol now and start learning!