Laravel Vapor is a serverless deployment platform for Laravel integrated with AWS. Vapor allows managing various AWS services through APIs such as Databases, Caches, Networks, Certificates, and everything needed to deploy a Laravel-developed application. But what is serverless?
What is Serverless
Serverless despite its literal translation, does not mean infrastructure without servers!. In fact, there are always servers behind a cloud service. Traditionally speaking, when you want to set up a server in the cloud, you must worry about choosing an operating system, installing the web or application server, databases, version control systems, virtual host and domain configuration, certificates, and everything involved in the infrastructure on which your applications run.
Even after your application is set up, you will have to worry about monitoring, provisioning of databases or storage, security patches for the operating system, updates of the backend language you use, server redundancy in case of disasters, and many other things.
However, with serverless you can stop worrying about all these things. With serverless you have servers at your disposal but you don't have to worry about managing them!. In serverless you manage services not servers. This leaves the developers with the function of worrying about what they really should worry about, creating applications.
Why use Laravel Vapor
We can use Laravel Vapor when we want to respond to millions of requests without having to scale our entire infrastructure to this new panorama in the traditional way. When we don't have time or don't want to manage our servers and don't want to pay large amounts of money for it! Laravel provides an interface that communicates via API with AWS so your infrastructure is supported by the Amazon giant.