Author : MD TAREQ HASSAN | Updated : 2020/10/27
What is serverless computing
- A cloud computing execution model in which the cloud provider runs the server, and dynamically manages the allocation of machine resources
- A cloud-native development model that allows developers to build and run applications without having to manage servers
- Serverless platform lets you write code your way without worrying about the underlying infrastructure
- Applications in serverless computing are deployed in containers that automatically launch on demand when called
- Pricing in serverless computing is based on the actual amount of resources consumed by an application
There are still servers in serverless, but they are abstracted away from the application development. Provisioning, maintaining and scaling of the server infrastructure are handled by the cloud service provider.
Types
- Backend-as-a-Service (BaaS): serverless functions are usually called through APIs
- Function-as-a-Service (FaaS): runs in containers fully managed by a cloud services provider
Examples
- Microsoft Azure Functions
- AWS Lambda
- Google Cloud Functions
- IBM Cloud Functions
- Twilio Functions
Why to use serverless?
- Low Cost
- Better Scalability
- Improved Latency
- Faster development
- Easy To Deploy