How I Setup a WordPress Cron Job Using AWS Lambda

A little background on WordPress cron jobs and why they’re important. WordPress cron jobs is the tool that WordPress core uses to regularly run specific functions. For example, a widely used caching plugin, W3 Total Cache (which I use on many of my sites) can preload caches at regular intervals, to ensure that a page is always cached. WordPress by default though, triggers this when someone visits your site. This can cause a delay in loading the page though, if it takes a while for a job or jobs, to run. (more info: developer.wordpress.org) Personally, I disable the built-in WordPress …

Continue ReadingHow I Setup a WordPress Cron Job Using AWS Lambda

Using Cloudflare, an Amazon Load Balancer, with Nginx and Fail2Ban

I recently started using WordOps as the primary infrastructure solution for my WordPress sites. I’ve been quite happy with it as well. I’ve been using Cloudflare for quite a while now, and have been extremely pleased with the product offering; even the free service is fantastic — I have also used Cloudflare as an Enterprise customer. More recently though, I’ve started to dive into Amazon Web Services (AWS) and started using their Load Balancer technology in my high availability WordPress infrastructure configuration. WordOps comes out of the box with a configuration file called cloudflare.conf inside of /etc/nginx/conf.d. This file comes …

Continue ReadingUsing Cloudflare, an Amazon Load Balancer, with Nginx and Fail2Ban