Posts

Complete Guide: Deploying Hugo to AWS Lightsail with GitHub Actions
reading time: 3 minutes

Deploying a Hugo static site to an AWS Lightsail VPS gives you complete control and excellent performance. Here is the step-by-step process we used to build and automatically deploy this blog!

1. Creating a Lightsail Instance

  1. Log into your AWS Lightsail Console.
  2. Click Create instance.
  3. Choose Linux/Unix and OS Only -> Ubuntu.
  4. Choose your instance plan (the $3.50/mo plan is plenty for a static site) and click Create.

2. Creating a Static IP

By default, AWS changes your IP address if you restart the server.