O'Reilly logo

Cloud Native Architectures by Piyum Zonooz, Erik Farr, Kamal Arora, Tom Laszewski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Serverless implications

Serverless architectures are a unique costing challenge. Most of the effective cost optimization efforts fall in writing effective code in order to reduce the code's execution time or the number of executions required. This is evident from the pricing model of serverless code execution services such as AWS Lambda, which charges based on the number of executions, execution time, and allocated memory to the container that runs the code (https://s3.amazonaws.com/lambda-tools/pricing-calculator.html). Memory size can be optimized by tracking the amount of memory used per execution (this can be tracked in AWS CloudWatch).

Other serverless cloud services, such as AWS Kinesis and Athena, follow a similar data-based pricing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required