Oreilly - High Availability for the LAMP Stack, Step-by-Step
by Jason Cannon | Released September 2018 | ISBN: 9781789804256
How to eliminate single points of failure & increase uptime for your Linux, Apache, MySQL, & PHP Based Web Sites & Apps.About This VideoThis is a full blown course that demonstrates everything step-by-stepEven though this course is targeted directly at the LAMP stack (Linux, Apache, MySQL, PHP), the concepts and techniques presented can be reused in a variety of other situations. After you complete the course you'll be able to deploy highly available web services that allow you to scale without downtime, add storage on the fly, and survive single points of failure.In DetailDo you wish you could ensure your website was up all the time and finally enjoy a peaceful night's sleep? Do you want to be able to scale without downtime and handle unexpected surges of traffic? Do you want a solution that just works without spending weeks testing various combinations of technologies and software? Do you want someone to lay it all out for you and walk you through an entire deployment? If so, you're in the right place. I understand because I've been there. I know what it's like to be woken up in the middle of the night when a web server goes down. I don't know about you, but I'm fairly grumpy at 2:47 A.M. when something is broke and I'm the one that has to fix it. That's why I strive to eliminate single points of failure and ensure service availability. I would much rather plan for failure ahead of time than have to react to it. If you have a robust design that's easy to support you can repair any failures at your convenience instead of trying to cobble together a makeshift solution in the middle of the night. I've spent countless hours designing, testing, and implementing high availability solutions for a wide range of Linux based services during my career. I've put together a well designed, well-tested solution for the LAMP (Linux, Apache, MySQL, PHP) stack that easily scales to support an increasing number of users all the while decreasing downtime. I've taken each possible single point of failure into account from the obvious ones to the less than obvious edge cases you'll need to cover in order to have a truly robust design. This architecture and design:Works on physical servers. If you're running on bare metal, this design will work for you.Works in virtual environments such as VMWare, VirtualBox, Ovirt, Red Hat Enterprise Virtualization (RHEV), KVM, and Xen.Works in the cloud -- You'll learn about the important nuances for running in the cloud. This design works whether you're using Amazon Web Services (AWS), Rackspace Cloud, or another provider. Scales without downtime add more servers or resources without users even noticing. Works with custom written websites and applications that run on the LAMP stack. Supports popular open source web applications such as WordPress, Drupal, Joomla, MediaWiki, phpBB, Redmine, SugarCRM, and more. Show and hide more
- Chapter 1 : High Availability for the LAMP Stack
- Introduction 00:02:51
- Files and Downloads 00:01:50
- Preparing a Local Test Environment 00:02:12
- Installing Vagrant on Windows 00:01:16
- Installing an SSH Command Line Client on Windows Using Git 00:01:59
- Installing Vagrant on Mac 00:01:31
- Vagrant Crash Course 00:06:33
- Typical Web Application Residing on a Single Server 00:02:49
- Scaling VS Availability 00:01:50
- The High Availability Architecture 00:03:16
- Configuring High Availability for the IP Address 00:07:20
- Installing and Configuring a Load Balancer 00:07:38
- Installing and Configuring Apache and PHP 00:08:41
- Creating Highly Available Storage 00:15:35
- Installing and Configuring MySQL 00:14:20
- Installing and Configuring WordPress 00:06:11
- Considerations for the Cloud 00:01:38
- Chapter 2 : Scaling
- Web Servers 00:06:28
- Database Servers 00:05:36
- Storage 00:11:48
- Conclusion 00:00:37
- Chapter 3 : Bonus: Highly Available Joomla
- Highly Available Joomla 00:07:44
Show and hide more