70% Black Friday deal until the 5th of December
With this guide, you can learn everything about deployments, Docker, Kubernetes, and how to use them with Laravel.
β 4.9 average rating. Read by 560+ happy developers.

introduction
"DevOps with Laravel" is a 465-page guide that teaches you how to be better at infrastructure and architecture
Building CI/CD pipelines
nginx
cgi, FastCGI
FPM
Deploying Laravel projects without Docker or any orchestrator
Running queues and workers in production
Domains and HTTPS with nginx
Optimizing nginx, fpm, and workers
Backup and restore process with AWS S3
Dockerizing Laravel projects
Using docker-compose
Deploying Docker containers to production
GitFlow with Docker containers
Docker Swarm clusters in production
Monitoring and error tracking
Log management and dashboards with Grafana and fluentbit
Kubernetes and highly available clusters
Running a Laravel API, Vue SPA and workers in a k8s cluster
PaaS solutions
Serverless functions
AWS Lambdas, API gateway, S3
DigitalOcean App Platform
DigitalOcean Kubernetes clusters
Managed databases
Load balancers from scratch
All of the above by deploying a Laravel app with components such as an API, Vue frontend, MySQL database, Redis queue, multiple queues and worker processes, scheduler.
You'll learn how nginx, cgi, fpm works. How to deploy Laravel apps to a VPS using a CI/CD pipeline. How to dockerize Laravel apps.
Run your apps on 100-machine clusters by just learning a few new command with Swarm.
Run your apps on 100-machine clusters using k8s. You'll learn the most important things in great detail.
Use the serverless framework to deploy to AWS Lambda and PaaS solutions that don't require servers at all.
What's inside
In the book, we take a typical Laravel app with the following components: API, Vue SPA, MySQL database, Redis queue, multiple worker processes, scheduler. Then we prepare it for production and deploy it using different techniques. We start with simple shell scripts then move on to Docker and containers all the way to Kubernetes and serverless solutions.Read the full Table of contents here
Fundamentals and docker
234 pages
Building a pipeline
nginx
Deployment
Queues and workers
Domains and HTTPS with nginx
Backups and restore with AWS S3
Docker
docker-compose
Deploying Docker containers to production
GitFlow pipeline with containers
Docker Swarm
82 pages
State
Basic concepts
Workers, managers, and leaders
Creating a cluster
Application-level changes
Deploying a stack
Service placements
Scaling services
Health checks
Restarting services
Updating services
Rolling back services
Deployment
Monitoring and error collecting
Log management and dashboards
Kubernetes
92 pages
Introduction
Creating a cluster
Managed databases
Deploying a Laravel API
Deploying nginx
Communication between nginx and FPM
Deploying a worker
Deploying a scheduler
Deploying a frontend
Running migrations in a cluster
Caching configs
Liveness and readiness probes
Autoscaling pods
Rolling update config
Resource requests and limits
Health check pods
Exposing the application
Deploying the cluster from a pipeline
Monitoring the cluster
serverless
39 pages
Introduction
Platform-as-a-service
Serverless functions
The architecture of a code review tool
Serverless Laravel on AWS
The serverless framework
bref
Download a 72-page sample chapter and take a look at it
Feedback

The 465-page extended book in PDF format
7 example projects
A 92-page chapter on Kubernetes
Deploy k8s clusters from CI/CD pipelines
Run managed databases
Terraform in 22-pages
A 39-page chapter about PaaS and serverless solutions
Deploy Laravel apps to AWS Lambda functions
The system design of a fully serverless production-grade code review SaaS application
Load balancers from scratch.
An 82-page chapter dedicated to Docker Swarm
Teaches you how to run and deploy 100-machine clusters using CI/CD pipelines
Log management with Grafana and fluentbit
Resource monitoring and error tracking
Fundamentals and Docker
Long-term updates included! Do you miss a topic from the book? Just send me a mail and I might cover it in a future update.
Read the full table of contents here
Regular Price $149

The 316-page extended book in PDF format
5 example projects
A 82-page chapter dedicated to Docker Swarm
Teaches you how to run and deploy 100-machine clusters using CI/CD pipelines
Log management with Grafana and fluentbit
Resource monitoring and error tracking
Fundamentals and Docker
Long-term updates covering new topics not included :(
Regular Price $69

The 234-page book in PDF format
Fundamentals and Docker
3 example projects
Long-term updates covering new topics not included :(

π Hey!I'm Martin Joo, a PHP developer since 2012. I'm also a content creator, blogger, and author of:
Domain-Driven Design with Laravel
Microservices with Laravel
Laravel Concepts
Test-Driven APIs with Laravel and Pest
Laravel Eloquent Recipes
Proper API Design with Laravel
Common Mistakes in Laravel
As you can see, I really love Laravel. I'm also sharing everything I know about development on Twitter.
Do you offer a money-back guarantee?
Yes, for 30 days! Just reach out to me at martin@martinjoo.dev, and you'll get your money back. I'll only ask you why didn't you like the product.
Can I upgrade from one package to another later?
Yes! Just drop me an e-mail at martin@martinjoo.dev, and I'll create you a discount code, so you only have to pay the difference between the two packages.
Is there an epub or mobi format?
Right now, every content ships in PDF format. The reason is simple: each PDF contains a ton of code examples. These code examples look very nice in a PDF where I can use HTML to format the pages.epub and mobi kind of mess this up, so this is why I exported everything in PDF.However, if you cannot live without these formats, drop me an e-mail, and I can export a copy for you.
Published: 2023.09.12
Updated: 2023.10.10 (Load balancers from scratch)
Next update: 2023 November (Terraform)