I’ve created a new demo site for displaying my past and current development projects. If you’d like to see some of the APIs, npm packages and other serverless-related fun you should check it out.
Where to Host a Twitter Bot
A while back I created the Daily Patent. A Twitter bot that gets a random patent and tweets it out periodically. I started by hosting this on a Google Cloud virtual machine but eventually decided to look for something more suited to this kind of task.
Here’s my review of several places you can run a simple Twitter bot.
Redshift Epochs and Timestamps
I’ve noticed that I end up looking for the same small subset of Redshift time-related conversion operations when I need to do things like change epochs to timestamps, deal with timezones or manage time ranges. To save myself some time I decided to throw them all into one post that I can reference later - I’m also hoping these will be useful to others who find themseleves interacting with Redshift.
New AWS Profile Switcher
I recently wrote a script that switches your AWS default profile. After coming back to it a few weeks later I realized I could make it more elegant by relying directly on the ConfigParser library to modify the configuration instead of doing a line by line search and edit.
Serverless Domain Forwarding with AWS
I recently splurged on a vanity domain that I realized I didn’t have time or interest in developing into a full-blown blog or microsite. Because of this I decided it would just be best to redirect it to this blog.
The problem is that I’m too cheap and lazy to pay for and manage a small server running Apache or Nginx. This can be a perfectly good option, but the last thing I want is to waste time on server management/config just to forward a vanity domain.
Instead of paying for a dedicated server for this task I opted to use AWS S3 and Route 53 to forward my domain for me. These cost me a fraction of the price of the smallest rentable EC2 instance. It also means that after I get it setup I never have to deal with the pains of configuration or server management.
Here’s how you can setup your own vanity or typo domain forwarding without paying for a web server.