Compute: Lambda

Lambda service as a code runner in the cloud or a plugin service for other AWS services is discussed in this lesson together with our rule of thumb in using Lambda service.

Code runner in the cloud

If EC2 is a complete computer in the cloud, Lambda is a code runner in the cloud. With EC2 you get an operating system, a file system, access to the server’s hardware, etc. But with Lambda, you just upload some code and Amazon runs it for you. The beauty of Lambda is:

  • It’s the simplest way to run code in the cloud.
  • It abstracts away everything except for a function interface, which you get to fill in with the code you want to run.
svg viewer

Get hands-on with 1200+ tech skills courses.