Browse all series

Serverless Laravel

"Serverless" refers to a cloud application development model that allows developers to execute code without managing the server directly.

In this series, you'll learn how to deploy Laravel applications to AWS Lambda (serverless) through Laravel Vapor. In the process, we'll understand what it means to run serverlessly. We'll also look under the hood and discuss how AWS actually runs your application.

Progress

Series Info

Episodes
13
Run Time
1h 38m
Difficulty
Advanced
Last Updated
Jan 23, 2023
Version
Latest

Series Episodes

  1. Episodes (13)
    1. Getting Started with Serverless

      Let's begin with a quick introduction to serverless, AWS and Vapor. We'll create a Vapor account and give it programmable access to our AWS account.
    2. Your First Deployment

      In this episode, we'll deploy a Laravel application to AWS Lambda through Vapor and verify that the web, queue, and scheduler components work as expected.
    3. Behind The Scenes

      With our application now deployed, let's explore what Vapor did to make the application run serverlessly.
    4. Environments and Environment Variables

      Each project in Vapor may have as many environments as it needs. We can manage each environment's configuration and environment variables separately. Let's look into that.
    5. Concurrency in AWS Lambda

      AWS Lambda offers two concurrency control tools. Reserved concurrency and provisioned concurrency. Let's walk through them and see when it makes sense to use each.
    6. Scaling in AWS Lambda

      Next up, let's learn about how AWS Lambda scales an application under the hood. We'll also look into the lifecycle of the lambda container.
    7. The Lambda Runtime

      In this lesson, we'll explore the Lambda internal runtime that's used to run our application. We'll also look into the Vapor runtime.
    8. VPCs and Networking

      Let's next have a look at how to configure a secure network to host our serverless applications and databases.
    9. Databases

      In this lesson, we will learn how to set up and configure databases for serverless applications.
    10. Private Databases and Database Proxies

      Let's look into creating databases in private subnets and how we can connect to them from our lambdas.
    11. Cache

      Next up is caching. We will discover how we might create a cache instance and use it within our serverless applications.
    12. Custom Domains

      Let's next look into how to configure domains for our applications when hosting on Vapor. We'll also check how to configure asset domains.
    13. Queues and Serverless

      Using queues while running serverlessly is quite simple. However, there are still a few things worth considering. Let's discuss them.

Continue Learning