Tag Archives: aws

Http/2, Apache, & Lightsail

This post only covers the technical details of how to implement http/2 on an Apache web server running in Amazon Linux on Lightsail. It does not go into the details of what http/2 is or why use it. For that information, I suggest https://http2.github.io.

First you have to switch the Multi-Processing Modules (MPMs) from pre-fork (the default) to another one. I chose the event mpm for no particular reason.

To do this, edit /etc/httpd/conf.modules.d/00-mpm.conf and make the following changes …

Continue reading

LetsEncrypt, Certbot, and Lightsail

Although not directly supported, it’s quite possible to use the LetsEncrypt certbot client on Amazon Lightsail Linux.

First of all … what is LetsEncrypt?

Let’s Encrypt is a free service that offers basic SSL certificates any web site.  The certificates are good for 90 days but can be renewed indefinitely. With the proper software, the installation & renewal of the certificates can be fully automated.

There are a few things to be aware of and workarounds that need to be done.

First, download the certbot-auto client itself…

Continue reading

Amazon Lightsail


Ha! I’ll be you thought this blog was dead.

Well, truth be told, it was pretty close … but you never know when inspiration will strike.

So a little while ago I had a hardware failure on one my servers. This incident has given me the incentive to try and move some of the servers I host to other machines … where I don’t have to worry about the hardware end of things.

To that end, I started looking at hosting providers.  One of the providers I’m looking at is Amazon Lightsail.

Amazon Lightsail provides micro instances of their AWS compute service at very good prices.

A 512mb / 20gb Linux instance only costs $5 / month and the first month is free.

So I’ve been playing around with that and like it a lot.

I’ve currently got a handful of sites moved over to Lightsail.

I have encountered a few gotcha’s though …

Continue reading