You may have figured out that the site has changed once again.
I did this once in 2016. I tried to move the site to Hugo. But I was frustrated with the need to run an EC2 instance.
I crafted a Terraform module that creates a full AWS publishing CodePipeline for a Hugo site to an S3 bucket.
Bye bye, Wordpress.