heystack

AWS Serverless Cost Calculator

A cost calculator for your web application using Lambda, Cognito, S3, SQS, DynamoDb and other resources. Make your own copy and input your data to get customized results.

From the heystacks.com archiveUpdated 410 views
Open original
View as text

AWS Serverless Cost Calculator

Use case: a web application

Serverless architecture out-of-the-box: auto-scalable by design - up to date, distributed, async & secured systems - user & auth mgt - data & file storage - real-time updates - monitoring - workflow mgt

Presentation article: https://medium.com/p/2f8a52fc6a68Architecture source: https://medium.com/p/40f252cd0ecb
VariablesResult
Select below a pre-defined type of application for general cost estimationeu-west-1
TrafficHighCost / MonthPre-definedCustom
TypeEcommerceTotal$1,693.2$92.4
Cost / Session$0.001366$0.000085

Or play around with custom fields for a refined estimation

User VariablesPre-definedCustomDetail per AWS service
# of Sessions / Day40,00035,000API G. REST$147.6$7.6
# of Sessions / User / Month5.00150.00API G. WS$17.7$0.0
% of Authenticated Users30.00%100.00%Lambda$199.1$0.8
# of Loaded Assets (Image, Video, Files) / Session100.0010.00DynamoDB$54.8$6.7
# of Uploaded Files / Session0.101.00Cognito$134.2$0.0
Average Size of Uploaded Files (MB)0.001.00EventBridge$9.9$2.2
# of Pages Visited / Session30.001.00CloudFront$762.3$63.6
# of Saved User Actions (ex: comment an article) / Session4.001.00S3$0.7$10.3Owner: Xavier Lefèvre
# of Complex Workflows (ex: e-commerce funnel) / Session1.000.00SQS$0.0$0.0Twitter: @xavi_lefevre
CloudWatch$57.2$1.2
These are technical variables, trust us if you don't know much about serverlessStep Functions$309.9$0.0
Architecture VariablesPre-definedCustom
API Reads# of Lambdas Triggered / Pages Visited11
# of DB Items Read / Pages Visited11
API Writes# of Lambdas Triggered / Saved Actions31Legend
# of DB Items Written / Saved Actions11Pre-defined scenarios, when selecting dropdowns
Workflows# of Lambda Steps / Workflow55
# of DB Items Written / Workflow22Custom scenario, when directly replacing variables
# of DB Items Read / Workflow22
Realtime# of WebSocket Messages / Minute / Session11Modifiable cells
# of Minutes / Session100
# of DB Items Read / Message11

⚠️ High traffics have discounted prices not taken into account in this calculator

⚠️ Data transfer between regions are not taken into account

Discussion 0

0/5,000

No discussion yet. Start it — no sign-up needed.