Reputation: 134
Good day all,
Scenario:
Requirements:
Problem:
Question:
Kind Regards Simon Erasmus
Upvotes: 0
Views: 607
Reputation: 6073
AWS container service team member here. This is a very open ended question whose answers will most likely be based on opinions and preferences. These questions often don't lend well on Stackoverflow. In general we see Fargate being used for deployments that implement the very traditional service model associated with standard compute resources (e.g. EC2 or containers) where you launch a process and that process is long lived to accept connections. Lambda is used when you can re-factor your code to work with a specific programming model (function). Many customers are confused by the fact that "Lambda supports containers" but that is limited to the packaging format (Vs. Lambda traditional packaging which is zip). In other words, Lambda supporting containers doesn’t mean you can run ANY container image on Lambda. See here for more background.
We, anecdotically, more commonly see API GW being used with Lambda and ALB/NLB being used with Fargate but it is indeed possible to use API GW with Fargate as well (see here for an example).
Upvotes: 0