Check out my new course Learn you some Lambda best practice for great good! and learn the best practices for performance, cost, security, resilience, observability and scalability.
Hi, welcome to another weekly update :-)
Let’s welcome Blue Matador as this month’s sponsor!
Blue Matador is monitoring alert automation for AWS and Kubernetes environments. Our proactive alerts take the time and toil out of monitoring. Trying to understand baselines and thresholds, and configuring alerts, especially in black boxes like Lambda and K8s, requires significant time and effort. Unlike all the other monitoring tools on the market, Blue Matador eliminates the need to manually configure alerts. After a quick and easy setup, Blue Matador instantly discovers all of your resources, automatically creates hundreds of alerts out-of-the-box and proactively notifies you of critical production issues. We’re so confident you’ll love Blue Matador we’re offering $100 to demo it with our team.
Amazon EventBridge: a new era of SaaS integration. In this post, I discussed why the newly announced EventBridge service is important. Why it’s just the rebranding CloudWatch Events needs to get the recognization it deserves. And why it can potentially usher a new era of SaaS integration by removing the traditional friction and overhead of integrating with SaaS partners.
CloudFormation Ref and GetAtt cheatsheet. Over the years, I have lost count of the times I had to refer to AWS docs to see if CloudFormation Ref returns an ARN or ID or name or something else! So I put together a quick cheatsheet of the Ref and GetAtt return values by resource type so you can quickly look them up in one place.
How to connect SNS to Kinesis for cross-account delivery via API Gateway. In this post, I illustrated how you can connect SNS directly to Kinesis for cross-account delivery. This was prompted by a question from my friends at DAZN where they experienced concurrency issues with their cross-account delivery mechanism with SNS -> SQS -> Lambda -> Kinesis. As an added bonus, I also illustrated how you can write an execute-once-only Kinesis function by leveraging Lambda’s built-in metaprogramming capability.
Introducing a better way to record custom metrics. I published a new serverless application that makes it easy for you to record custom CloudWatch metrics from Lambda and publish them asynchronously. In a piece of related news, CloudWatch Logs Insight now supports querying multiple log groups!
I made a guest appearance on Heitor Lessa‘s excellent Twitch series – Build On Serverless. I joined Heitor on the two most recent episodes to talk about serverless observability. You can watch recordings of the two episodes here:
I’m running a one-day workshop on how to productionize a serverless application at this year’s Full Stack Fest.
- Creating APIs with API Gateway and Lambda
- Real-time stream processing with Kinesis and Lambda
- Authentication and authorization
- Testing strategies
- Local debugging
- Continuous Integration, Deployment and Delivery
- Project organization
- Managing shared code and shared infrastructure
- Log aggregation and monitoring
- Distributed tracing using X-Ray
- Performance and cost optimization
- Error handling
- Config management
- Working with VPCs
- Canary deployments
You can register for the workshop here, and get a 42% discount if purchased as part of your ticket to the main event.
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, 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. Enrol now and enjoy a special preorder price of £9.99 (~$13).
Are you working with Serverless and looking for expert training to level-up your skills? Or are you looking for a solid foundation to start from? Look no further, register for my Production-Ready Serverless workshop to learn how to build production-grade Serverless applications!
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