-
terraform
Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
version: 0.2 env: parameter-store: {} phases: install: commands: - echo Install dependencies... - yum -y install git - echo Downloading Hugo ${HUGO_VERSION} - wget -q https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz - echo Extracting Hugo binary - tar -zxvf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz hugo - mv hugo /usr/local/bin - rm -f hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz finally: - echo Installation done build: commands: - echo Entering the build static content phase - echo Build started on `date` - cd $CODEBUILD_SRC_DIR - git submodule init - git submodule update --recursive - /usr/local/bin/hugo - ls -la public finally: - echo Building the static HTML files has finished post_build: commands: - echo Entering the publish content phase - /usr/local/bin/hugo deploy --maxDeletes -1 --invalidateCDN - echo Publishing has finished artifacts: files: [] cache: paths: []
As already pointed out all this is created as Infrastructure as Code (IaC) with terraform. I should mention that I took a shortcut here and instead of writing my own code to do the task I went up using Nickolas Armstrong's code, with a few changes some additions from me. If you are starting from scratch his repo is quite useful and could be used as is. However, I already had a state bucket with encryption and logging enabled, so I haven't used that part of the code.
When I decided to resurrect my personal blog a couple of months back I was pretty sure that I want something fast and small that won't require time to maintain. This narrowed down my choices to the static site frameworks like Hugo and Jekyll. As the latter is built on Ruby, which I'm not a big fan of, Hugo took the crown.
Related posts
-
Craft Your GitHub Profile Page in 60 Seconds with Zero Code, Absolutely Free
-
Any FOSS to make HTML websites for self-hosting?
-
Would you use Terraform to manage a blog?
-
Any free alternative to Dreamweaver?
-
I am trying to create a STATIC blog for a long time but I am stuck with where to store all these files.