• Updated Hugo Site Automation Generator

    I’ve decided to finally go back and revamp my original hugo setup which can be found in the Hugo Site Auto Generated by Lambda post. The issue with that previous setup was if I had multiple posts (markdown files), the S3 event would trigger the lambda function as many times as the number of files uploaded, when I only needed it to run once after all were uploaded. My new plan was to publish the markdowns to github and have a lambda function trigger to pull the files and put into S3.
  • Solar Panel API Setup

    Description When I saw Enphase allows API connection to the data generated by the solar panels, I had to do something with it. This guide will describe how I setup and collect data to display on the Solar Data page. Because I have a limit on Enphase’s API calls, I collect the data from my solar panels through the API two times a day via a scheduled Lambda function which stores it in a DynamoDB database.
  • New Theme

    I finally got around to playing with Hugo Themes and making my own. I’m not a front-end developer and I wanted something very simple that didn’t take too much time to make. Used bootstrap and updated the colors and that’s about it. I also updated the logo to change the blue eyes to brown, but I don’t think the CDN has picked up the changes yet. I have yet to make images for the posts, they will just stay the defaults for right now.
  • Internet of Things - Programmable Amazon Dash Button

    I was curious about the programmable Amazon IoT Dash Button and pre-ordered two buttons, thinking I might program one to give to my dad. A few weeks ago it came in (three months earlier than expected) and went through their tutorial, which sends an email with a different subject based on how you clicked the button (single, double, long). *It looks like they’ve updated that tutorial since, and will send you a text instead of an email.
  • Magic Night Project - Part 2: Slack Slash Commands for GitHub Pull Request Actions

    Description When a custom Slack command is triggered, the corresponding command will change the state of a GitHub pull request. A magic night project provided by AWS User Group Hosted by MindTouch. Tools used in this project Slack: smylee.Slack.com GitHub: GitHub.com/smyleeface/shiny-palm-tree Amazon API Gateway, Lambda, IAM > Roles, Encryption Keys AWS CLI Prerequisites GitHub Pull Request Alert on Slack (Magic Night Project - Part 1) The AWS CLI installed with a user and valid API key with an authorized user to run the kms command before continuing.
  • Magic Night Project - Part 1: GitHub Pull Request Alert on Slack

    Description When a GitHub pull request is made, it will trigger an alert on Slack. A magic night project provided by AWS User Group Hosted by MindTouch. Tools used in this project Slack: smylee.slack.com GitHub: github.com/smyleeface/shiny-palm-tree Amazon API Gateway & Lambda Slack Setup Setup a Slack team if you don’t have one to use. Create a new channel (or skip this step to use an existing channel that the messages will appear.
  • Hugo Site Auto Generated by Lambda

    Description Static HTML site generated by Hugo site generator. When the content directory in S3 is changed, a Lambda function will trigger Hugo to update. Tools used in this project https://github.com/spf13/hugo/releases https://gohugo.io/ Amazon API Gateway, Lambda, S3, Route 53, CloudFront Prerequisites A domain name (example.com) Setup the Domain Name Route 53 Create Hosted Zone > Domain Name > Public Hosted Zone Add Name Servers to your registrar Create S3 Buckets example.
  • It WORKED!

    My Site is Now Using Lambda!! Attempting to revive my site after letting it go again. Drupal was too heavy for what I wanted to do with it. Robert told me about Hugo Static Site Generator and it’s very easy to use and lightweight. I’m stoked that the site is finally up and running. All I have to do is make these simple markdown page and upload to an S3 bucket.
  • AWS Lambda

    This post should be created with Lambda After a couple days of setup and coding this is my first attempt at getting Lambda to execute a python command that will run Hugo and update the website.