Cloud Confusing

Explaining hosting, AWS, Wordpress, static sites, and all manner of cloud solutions.

If you are looking for an explainer on S3 redirection rules, you are going to have a tough time finding a good one. While information on redirection rules is available from all over, no one source (including Amazon) is even close to complete. Then outcomes don’t always match exceptions. Welcome to cloud confusion!

This guide should help with some of your S3 redirection questions. At the very least it’ll cover the major concepts and get you on your way to having a static web site with properly working 301s, 302s and other such options.

(more…)

September 10th, 2019

Posted In: AWS

Tags: , , ,

It turns out that staring at back-lit computer monitors for 40+ hours a week might not be the best thing for you. With this in mind, many of us have started to look towards alternate technologies, largely e-ink. It’s a nascent market with a limited number of products for sale, and new products are slow to be released, but this is an important technology nonetheless. I’ll be tracking it closely on this page.

Here are the basics and some help choosing your first e-ink computer monitor.

Last Updated: 9/10/19 – Finally some big news! The Onyx BOOX Max3 e-reader has been announced and is ready for sale. This device is billed as an e-reader, but it’s actually a whole lot more than than. And, yes, it’ll work as a monitor. More information below.

Last Updated 6/17/19 – It’s summer 2019, time for another update! Unfortunately news from Q2 2019 has been very limited and the Paperlike Pro remains the best game in town. The Boox Max 2 is still a viable buy as well, but still has many flaws. This category has (un-officially) entered a stall, but the good news it that we know e-ink monitors are on the radar of some major players, like Benq and Lenovo.

(more…)

September 10th, 2019

Posted In: Localhost / Environment

Tags: , ,

Sometimes you have a bunch of .csv files, but you’d like to have one big .csv file. You can merge them in Excel, Google Sheets, or something similar, but that’s slow and error-prone. Plus, you might be dealing with something like a zip code — which starts with a zero — which is annoying to deal with in Excel.

So what’s a better solution?

(more…)

September 7th, 2019

Posted In: Localhost / Environment

Tags:

This won’t be an interesting topic for most people, but it will sure come in handy for a few of you! So you have a website setup on Route 53 and at some point in the past you pointed the name servers off to whatever your hosting solution was at the time. Now you want to do something else with that domain (maybe build a static site on S3) and you need your original Route 53 name servers back. But… what are they?

(more…)

July 24th, 2019

Posted In: AWS

Tags: ,

Google Tag Manager (GTM) has a lot of built-in variables, but the list is by no means complete. And what’s annoying about the built-in variables is that they are not fully customizable, so sometimes you need to build off of them. This can only be done by digging into GTM a little and writing some custom JavaScript.

One of these circumstances is when you want to store the query string parameter from a clicked URL. This is a slightly strange request because the UTM or query string parameter are generally for the downstream site, but you might want to store it nonetheless. This should be easy because:

  • GTM lets you easily store a query string parameter of the URL of the page you are on.
  • GTM also makes it easy to store the full URL of the destination page of a URL that get clicked.

… but if you want a param from a clicked URL? Time for a custom Javascript variable.

(more…)

June 21st, 2019

Posted In: Google Cloud Platform

Tags:

Ever wonder: when does AWS CloudWatch run rate events? I had this same question when I started using CloudWatch as a trigger for the Lambda job that backups my Lightsail instances.

Basically I had created a few events an told them to run once a day. That’s great, but when would that be? Rate events are not like cron events where you set a time and they run at (or very close to) when you specify. After all, you are simply saying “run once a day” not “run exactly at 01:14 UTC every day.”

(more…)

June 10th, 2019

Posted In: AWS

Tags:

Amazon’s Lightsail is a great option if you want affordable hosting and the power of a virtual private server (VPS), but the lack of cost means a lack of convenient features. One of the most glaring of these missing features if Lightsail’s complete lack of automated backups. This is a glaring oversight for Lightsail and it’s especially odd given that Lightsail has a built in — and very easy to use — snapshot tool.

How to: Cheap WordPress Hosting with Lightsail

Lightsail snapshots are one-click backups of your entire instance, which are better than simple backups, but there is no way to automate them through the Lightsail UI.

Using Amazon Web Service’s API and AWS Lambda you can automate Lightsail snapshots without much difficulty. In fact, thanks to a good web Samaritan the code is already done, so you just need to do the setup on your AWS account.

(more…)

May 16th, 2019

Posted In: AWS

Tags: , ,

One of the best things (OK, the best thing) about development with WordPress is piggybacking on the available plugins. If you are doing custom development chances are that a plugin probably wasn’t made with your specific use case in mind, so it’s often necessary to some work to get the plugin’s functionality and your goal to match. With that in mind, you have probably recently asked yourself, “Can I use a WordPress shortcode in my theme, as opposed to just inserting it into the text body?”

Good news,: you definitely can.

(more…)

May 3rd, 2019

Posted In: Web Development

Tags:

Amazon’s Lightsail is affordable and easy-to-use, but it comes with some serious limitations. Hidden away in the middle of an FAQ page Amazon notes that Lightsail accounts are limited to:

  • 20 Lightsail instances
  • 5 static IPs
  • 3 DNS zones
  • 20 TB of attached block storage
  • 5 load balancers

Which one of these is probably going to be the most immediate problem? That’s right, the 3 DNS Zones. Don’t worry, this is easy to fix.

(more…)

April 18th, 2019

Posted In: AWS

Tags: ,

It’s been said many times that you can’t know where you’re going if you don’t know where you’ve been. It’s not exactly clear that this is true of computing but a little bit of context never heard anyone. Plus, let’s face it, knowing a thing or two about history makes you seem smart.

So, without further justification or caveats, here are some highly recommended books about the history of computing.

(more…)

April 12th, 2019

Posted In: Leisure

Tags:

Next Page »