Re:Serverless: slower and more expensive
by sakopov on Monday September 23, 2019 @12:15PM
(#21050302)
I didn't know you could do this. For anyone interested here's a simple CF template that illustrates this scenario [1].
[1] https://github.com/s0enke/cloudformation-templates/blob/mast...
Re:Serverless: slower and more expensive
by einaregilsson on Monday September 23, 2019 @05:27AM
(#21047254)
Yes, ALB would have been a much better fit for us. We used API Gateway because that's what the serverless framework sets up (at least by default) and I didn't know you could use ALB in front of Lambda.
They already have a classic ELB in place, so switching to an ALB wouldn't be a significant change in cost or capability (the ALB is often cheaper, though it's hard to tell in this case)