Serverless is a service model where you don’t need to manage servers; instead, you focus solely on writing code.
The cloud provider takes care of all underlying infrastructure.
AWS EC2 offers virtual server instances.
To use EC2, you need to:
Image created by Amazon Web Services
Serverless computing eliminates the need for server management, allowing you to concentrate on more important tasks.
This approach is ideal for scaling.
AWS offers a serverless service called AWS Lambda, which you will learn more about in the next chapter.