DEV Community

Discussion on: WTF is AWS Lambda?

Collapse
 
felipperegazio profile image
Felippe Regazio • Edited

Pretty cool. Im thinking about trying AWS Lambda on a project, and i have some simple questions:

  1. Can i configure a good server side cache?
  2. Things like language modules, Apache(?) modules are included as a config?
  3. It supports large and complex LAMP projects?

Thank you for your post and your time Tomasz.
Sorry if my comment was too silly.

Collapse
 
andrzejwp profile image
andrzejwp

AWS Lambda is meant to execute a task and then shutdown, it's not something that keeps running endlessly and is always ready to serve your user's requests.

So - think static website generators (GatsbyJs, NextJS, etc.) not LAMP. You can easily use Lambda to generate a set of static HTML files and then publish that to S3. In fact AWS has a whole tutorial on that

Collapse
 
felipperegazio profile image
Felippe Regazio

Oh yap, got it! Thank you for your reply, @andrzejwp !