This is the first of a a two-article series, in which I will show you how I set my DHT11 sensor up at home, to collect Temperature and Humidity measurements using Python. In the second one, I will detail how I exposed those measurements as Prometheus metrics and displayed them in this beautiful Grafana dashboard !

Beautiful Grafana dashboard showing Temperature & Humidity of my living room.

The Hardware

Let’s look at the hardware required to make this project.


Photo by Gabriel on Unsplash

If you want to start a blog, but are unsure about the costs and complexity of hosting one, worry not ! Ghost is an open source CMS (Content Management System) that you can host 100% on your very own Raspberry Pi. This way you can keep hosting costs to a minimum.

In this article, I will show you how to install Ghost on your Raspberry Pi, using docker. I will also show you how to enable HTTPS traffic on your blog, using nginx and Letsencrypt certificates with certbot.

Prerequisites

To follow this tutorial, you will need:

  • A Raspberry Pi (of course)


Photo by Beatriz Pérez Moya on Unsplash

So today I was working on a parallel computing project, and used some remote machines with massive CPUs, huge amount of cores and so on. We connected to these with ssh, and ran our code there. While doing so, we needed to update our code quite often, and doing git push & git pull over and over again became quite tedious, as we wanted to iterate quickly on simple tasks.

Modifying files directly with vim was our first idea, and worked quite well for small changes. …


…or how I migrated from AWS to Azure !

Photo by Barth Bailey on Unsplash

So a couple months ago, i received an email from AWS, titled “Your AWS Free Tier Period is Expiring”. I was like “Oh dang, I just set everything up on AWS !”, so I started looking into the pricing for the paid account on AWS.I did not use many services on AWS, only a t2.micro RDS instance, and a t2.micro EC2 instance. These would have cost me about 25€/month starting March 2020. This is not too expensive, but being a student at the time, I did not have any revenue to…

Pierre Averous

DevOps enthusiast, curious about ever evolving tech. Currently working at https://padok.fr/.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store