Kubernetes in Digital Ocean
Running through Kubernetes in Digital Ocean to run a simple web application.
Server Admin for Programmers
Running through Kubernetes in Digital Ocean to run a simple web application.
See how to run PHP unit tests against different versions of PHP with Docker.
We setup firewalls with iptables in Ubuntu 20.04 Focal.
Configure SSH security on Ubuntu 20.04 Focal.
Create a new user and setup SSH access on Ubuntu 20.04 Focal.
Here's how we left server management behind and now never have to think about servers!
While a traditional LEMP stack will work for hosting WordPress, it won't perform optimally, and it certainly won't be able to handle any significant amount of traffic. However, with a few special considerations, WordPress can be both snappy and scalable.
Learn how to best use mysqldump in a modern version of MySQL.
We see how to map Cloudfront's `Cloudfront-Forwarded-Proto` header to `X-Forwarded-Proto`.
We cover using LetsEncrypt to create SSL certificates with a HAProxy load balancer.
We get a Laravel application running!
We'll install PHP and configure Nginx to send requests to PHP files off to PHP-FPM
We'll see how to install Nginx from the official Nginx repository for Ubuntu servers.
We cover cloning a Laravel application from Github (onto the server), and setting up the server to run Laravel. This includes a tweak to Nginx, using composer, and digging into proper permissions.
We setup SSL-Termination on the load balancer, and let the load balancer send requests over port 80 to the application servers.
See how to easy it is to use letsencrypt to create and automatically renew FREE SSL certificates!
We finish building our helper script to finalize our development workflow.
We see how to begin creating a development workflow around what we have built so far.
We add a Node container to run build tasks.
We see how to use variable within a `docker-compose.yml` file.
We cover some more about using the `working_dir` option.
We fill out the `app` service within our Docker Compose configuration file.
We go over a mistake I made when using Docker volumes!
We fill out a few services into our `docker-compose.yml` file.
We see how we can start to use Docker Compose to more easily control our Docker environment.
We cover Docker volumes and make sure we have set our `docker-compose.yml` file correctly to use our created volumes.
We see how we can get containers to talk to each other over a Docker network.
We see how to use an ENTRYPOINT instead of CMD within a Dockerfile.
We cover the docker `logs` command.
We need to add some custom PHP configuration, especially so it does not run as a daemon.