Use PreTraffic functions to update CodeDeploy _before_ traffic shifting begins! This is a separate lambda function that will exercise your new code before it responds to production traffic. @bryson3gps@ServerlessMN#Serverless
Let's talk about safe, gradual releases. Traffic shift! This will shift traffic 10% every minute, for 10 minutes, and triggers an alarm on high error rate.
If there's a problem, this kills the stack deploy and triggers a rollback. - @bryson3gps
AMAZING! - me
@ServerlessMN
We enforce a pretty high bar for test coverage on Serverless Applications because we find most code in our #lambda functions is testable! - @bryson3gps@ServerlessMN
Design your templates so anyone can stand them up independently. Lean on that pay-per-use model and set up a new stack to test new features, then tear them down when you're done. @bryson3gps@ServerlessMN#serverless
"Limit your scope, limit your risk." talking about simple, single responsibility functions. This parallels the multi-repo strategy, and heavily leverages the @edjgeek-approved method of Lambda Layers for shared code. #serverlessforeveryone@ServerlessMN
That's a wrap! Thank you SO MUCH @ServerlessMom, we're so glad to have hosted you!
Be sure to follow her here on twitter and on twitch:
https://t.co/5dXom8Bh8J
And definitely check out the "Build a computer from scratch" series!
Unthreading this because it's so important:
People. Matter.
Logs, metrics, and traces are important facets for anyone practicing #observability - but without building up your team, the effort will be for naught.
@ServerlessMom@ServerlessMN