• You want to focus on a business logic rather than on the infrastructure • You need to be prepared for a high-load • Your goal is to be cost-effective Go Serverless If 6
is trained properly • Application architecture is designed, discussed and validated by your team. • Everyone understands pricing, hard and soft limits of each AWS service that is going to be used • To do your homework, calculate costs projection based on theoretical growth of a user base Before using Serverless make sure 7
18 • Optimization opportunities are missed. • API Gateway routing and transformation capabilities are not used, thus you are wasting money (and time). • Code becomes more complicated(and it will result in more bugs) • Testing is more complicated
Time • Some environment have longer cold start than others • Non-cold start request processing time is almost the same. But each environment has its own latency “base value”. This may matter for aggressive optimizations
29 • Migration of an existing code • Incoming request routing is complicated and can’t be achieved using API Gateway • Quick and dirty proof of concept
Super verbose • Constant release of incompatible tool versions • Latest resources may not be available • Not all resources may be available due to architecture/paradigm limitations
have any business logic. Instead, it should extract input, pass it further and format response. Then you can easily replace the entry point and debug any function in any IDE.