English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 30 Lessons (3h 48m) | 391 MB
In this course, you will build a robust deployment strategy for PHP applications from scratch. We will start with simple operations and gradually move toward a professional, fully automated zero-downtime deployment process.
Server Setup and Security
- Installing and configuring essential server components
- Creating users and managing access
- Configuring a firewall
- Installing security software and hardening the server
From Basic File Transfers to Professional Deployment
We will begin with simple file transfers via SSH and then move on to using Fabric to create a deployment strategy that supports rollbacks and zero-downtime deployment.
Team-Based Deployment
You will learn how to centralize the deployment process using a build server, automate application builds, deploy code, send notifications, and maintain a deployment history log.
What You Will Learn:
Fundamentals
- Setting up a deployment server
- Server installation and basic network configuration
- Securing SSH and managing users
- Configuring the server for PHP applications
- File transfer and synchronization
SSH Configuration
- Copying files using SCP
- Synchronizing files with Rsync
- Managing user permissions for deployment
- Using Git/GitHub for deployment
Deployment Scripting and Automation
- Setting up Fabric as an SSH task manager
- Using sudo and managing permissions
- Zero-downtime deployment with symlinks
- Rollbacks and database migrations
Automating Deployment
- Centralized deployment management
- Automatic Fabric calls and webhooks
- Task queues and process separation
- Deployment status notifications
Application Build Process
- Setting up a build server
- Compiling dependencies and assets before deployment
- Monitoring deployment progress and logging
This course will provide you with all the tools needed to create a professional deployment strategy for your PHP applications—from local development to production servers.
Table of Contents
1 SSH to Connect
2 New Users
3 SSH Security
4 Firewalls
5 Fail2Ban
6 The Application Server
7 SSH Configuration
8 Deploying with SCP
9 Deploying with Rsync
10 Git and GitHub
11 Introducing Fabric
12 Sudoers and Sudo
13 Downtime and Symlinks
14 Fabric and Symlinks
15 Rollbacks
16 Migrations
17 Other Services
18 Run Fabric Programmatically
19 Creating a Build Server
20 The Web Listener
21 GitHub Webhooks
22 Using Queues with SQS
23 Consuming Queue Jobs with Python
24 Notifications During Deployment
25 Monitoring the Deploy Services
26 Building the Application Ahead of Deployment
27 Making the Build Server Build
28 Deploying a Built Application
29 Wrapping Up
30 Ansible Quickstart
Resolve the captcha to access the links!