Blog Detail

08

Oct
Laravel Vapor -  Serverless Deployment Platform for Laravel cover image

arrow_back Laravel Vapor - Serverless Deployment Platform for Laravel

Laravel Vapor is an auto-scaling, serverless deployment platform for Laravel, powered by AWS Lambda. With Laravel Vapor, you can manage your Laravel infrastructure easily. Vapor extracts the complexity of managing Laravel applications on AWS Lambda, as well as interfacing those applications with SQS queues, databases, Redis clusters, networks, CloudFront CDN, and more. These are some highlights of Vapor’s features:

  • Auto-scaling web/queue infrastructure fine-tuned for Laravel
  • Zero-downtime deployments and rollbacks
  • Environment variable / secret management
  • Database management, including point-in-time restores and scaling
  • Redis Cache management, including cluster scaling
  • Database and cache tunnels, allowing for easy local inspection
  • Automatic uploading of assets to Cloudfront CDN during deployment
  • Unique, Vapor assigned vanity URLs for each environment, allowing immediate inspection
  • Custom application domains
  • DNS management
  • Certificate management and renewal
  • Application, database, and cache metrics
  • CI friendly

What’s new in Laravel Vapor

Laravel Vapor is a robust platform for managing your entire Laravel application infrastructure.

Improvised Scalability

Laravel vapor holds the aptitude to deal with more than half a million requests that can be processed with an average response time of 12 minutes.

Encourages Collaboration

Vapor consists of teams, and it enables to form as many teams as possible by spending on one plan.

Vanity URL

Vapor lets you access “Vanity URL” with the help of its possible to get access to the application with a premium domain amongst co-workers to assign a custom domain.

Comprehensive Control

It allows complete control `over the activities that every team member has to offer. So, it is convenient to set various things that you can do with all the resources performed by vapor.

Access to Different Environment Metrics

Vapor lets you reach various environment metrics of HTTP requests received by the application in 24 hours, the average duration of those things, the different CLI invocations, and the amount charged on Lambda.

Review and Search Recent Logs

Vapor lets you analyze and search your recent logs from the Vapor UI. Vapor creates a new entry that gets auto-updated in the log.

Databases

There are two different types of databases in Vapor. Serverless database and fixed-size database. A fixed-size database lets you pick the specifications like VCPU, RAM, etc. The other database is serverless it does not need any specifications. It can be done as per the requirements.

Capability to Form Redis Clusters

With the help of Vapor, it is possible to create Redis Clusters. You can form and control elastic Redis cache clusters without undergoing any downtime. Simply attach them to your team’s project and simultaneously use them with multiple projects.

Why Choose Vapor?

Laravel Vapor is fine-tuned by Laravel’s creators to work seamlessly with the framework. You can keep writing your Laravel applications exactly like you’re used to. Vapor isn’t just about deployments. You can create, manage, scale, and even restore your traditional and serverless databases directly from Vapor’s intuitive dashboard. If you need fast data then Vapor makes it a breeze to create and manage ElastiCache Redis clusters. It can scale your cache while you can kick back and relax.

You can also write and dispatch your Laravel jobs and can experience the power of serverless scalability as hundreds of jobs are executed concurrently with zero configuration. You can easily run your file uploads directly to S3 with Vapor’s built-in JavaScript utilities. It’s like magic. Additionally, You can manage your application’s DNS records entirely from the Vapor UI or CLI. Furthermore, every Vapor application receives a free, auto-renewing SSL certificate during deployment.

Benefits of Using Laravel Vapor

  • Serverless: no need to worry about provisioning/configuration of servers
  • Auto-scaling
  • Pay only for what you use
  • Atomic deployments and rollbacks
  • Multiple environments
  • Database snapshots to restore in case of trouble
  • Attach public/private databases

If you want to create a project in Laravel Vapor, you can view its documentation on its Official Website.

Published at : 08-10-2021

Author : Rizwan Aslam
AUTHOR
Rizwan Aslam

I am a highly results-driven professional with 12+ years of collective experience in the grounds of web application development especially in laravel, native android application development in java, and desktop application development in the dot net framework. Now managing a team of expert developers at Codebrisk.

Launch your project

Launch project