DevOps for Laravel Developer

Wishlist Share
Share Course
Page Link
Share On Social Media

About Course

Duration : 3 Months ( 45 Classes )

What kind of projects will we do?

1. AWS, Azure for Laravel( you don’t need a credit card for that) 

2. Docker Hub & Portainer

3. Kubernetes

4. DataDog

5. Github Action

6. Laravel Serverless

7. PaaS and Functions

8. Live Projects

9. Hands-On AWS and Azure Laravel Project (You don’t need a credit card for that) 

10. Building pipelines

nginx

  • Serving static content
  • CGI, FastCGI, php-fpm
  • CGI
  • FastCGI
  • php-fpm
  • nginx and PHP
  • nginx and Vue
  • Combined nginx config

Deployment

  • Deploy script
  • Deploying from a pipeline
  • Provisioning new servers

Queues and Workers

  • supervisor
  • Multiple queues and priorities
  • Deploying workers
  • Optimizing worker processes

Domains and HTTPS with nginx

  • Domain
  • HTTPS

Optimization

  • nginx worker processes and connections
  • fpm processes
  • opcache
  • gzip
  • HTTP2
  • TLS1.3
  • nginx cache
  • Caching static content
  • Caching fastcgi responses

Backups and restore

  • AWS S3
  • spatie/laravel-backup
  • Restore script

Docker

  • The basics in theory
  • The basics in practice
  • Overview of the application
  • Dockerizing a Laravel API
  • Dockerizing a Vue app
  • Dockerizing a scheduler and a worker

Docker-compose

  • Frontend
  • API
  • Databases
  • Migrations
  • nginx
  • Reverse proxy
  • Scheduler and worker
  • supervisor
  • Custom-built images for MySQL and Nginx
  • Building images in a pipeline

Optimizing the pipeline

  • Docker layers
  • Back to the pipeline

Production-ready docker-compose

  • Docker named volumes vs bind mounts

Deployment

  • Deploy script
  • Deploying from a pipeline
  • Provisioning new servers
  • update service
  • Restore
  • Rollback
  • Automatic image updates

GitFlow

  • Pushing to develop or main
  • Opening a PR to main
  • Opening a PR to develop (feature branches)
  • Reusing jobs (composite actions)

Final touches

  • Frontend, nginx, and proxy
  • Worker & Scheduler
  • Limitations of docker-compose

Docker Swarm

  • State
  • Basic concepts
  • Workers, managers, and leaders
  • Creating a cluster
  • Application-level changes
  • Deploying a stack
  • Service placements
  • Scaling services
    • API and nginx
    • Worker
    • Visualizing the cluster
    • Protecting the databases
    • Protecting user-facing service
    • Ingress routing mesh
  • Health checks
  • Restarting services
  • Updating services
  • Rolling back services
  • Deployment
    • Deploying from a pipeline
    • Update service
    • Provisioning nodes

Monitoring and error tracking

  • Uptime
    • Uptime robot
  • Health check monitors
    • Health checks in a cluster
  • Server resource alerts
  • Error tracking

Kubernetes

  • Introduction
  • Basic concepts
    • Pod
    • ReplicaSet
    • Deployment
  • Creating a cluster
  • Managed databases
  • Deploying a Laravel API
    • Configuring the deployment
    • Configs and secrets
    • Applying the deployment
    • Shortcuts
    • kubectl apply
  • 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
    • API probes
    • nginx probes
    • worker probes
    • frontend probes
    • timeout seconds
  • Autoscaling pods
    • Metrics server
  • Rolling update config
    • maxUnavailable
    • maxSurge
  • Resource requests and limits
  • Health check pods
  • Exposing the application
    • Ingress
    • Ingress controller & load balancer
    • Domain & HTTPS
  • Deploying the cluster from a pipeline
    • Secrets
    • Image versions
    • Ship it
    • kubectl & docker cli
  • Monitoring the cluster

Serverless

  • Introduction
  • Platform-as-a-service
  • Serverless functions
  • The architecture of a code review tool
    • Overview
    • Webhook
    • Scheduler
    • Adding functions
  • Serverless Laravel on AWS
    • The serverless framework

Load balancers from scratch

  • The basics of load balancers
  • nginx as a load balancer
  • Managed load balancers
  • Load balancing with docker-compose
  • Caching with a load balancer

Other ideas for future editions

  • Load balancers from scratch
  • Terraform
  • HELM
  • Implementing an auto-scaler from scratch
  • How to choose a cluster size
  • Grafana Cloud
  • System design of an uptime service
Show More

What Will You Learn?

  • 1. AWS, Azure for laravel
  • 2. Docker Hub
  • 3. Kubernetes
  • 4. DataDog
  • 5. Github Action
  • 6. Laravel Serverless

Course Content

Introduction
Introduction

Student Ratings & Reviews

No Review Yet
No Review Yet