Greg Heywood

UK based tech enthusiast. This is my blog.

Emailing AWS Cloudwatch Charts with Lambda

Cloudwatch is a fairly essential tool for AWS. There are plenty of other tools out there that can assist with monitoring, but you will probably need at least a basic understanding of Cloudwatch to get the most out of those. More so, you may want ensure you are getting what you can from Cloudwatch first.

Monitoring Your Home Freezer with a Raspberry Pi

We have an old freezer in the garage that has a checkered history recently. A few weeks ago, it looked like either it stopped working, or someone flipped a switch intside that stopped it cooling. Some food had to be thrown out, and it was a bit of a massacre. We turned it back on and it seemed to work OK again, but we didn't have a huge amount of confidence, so the obvious solution was to (finally) get a Raspberry Pi, a temperature sensor, and connect it up to the freezer. What we needed though was not just a record of the temperature, but some for of alerting for when the temperature went out above a threshold.

Editing your HOSTS file with Powershell for your AWS Instance

I have a Linux2 instance in AWS that I used for playing around with Python. I connect to it using Remote Explorer (which uses SSH) in VSCode which means I can do the Python bits on my own Windows 10 device, but the code actually runs (and lives) on the instance. All good, but I don't want to keep my t2.micro running all the time, and I don't want to have to keep editing the SSH target information everytime I stop and start the instance. Lastly, I don't want to pay for an elastic IP.