Static website hosting

Hosting a static website from an S3 bucket

Introduction Hosting a static website on AWS provides a scalable and cost-effective solution with high availability. In this guide, we’ll walk through the entire process, from setting up an S3 bucket to configuring CloudFront for CDN and HTTPS with a custom domain, and finally, integrating a CICD pipeline using GitHub Actions. Step 1: Create an S3 Bucket Navigate to the S3 service in the AWS Management Console and click on “Create bucket” and enter a unique bucket name (all S3 buckets across all accounts must have a unique name, so you may need to try a few names before you find one that’s not taken)....

26 July 2024 · 10 min · Toby Scott
Sybnology logo banner

Pulling images from GitHub Container Registry in Synology Container Manager

I have a Synology NAS which I’ve recently started using to run Docker containers using Synology’s Container Manager. Until now, the images for all the containers I wanted to run were available on Docker Hub. I’d use Synology’s Container Manager UI to pull the image and start the container and it’s been quite a nice experience until I needed to run a container from an image hosted in GitHub’s Container Registry (https://ghcr....

29 June 2024 · 2 min · Toby Scott
GitHub

Authenticating Git and GitHub CLI over SSH

Prerequisites Install GitHub CLI if you haven’t already brew install gh Check that you are logged out. gh auth status You are not logged into any GitHub hosts. Run gh auth login to authenticate. If you’re still logged in, logout. gh auth status github.com ✓ Logged in to github.com as tobyscott25 (keyring) ✓ Git operations for github.com configured to use https protocol. ✓ Token: gho_************************************ ✓ Token scopes: gist, read:org, repo, workflow gh auth logout ✓ Logged out of github....

8 January 2024 · 4 min · Toby Scott
Kubuntu desktop screenshot

Configuring Kubuntu

Until recently, Arch Linux has been my daily driver. I love the rolling release model and you really can’t fault the AUR. But always getting the latest features and patches is a double edged sword because along with those benefits come the latest bugs and issues. I considered the benefits to outweigh the short comings up until one dreadful day… # Updating my system with an AUR helper as per normal paru # Things started playing up so I restarted my machine sudo reboot now And my system was bricked....

7 November 2023 · 4 min · Toby Scott
Touch ID on MacBook

How to configure Touch ID to authorise sudo commands on macOS

The other day I was watching one of NetworkChuck’s recent videos where he was running through a bunch of shell commands for Mac, and one stuck out to me in particular… The ability to configure Touch ID to authorise sudo commands! 🤯 Edit the following file: sudo vim /etc/pam.d/sudo Add this line auth sufficient pam_tid.so to the top of the file, below the comment. It should look something like: # sudo: auth account password session auth sufficient pam_tid....

8 February 2023 · 1 min · Toby Scott