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 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