What is serverless?

Before discussing the Function as a Service model, we need to understand serverless computing. Even though these two terms are used interchangeably, they are not the same. When we hear serverless, it gives the impression that no servers are involved anywhere! That is not possible. Code needs to run somewhere. Servers are very much involved in serverless computing. It's just that we don't have to deal with any of the underlying infrastructure. We can think of it as outsourcing all cloud infrastructure management (provisioning, maintenance, etc.) and scaling to the cloud vendor.

Serverless comprises two approaches:

  1. Backend as a Service
  2. Function as a Service

Get hands-on with 1200+ tech skills courses.