Adventures in AWS
Lambda Layers #
lambda layers console log to cloudwatch is on each line
Useful case! When you have a binary that you need compiled for AWS ie canvas. You can create a layer with that binary import then use it iny our lambda!
Lambda #
- Expect lambda exits invocation after sending a response back to the http gateway.
- running stuff after the http response.send may be in an indeterminate state.
Dyanmo #
- When writing tests that hit the actual database, Use real looking data INCLUDING ids. foo-677affd3-e921-471e-9d47-cf92f84b3901 vs foo-123
- Keep in mind that every gsi is creating another duplicated table in data which will include the WCU for that table AND throughput limits. ie throttling