ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1
2
AWS Serverless Cost Calculator
3
Use case: a web application
4
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
5
Presentation article: https://medium.com/p/2f8a52fc6a68Architecture source: https://medium.com/p/40f252cd0ecb
6
7
8
VariablesResult
9
Select below a pre-defined type of application for general cost estimation
eu-west-1
10
TrafficHighCost / MonthPre-definedCustom
11
TypeEcommerceTotal$1,693.2$92.4
12
Cost / Session$0.001366$0.000085
13
Or play around with custom fields for a refined estimation
14
User Variables
Pre-defined
Custom
Detail per AWS service
15
# of Sessions / Day
40,00035,000API G. REST$147.6$7.6
16
# of Sessions / User / Month
5.00150.00API G. WS$17.7$0.0
17
% of Authenticated Users
30.00%100.00%Lambda$199.1$0.8
18
# of Loaded Assets (Image, Video, Files) / Session
100.0010.00DynamoDB$54.8$6.7
19
# of Uploaded Files / Session
0.101.00Cognito$134.2$0.0
20
Average Size of Uploaded Files (MB)
0.001.00EventBridge$9.9$2.2
21
# of Pages Visited / Session
30.001.00CloudFront$762.3$63.6
22
# of Saved User Actions (ex: comment an article) / Session
4.001.00S3$0.7$10.3
Owner: Xavier Lefèvre
23
# of Complex Workflows (ex: e-commerce funnel) / Session
1.000.00SQS$0.0$0.0
Twitter: @xavi_lefevre
24
CloudWatch$57.2$1.2
25
These are technical variables, trust us if you don't know much about serverless
Step Functions$309.9$0.0
26
Architecture Variables
Pre-defined
Custom
27
API Reads# of Lambdas Triggered / Pages Visited11
28
# of DB Items Read / Pages Visited11
29
API Writes# of Lambdas Triggered / Saved Actions31Legend
30
# of DB Items Written / Saved Actions11
Pre-defined scenarios, when selecting dropdowns
31
Workflows# of Lambda Steps / Workflow55
32
# of DB Items Written / Workflow22
Custom scenario, when directly replacing variables
33
# of DB Items Read / Workflow22
34
Realtime
# of WebSocket Messages / Minute / Session
11
Modifiable cells
35
# of Minutes / Session100
36
# of DB Items Read / Message11
37
38
39
⚠️ High traffics have discounted prices not taken into account in this calculator
40
⚠️ Data transfer between regions are not taken into account
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100