6 ms·
Literally everything is a Lambda nowadays it seems, so it seems like it's just Lambda -> ECS -> -> -> raw EC2 unless you're building directly on bare metal.
by rejectedandsad 5y ago
Literally everything is a Lambda nowadays it seems, so it seems like it's just Lambda -> ECS -> -> -> raw EC2 unless you're building directly on bare metal.
- bopbeepboop 5y agoAWS is a global scale mainframe[1]. CDK programs are “programs” that run on the AWS mainframe[2]. Lambda is the most “basic” FFI from the world of AWS programs to the world of business logic. ECS/Docker does less automatically (eg, less permission management or environment management), but in exchange you get more open/generic “compute” for your own logic. EC2 is the freest, but again at the expense of even less automated security or environment management. There’s times for all of those — but considering it’s a 1 liner to make a folder into a Lambda in CDK programs, there’s a reason Lambda is popular. [1] https://www.morganclaypool.com/doi/10.2200/S00874ED3V01Y201809CAC046 https://www.morganclaypool.com/doi/10.2200/S00874ED3V01Y2018... [2] https://www.youtube.com/watch?v=AYYTrDaEwLs https://www.youtube.com/watch?v=AYYTrDaEwLs
- bobnamob 5y agoYeah, it really depends on where your service falls on the dependency chain. Services that Lambda depend on are heavily encouraged to use lower level options etc...