3 ms·
> You shouldn’t need to run anything more than a minute or two. If you do lambda isn’t for you. Right, but how do you know that on a new project? What happens
by imiric 3y ago
> You shouldn’t need to run anything more than a minute or two. If you do lambda isn’t for you.
Right, but how do you know that on a new project? What happens if you _do_ need more execution time, RAM, CPU, IOPS, etc., than what Lambda provides? Or need some specific integration or workflow that doesn't fit the Lambda model? It would be very expensive to backtrack and implement a traditional architecture at that point, instead of starting with the traditional architecture and using Lambda only when you have a good use case for it.
Not to mention that you're going all in with a single cloud provider. Vendor lock-in at an early stage is not a good idea.
> Just upload code and run. No load balancers, no firewall rules. It couldn’t be simpler.
It's probably simple for you if you've done it many times, but it would require a considerable amount of time and effort for someone unfamiliar with the stack or AWS. The simplest thing is often whatever we're used to, and if that's a traditional LAMP stack, then I'd suggest going with that first.
- jedberg 3y agoYou don’t know. You write the code, upload it, see if it runs. If it doesn’t you run it somewhere else. It’s dead simple for a beginner, far simpler than a LAMP stack. I think you misunderstand how lambda works because your objections don’t make sense. Lambda is a LAMP stack. They just take care of LA for you.