Host WordPress on AWS using Amazon Lightsail

Ivan Radunovic
Host WordPress on AWS using Amazon Lightsail

Amazon Lightsail is tool on top of AWS which helps to manage underlaying resources in an easier manner. In this tutorial I’ll go step by step and install my WordPress site on Amazon Web Services infrastructure.

From my console I’ll search for Lightsail:

AWS Console searching for Lightsail
Searching for Lightsail

Creating an instance

First look at Lightsail panel and I am relieved, it’s not complex.

Lightsale form for creating new instance with WordPress application.
Lightsail panel

I will choose Linux/Unix as a platform and WordPress under blueprints.

I see that they use Bitnami for deploying WordPress 😬 last time I tried Bitnami it was pretty bad experience. I hope this one will be different.

Default instance size seems fine to me, $3.5 is cheapest intance so far on WPJack. Plus I am getting first 3 months for free and free tier of $300 for the first year, so it’s actually costing me $0.

Choosing instance size, I've choosed the smallest one which is 512MB of RAM and 1 vCPU, for $3.5 a month.
Instance plans

I only need to enter some unique instance name and hit Create instance button.


Instance is now ready. I am hoping I will be able to configure domain name without too much effort.

My instance is ready and I can access it through active instances panel inside Lightsail.
New instance is ready

When I click on this instance I am presented with this:

Inside my instance details I can see a number of important options.
Server details

It seems some manual action is required. Too bad.

This green alert is linking to Quick start guide: WordPress on Amazon Lightsail.

From their quick start guide I see a couple of issues. First newly added IP address is not static, it will change each time my instance is stopped. Which mean if I don’t add that static IP I’ll need to update my DNS records all the time, and that’s not good.

Attach static IP

I opened Networking tab and from there I’ll click on Create static IP link under current IP address.

I am creating a static IP for my instance.
Instance IPs

Create static IP page:

I am going with the detault IP location, but you can choose any other available.
IP page

Everything looks good I only entered unique IP name. After approving this action my instance got new IP address and it’s automatically attached.


I thought I’ll see some option for adding my domain after attaching this static IP, but I don’t see it.

They have dedicated tutorial for attaching domain to Lightsail instance, which is insanely complicated. You can visit Create a DNS tutorial here.

I don’t understand why they complicated this so much. I will write a separate tutorial on this and link below.

Install WordPress on any Cloud. In under 5 minutes.
Supports Linode, Digital Ocean, Hetzner and Vultr.
Free Tier includes 1 server and 2 sites.
Sign up today