Deploying Hugo Websites to AWS CloudFront and S3 for Faster Content Delivery
A new way to deploy my hugo websites
A simple and cost-effective approach to deploying Hugo projects to AWS CloudFront.
I have and still do use services like AWS Amplify and Netlify to automate my CI/CD pipeline for many of my projects, triggered by a GitHub check-in and running in GitHub Actions. However, for a recent photography project that involved deploying a large number of files, storing everything in GitHub wasn’t feasible. I needed a solution that was simple, affordable, and delivered high performance. That’s when I decided to use AWS CloudFront with an S3 bucket, integrated with an SSL certificate generated through CloudFront.
Why AWS CloudFront?
Tarragon Beets Salad
This was an attempt to copy a salad from Bristol Farms. I ended up modifying it quite a bit from the initial ingredients.
Latest stuff
Jet Pets
Private dog friendly open space
Jet Pets is an animal transportation company located in Playa Del Rey very close to LAX. They have a large field on their property that is fenced in and they keep it open most days and allow you to walk your dog there.
Ballona Creek Bike Path
Part of Park to Playa Trail
The Ballona Creek Bike Path parallels Ballona Creek while connecting the Pacific Ocean at Marina Del Rey with Culver City. The trail connects with a beach path that continues south to Redondo Beach while at the north, Dusquesne Avenue connects the bike path with the eastern portions of the Park to Playa Trail.
Ballona Wetlands
Ecological Preserve
Ballona contains a complex mosaic of habitats defined mainly by hydrology, including wetland habitats, such as brackish and freshwater marshes, seasonally flooded freshwater wetlands, salt pans, riparian and upland habitats, like coastal sage scrub and sand dunes. Many wildlife species, especially birds, utilize more than one habitat type – thus the juxtaposition of these habitats next to one another, also known as heterogeneity, which is important for biodiversity.
Oberrieder Dog Park
The happiest place on earth
Oberrieder Dog Park is a large, partially shaded woodchip covered enclosure for dogs and humans to relax and enjoy the company of other dogs (and humans). It is next to a beautiful walking path along the oberreider wetlands with views of the bluffs under LMU. This path easily connects to the Bluff Creek Trail for the back half of a 4.5 mile loop.
Adding Leaflet to Ryder Theme
I made this quick and easy shortcode to get started using leaflet.js in the Ryder Theme for Hugo Websites, as I add more features supported by leaflet to the shortcode I might update this page.
Book Store Sample Data
Example
I just followed the example here on the hugo docs to set up the simple books demo, but I intend to use this new feature to build out some great new dynamic content for content marketing purposes, such as lists of top products.