Skip to main content

Posts

Pulumi

Pulumi is another IaC tool. Unlike Terraform, where you can only use HashiCorp Language, Pulumi allows you to use Javascript, Python, and more, I used Javascript.   Projects are, by the documentation's own definition, analogous to a github repo. A stack is a bit of code with a separate config.  Pulumi has a different kind of process to me, so these notes may be a little more scattered as I try to pull parallels for us all to understand. I do like how you can check the output of resources pushed to AWS; See the following code; ``pulumi stack output bucketName`` To me, bucketName acts as a variable with an assignment; In that stack (particular bit of code), it's assigned with the name my-bucket-[randomstring] . I can also see it with the View In Browser feature that comes with the Pulumi Visual Studio Code extension. I uploaded a local index.html file to my Pulumi-made bucket using YAML. I'm not sure if that can be done with Terraform, but this was very cool. If your VS Code ...

Automating Posting from Blogger to LinkedIn via Zapier

 More Zapier work!   Blogger does not have a Zapier integration (being...almost 30 years old wow founded in 1999!!), but there is a work around; Using an RSS feed.   Zapier has an RSS trigger, so it was a few steps to go  "Look at the RSS feed instead."  I can also select the information to show;   If it works, this post should be shared to both my business page and my personal LinkedIn page 

Azure Update Manager

 The Azure version of AWS Systems manager. A lot more finnicky. Most of my Azure resources are pushed through terraform; nice to see the new variety of options here; r  Quick Specs, so we can get down to the Manager: Ubuntu Server 1 Availability Zone (You can now select multiple)  No accelerated networking  Here's what it looks like when we have a compatible VM; Some of them aren't yet compatible with Update Manager; Here is the configuration and schedule setter. And when confirmed, it appears at the bottom of the 'Create a maintenance configuration' screen; Update schedule in Azure Update Manager set! But you have to hit Review + Create below to save it. Under All resources, we can see this; (It says 'BiWeekly' [the name of the configuration], Maintenance Configuration ,Resource Group: Home) But the actual deployment setting failed for some reason. Not to worry, since this exists, lets see if I can put the resource in the group of the deployment schedule. Not t...

A 3-Tier Architecture in AWS

   I blanked when an interviewer asked me "Can you describe a three-tier architecture?"   So I decided to solve that problem.  After looking at several infrastructures, I found one to copy  using Terraform -- but the more I looked, the more questions I had.  First up: Why is there an empty public subnet? I first asked people on this post.  Then, I asked Chat GPT (CGPT) and Google Gemini without sharing the code.  Using publicly available and free to use SVGs for AWS diagramming, diagram this infrastructure.   My mindset on AI is this: I do not want to see AI generated images that were trained on unsuspecting and non-consenting people's artwork.  I personally am fine with it in a technical department (Though I think making it consumer - and even business - grade was a mistake). A public set of images for free use? Okay.    Here is the first iteration of the diagram ChatGPT's output;     CGPT didn't initially understand...

Automating Invoice Sending with Zapier

Imagine being a consultant; You charge 50$ an hour. You are booked and busy, so you plan to bulk-send invoices at the end of the day.  But you're tired. So you put it off.  You're not paid, and people are waiting in limbo.  An easier way to manage invoices is doing it automatically - but how?  My idea? When the 1 PM meeting on the calendar has concluded at 1:00:01 PM, the calendar triggers your payment processor to send the invoice.  Here is that thought process....  My initial idea was: [Calendar program marks complete]---> AWS Lambda triggers event --> Square Invoice API -- Invoice sent.  The next question was:  APIs or webhooks?  Probably webhooks from calendar to lambda to prevent constant retrieval. Webhooks operate when an event happens.   Followed by: Do we need Lambda? Can we go directly from calendar program to Square invoice API?  That was a yes; and Zapier came in clutch.  Connectivity was easy after ...

AWS: Uploading a Static Website

 Note; This post is using an older GUI, so while the steps may have minor changes, it no longer looks like this. I've made S3 buckets with Terraform more often than I've used this. I'm posting it anyway.  Have an oldie but a goodie. I'm working on an AWS three-tier architecture project, and it's easier to follow along via updates on the necessary nuisance that is  LinkedIn . Video . As loyal readers know, hosting static websites is not something I am unfamiliar with . Now, I can host it on AWS in another attempt to show what I learn here. It's easy once you've done it a few times. First, go to your AWS Management Console, then to S3. Create a bucket. When you approach the Block Public Access Page (So no one can reach via the internet), uncheck the top box, so people can reach it. The above video looks quite different (@7:42); Manage public permissions with a drop-down menu seems to have changed to this nested checkbox system. Follow the ...