Posts
Complete Guide: Deploying Hugo to AWS Lightsail with GitHub Actions
reading time: 4 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 I used to build and automatically deploy this blog! 😎
1. Creating a Lightsail Instance
- Log into your AWS Lightsail Console.
- Click Create instance.
- Choose Linux/Unix and OS Only -> Ubuntu.
- Choose your instance plan (the $5/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. We don’t want that. 😁