You can become a serverless blackbelt. Enrol in my course Learn you some Lambda best practice for great good! and learn best practices for performance, cost, security, resilience, observability and scalability. By the end of this course, you should be able to make informed decisions on which AWS service to use with Lambda and how to build highly scalable, resilient and cost efficient serverless applications.
Hi, welcome to another weekly update!
I’m an AWS Serverless Hero!
First, I have an exciting news to share with you. AWS announced new categories of their community heroes program and I’m proud to be selected as one of the new Serverless Heroes, alongside some of the most influential thought leaders in the serverless space.
It’s a big honour for me to receive this recognition, and I hope to continue to give value back to the serverless community!
Welcome IOpipe as our sponsor for July!
IOpipe is a serverless application platform built for deep insights into your AWS Lambda functions and the resources they rely on, while still allowing you to use the tools and frameworks that suit your team. A few lines of code unlocks instant instrumentation for each of your Lambda functions, including automatic data, such as trigger event info, auto-labelling, and tracing. Watch as information flows into IOpipe automatically across Functions, Regions, and even AWS accounts, from the stack trace level to the application level. Need more? Implement your own functionality with custom plugins and workflows. Try the 21-day free trial to learn more, and feel free to join us in the IOpipe Community Slack.
MEAP update for Production-Ready Serverless
We have released a number of new videos since the last update:
- auto-capture incoming correlation IDs via HTTP headers
- include all the captured correlation IDs in the logs
- forward correlation IDs via HTTP headers
- forward correlation IDs via Kinesis events
- auto-capture incoming correlation IDs via Kinesis events
- enable debug logging on individual user events
We will publish the next videos on capturing and forwarding correlation IDs via SNS next week, and conclude the correlation IDs unit. I have been working on the next unit on performance and cold starts and hope to bring them to you soon!
And since so many of you have been so kind to ask about my cat and co-presenter on the course, here is a picture of Ada for all you cat lovers :-) I hope to have her in one of my videos again soon!
News from the serverless stratosphere
Since the last update, we have had some important announcements for Lambda.
I have been waiting for this announcement for over two years, and it’s finally here! Furthermore, both SAM and the Serverless framework (v1.28.0) has added support for SQS already.
Another frequently requested feature is for the option to deploy an API Gateway inside a VPC. This protects us against denial-of-service attacks, as well as a host of other attack vectors that comes with publicly accessible APIs.
Again, support for this feature is already added in v1.28.0 of the Serverless framework.
Another really cool feature that was announced is the ability to add resource policies for API Gateway, which allows you to control access at the resource level. This new feature makes it simple for you to restrict access to certain IPs or IAM users and roles.
And you guessed it, it’s supported by v1.28.0 of the Serverless framework.
Finally, I’d like to share some news from the ServerlessDays conference in London yesterday.
There were many great talks, I especially enjoyed Dizzy Smith’s talk on how they dealt with Meltdown and Spectre at DigitalOcean. I gave the last talk of the day, on how we can apply principles of chaos engineering to the serverless paradigm.
Here at DAZN, we are proud to be sponsors of ServerlessDays. Quite a few of us were there, and we all enjoyed ourselves and met some fantastic, like-minded people during the day!
— dazn engineers (@DAZN_ngnrs) July 6, 2018
? What a fantastic day! Thanks for having us @ServerlessLDN. Great to meet everyone. @theburningmonk was on top form as always. Keep an eye on https://t.co/V4Hb5LAAzP for opportunities at @daznglobal ? #serverlessDaysLDN #Serverless #DAZNLife #changingthegame pic.twitter.com/a6zZTWSbFj
— dazn engineers (@DAZN_ngnrs) July 6, 2018
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 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!
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 wrong about serverless and vendor lock-in
- You are thinking about serverless costs all wrong
- Just how expensive is the full AWS SDK?
- Many faced threats to Serverless security
- We can do better than percentile latencies
- 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
- Top 10 Serverless framework best practices