What is Serverless architecture?

Serverless Architecture is a term that refers to the following:

  1. An Application that depends on a third-party service.
  2. An Application in which Code is run on ephemeral containers.

In AWS, Lambda is a popular service to implement serverless architecture.

Another concept in Serverless Architecture is to treat code as a service or Function as a Service(FAAS). We just write code that can be run on any environment or server without the need of specifying which server should be used to run this code.