Hi, welcome to another weekly update!
Observability without breaking the bank. In this post, I took a look at Thundra’s new sampling feature and how they can help prevent observability costs from spiralling out of control. Besides the rudimentary sampling methods such as by count and time interval, they also support more intelligent modes of sampling. Such as sampling invocations that are performing poorly or erroneous.
Canary deployment with LaunchDarkly and AWS Lambda. In this post, I introduced the basics of LaunchDarkly and how you can use it to implement canary deployments for AWS Lambda. I also discussed the limitations that you need to consider, such as the number of server connections you need. Fortunately, there are ways to work around these limits. For example, by using the LaunchDarkly-relay to cache feature toggles in DynamoDB. Here‘s a CloudFormation template to run the relay with AWS Fargate.
Since the last update, I gave the opening keynote at ServerlessDays Zurich. Where I gave a brief history of the evolution from on-premise to serverless and my views on where we are headed with serverless. The slides are available here:
I also had a great (and busy!) time at DevExperience in Iasi last week. I had two talks, a panel, a short interview and a workshop in two days… But it was worth it, and the organizers definitely went above and beyond to looked after us and cultivated a nice, sociable environment.
Craft Conf (Budapest, May 7th) – I’m running a one-day “Production-Ready Serverless” workshop. Where we will cover the basics of AWS Lambda and the serverless framework, API Gateway, Kinesis, testing, CI/CD, configuration management, security, logging and tracing. You can register here, hurry though, there are only 3 spaces left.
I can also provide this workshop as in-house training and can do a more in-depth two-day version that gives you more hands-on experience. Details are available here.
I specialise in rapidly transitioning teams to serverless and building production-ready services on AWS.
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.
Check out my new 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. Including basic concepts, HTTP and event triggers, activities, callbacks, nested workflows, design patterns and best practices.
Here is a complete list of all my posts on serverless and AWS Lambda. In the meantime, here are a few of my most popular blog posts.
- Lambda optimization tip – enable HTTP keep-alive
- You are thinking about serverless costs all wrong
- Many faced threats to Serverless security
- We can do better than percentile latencies
- I’m afraid you’re thinking about AWS Lambda cold starts all wrong
- Yubl’s road to Serverless
- AWS Lambda – should you have few monolithic functions or many single-purposed functions?
- AWS Lambda – compare coldstart time with different languages, memory and code sizes
- Guys, we’re doing pagination wrong