32. @theburningmonk theburningmonk.com
idea production
choose language
+ framework
master language
+ framework
figure out
deployment
configure AMI
configure ELB
configure
autoscaling
capacity planning
over-provision for
launch
are we doing
microservices?
configure CI/CD
33. @theburningmonk theburningmonk.com
idea production
choose language
+ framework
master language
+ framework
figure out
deployment
configure AMI
configure ELB
configure
autoscaling
capacity planning
over-provision for
launch
are we doing
microservices?
configure CI/CD
50. @theburningmonk theburningmonk.com
ALB
1 LCU gives you
25 new connections per second
3000 active connections per minute
0.4 GB per hour for Lambda function targets
1000 rule evaluations per second
* averaged over an hour
51. @theburningmonk theburningmonk.com
1 TPS, 200ms avg latency, 1KB data processing / req
API Gateway
ALB
$2.5921 x 60s x 60m x 24hr x 30days
@ $1.00 per hour
24hr x 30days @ $0.0225 per hour
+
1 x 24hr x 30days @ $0.008 per hour
$21.96
$9.0721 x 60s x 60m x 24hr x 30days
@ $3.50 per hour
REST
HTTP
52. @theburningmonk theburningmonk.com
1,000 TPS, 200ms avg latency, 1KB data processing / req
25 new connections per second
3000 active connections per minute
0.4 GB per hour for Lambda function targets
1000 rule evaluations per second
= 1000 / 25 = 40 LCU
= 1000 x 60s / 3000 = 20 LCU
= 1kb x 1000 x 60s x 60m / 0.4 GB = 8.58 LCU
= 1000 / 1000 = 1 LCU
53. @theburningmonk theburningmonk.com
1,000 TPS, 200ms avg latency, 1KB data processing / req
API Gateway
ALB
$25921000 x 60s x 60m x 24hr x 30days
@ $1.00 per hour
24hr x 30days @ $0.0225 per hour
+
40 x 24hr x 30days @ $0.008 per hour
$246.6
$90721000 x 60s x 60m x 24hr x 30days
@ $3.50 per hour
REST
HTTP
70. @theburningmonk theburningmonk.com
no support for broadcasts
(e.g. broadcasting to a million connected users equates to fetching 1M
items from DynamoDB and then make 1M API calls to API Gateway…)
86. @theburningmonk theburningmonk.com
AWS AppSync
scalable & multi-az out of the box
pay as you use ($4.00 per Million)
built-in caching (extra $)
built-in metrics through CloudWatch
built-in logging through CloudWatch Logs
87. @theburningmonk theburningmonk.com
AWS AppSync
scalable & multi-az out of the box
pay as you use ($4.00 per Million)
built-in caching (extra $)
built-in metrics through CloudWatch
built-in logging through CloudWatch Logs
no servers to manage