In 2013 I went to the iOSDevUK conference that takes place every year in Aberystwyth (Wales). At that conference, I went to an Arduino Workshop where I had the chance to play a little bit with an Arduino board. Since then, I’ve been thinking about buying either an Arduino or a Raspberry Pi to play with them.

Well, seven years later I finally decided to buy a Raspberry Pi and do something with it. After I made the decision, I spent a few days thinking about what I would build with it before actually buying it. I didn’t want it to be another thing that ends up at the bottom of the drawer 🤔.

On April 13th this year I started a new job as a DevOps Engineer at Platform161. A new job means new tools and new challenges so I need to get up to speed with Ansible, Prometheus, Packer and Google Cloud Platform. And these are just the most important applications that are new to me. We are using Jenkins and we have plans to start using docker shortly (that’s what they hired me for 😋) but learning the new staff is the big priority now.

So I decided that my first project with the Raspberry Pi was going to be:

  • Buy it.
  • Configure it and provision it using Ansible.
  • Install and configure my Jenkins, that is now running in my laptop, in the Raspberry Pi.
  • Use the Jenkins installed in the Raspberry Pi as master and run the jobs in agents running in Google Cloud Platform.
  • Install Prometheus and use it to monitor some old projects that I have still running.

Once I manage to get Jenkins and Prometheus up and running, which means actually doing it, I’d like to connect it to a WebCam so I can see my cat and my dog, create a VPN, and do something cool with the integrated GPIO (whatever “something cool” means).

But let’s start with the beginning…

The Hardware

After doing some research, this is the hardware that I bought. Disclaimer: I’m using the links to the place where I bought the stuff. You will see that most of them point to PcComponentes, a well-known e-commerce site here in Spain. Why? They have good products at good prices, good support by phone and email, and mainly because it’s here in Spain and I don’t want Amazon to get all my money (even though I have Amazon Prime and buying stuff in PcComponentes means that I have to pay a few extra Euros for shipping)

After I had all the hardware, the first thing I did was follow the documentation to install Raspberry OS in the SD card and boot the Raspberry. But that will be another post…