Anxiety Reducing Music

Posted: March 16, 2017 in Uncategorized

According to researchers at Mindlab International in the U.K., the music “Weightless” by Marconi Union promotes a high reduction in anxiety. Check it out…

We currently run some magnetic EBS volumes for data storage accessed by EC2 instances. Last month AWS announced the availability of Live Volume Modification with Elastic Volumes on EBS. This would enable a volume to expand while being in-use. Where as before you’d have to schedule downtime.

Live Volume Modification is almost a must-have feature for the web servers we run to be cost efficient and reduce any downtime. I have also noted that EBS Magnetic Volumes are now considered “previous generation” technology. (AKA: silent deprecation, just like reduced redundancy S3)

modify-disabledI attempted to expand a magnetic volume on a m3.large instance but found that the modify link was disabled. After a forum post, and the helpful reply from AWS, I found that previous generation magnetic volumes can not be modified while live.

This feature is too important and we will be moving to a SSD volume type instead to enable this feature. However it remains to be seen what restrictions we may have. Documentation states: “Current generation m3.medium instances fully support volume modification. However, some m3.large, m3.xlarge, and m3.2xlarge instances may not support all volume modification features.”

See more information at “Considerations for Modifying EBS Volumes

Forum reference:

I recently found myself in a position of having the learn about heat pumps. I house I recently bought had one installed with auxiliary electric heat. What this means is that the house will heat up using the heat pump outside first. If it can’t catch up it will use the auxiliary heat to supplement. My auxiliary heat is provided by electric coils installed above the A-Coil in the air handler. But getting heat from the heat pump is about 300% more efficient than electric coils even though it will be on longer. Therefore we want to use the heat pump over auxiliary heat for cost reasons. This is called a “single-fuel” system. From what I understand, if the air handler has gas heat instead, this would be called a “dual-fuel” system.

While researching different aspects of the heat pump, I noticed that the blower was always on. Searching Google I found most people said this was normal. Though I thought it was odd. Why would it be blowing when the heat pump and coils are off?

When we had a few nice days, I decided to turn the heat off. But yet the fan still ran. This I know is not normal. Once I removed the head unit of the thermostat I found the batteries badly corroded. The electronic board was likely shorted out on the fan circuit.

I’ve been interested in getting a smart thermostat like Nest or Ecobee and have been indecisive. But now that I needed a new thermostat and the fact that I’ve got Nest Protect units installed, I decided to stick with the Nest ecosystem. I find Nest to be like Apple. Quality products but they really keep you inside their proprietary eco-system. But I decided to go with it anyway.

I have an American Standard system with an American Standard LCD thermostat. What got tricky was the B wire, which Nest has an O/B slot and the X2 wire, which Nest does not have.


From my understanding this is what each wire does:

X2 : Black : Turns on another set of standby electric coils for emergency heat
W1 : White : Turns on electric heat coils
RC : Red : 24V AC Power Hot
O : Orange : When on, reverses the heat pump valve to go from heat to cool in the summer
Y : Yellow : Turns on the heat pump compressor
G : Green : Turns the fan on (in my case, on low)
B : Blue : 24V AC Power Common

Inside the air handler, the following wires a hooked up to the following codes:

Black : W2 & W3
White : W1
Red : Bk
Orange : O
Yellow : Y
Green : G
Blue : Bk


Needless to say, there really needs to be a better labeling or coloring system. In fact, thermostats should really go towards an IP system and use an Ethernet cable.

After calling Nest, after I figured out that it thought I had dual fuel instead of single-fuel, I figured out that black goes to * and is programmed for emergency heat. (* can be used for emergency heat or humidifier circuit) The blue wire becomes C.

Let me say that Nest support was awesome. I could talk with a clearly spoken woman who worked in Oklahoma and took the time to understand, address, research and resolve my issue promptly. She sent me an email to reply back with photos of the original thermostat wiring and my current wiring on the Nest which helped things along. Their number is 1-855-469-6378.

Here is how I now have my Nest 3rd Generation thermostat wired and working:

Y1 : Yellow : Turns on the heat pump compressor
G : Green : Fan
O/B : Orange : When on, reverses the heat pump valve to go from heat to cool in the summer
Rc : Red : 24V AC Power Hot
W2/AUX : White : Turns on electric heat coils
C : Blue : 24V AC Power Common
* : Black : Turns on another set of standby electric coils for emergency heat



After I got the corrected wiring, I went into the pro settings and switched it from dual-fuel to single-fuel. At that point in time the Heat Pump Balance option showed up. I started with “balanced”, but that seemed to aggressive still. So for now I have “Max Savings” on with “Early-On” turned on to 5 hours.

Note: System and wiring vary widely. This is a reference only to my specific system and wiring. Yours likely varies. Professional installation recommended.

Attach AWS IAM Role to Existing EC2

Posted: February 10, 2017 in Cloud
Tags: , , ,

It has always been one of my pet-peeves that I had to attach an IAM role to an EC2 instance just in case I’d need it in the future. The reason was you couldn’t attach one later.

Attaching a role allows API access to AWS from your instance w/o having to inject API keys, which reduces security and maintainability (you’d have to remember to change out the keys when rotating keys).

AWS has now announced that you can attach an IAM role to an exiting EC2 instance.

  1. Create an IAM role
  2. Attach the IAM role to an existing EC2 instance that was originally launched without an IAM role.
  3. Replace the attached IAM role.

AWS Reduced Redundancy S3 Depreciated

Posted: February 8, 2017 in Cloud
Tags: ,

Stop using Reduced Redundancy S3 storage (RRS) on AWS now. Starting price for RRS is now $0.024 where as standard S3  starts at $0.023.

This caught me off guard today as I use RRS for backups due to what used to be an approximate 33% savings over standard S3.

For me using Glacier for backups is out of the question due to the waiting period necessary to get files.

There is also the newer “Standard – Infrequent Access” storage type for S3. This is a good option for storing perhaps a system image when doing backups, however for what I normally backup, which are small website files, this likely won’t be a good fit either. Each file has a minimum storage bill of 128KB. The math and gamble required likely won’t be worth the effort.

So for now I’ll likely be switching to all standard S3 storage for backups. I don’t use S3 for much else other than EC2 snapshots and temporary file storage for migrations.

hp27erI recently replacing my aging monitor setup at the office with a few HP 27er monitor displays. I run these on a MSI Gaming 3 motherboard running Windows 10 Pro. They look amazing, but unless they are functional they are worthless right?

I noticed what seemed to be random flickering to a black screen for a second. After a process of elimination it seemed it was a specific power brick, likely not supplying enough voltage/amps. I even got HP to send me a new power brick (that was a nightmare).

However today broke that theory. I then was able to reproduce the issue by scrolling through Facebook quickly using the scroll wheel on my mouse. I then installed the specific drivers from the HP site, which still didn’t fix the issue.

After some further research I found the issue lied in Google Chrome’s Hardware Acceleration feature. This appears to happen to a number of HP displays such as the 27xw as well.

To resolve my issue I took these steps:

  1. Open Google Chrome
  2. Click the three circle dots in the upper-right
  3. Click settings
  4. Click “Show advanced settings”
  5. Turn off System > “Use hardware acceleration when available”

Now while scrolling through Facebook quickly the issue is no longer reproducible.

Not sure if this is a Chrome issue, video card issue or monitor issue, but I wish HP would figure out a fix with Google.

We have a ColdFusion 11 server hosted on Amazon’s Web Service (AWS) Elastic Compute Cloud (EC2). We subscribe to the Adobe ColdFusion 11 license on a monthly basis using the Amazon Machine Image (AMI) Store.

We are still migrating sites to the EC2 instance and it is still in its infancy. What we noticed was that the log files were getting large quite fast with these entries:

License Error.You tried to access the Developer Edition from IP address ( Already two IP addresses are accessing ColdFusion concurrently. The Developer Edition supports access by any IP address, but only two at a time, apart from the localhost. The additional IP addresses accessing ColdFusion are:, The specific sequence of files included or processed is: C:\ColdFusion11\Main\wwwroot\CFIDE\administrator\templates\secure_profile_error.cfm”

This meant that only two distinct visitors would be able to view our production sites at any given time. The license is supposed to be a Enterprise level license which can support very large traffic. But instead the license reverted to developer edition without warning.

The way I was able to resolve this issue was to send an email to I included my AWS Account number. I also ran this issue by the “Adobe” CFML Slack Channel. Here was the timeline (Central Time):

8:12 PM: Posted issue on CFML Adobe Slack channel
8:21 PM: Emailed
11:15 PM: Anit Kumar responds to Slack from home
12:10 AM: Anit Kumar responds via email with new .jar file
12:38 AM: Server now on Enterprise license correctly

Here were the steps taken to apply patch:

  1. Navigate to the \ColdFusion11\cfusion\lib and search for “cfusion-req.jar”.
  2. Stop the ColdFusion Service.
  3. Take a backup of this original jar file and delete it. Renaming the jar file, will not help.
  4. Rename the enclosed cfusion-req.jar.123 to cfusion-req.jar and save it on the location mentioned in Step 1.
  5. Start the ColdFusion Service.
  6. Check the Edition by clicking on the System Information (“I” icon on right hand side top).

Anit said we could just apply the patch to the cfusion instance, however we ended up applying it to it and another CF instance while waiting for a response.

When we asked Anit what the issue was, this was his reply:

This was an issue with Amazon side and is very sporadic in nature. We have fixed and merged this in CF2016 AMIs on Amazon.