Preparing Hardware

Let’s start from the very beginning, as I did not use my Raspberry Pi for quite a long time.

We will need:

Raspberry Pi board (or other IoT-oriented platform).

SD or microSD card (depending on the platform).

5V/1A via micro-USB.

LAN cable, which provides the Internet connection.

HDMI display, RCA display, or UART port (to enable SSH).

The very first step is downloading Raspbian. I’ve chosen the Lite version, as I’m going to use SSH instead of display.

Things have changed since the last time I did it: now there is a great burning software called Etcher, which works perfectly, and has a stunning design.

Etcher — Image Burning Process

After the image burning was completed, I inserted the SD card into my Pi, plugged the LAN and power cables in, and after a while, my router registered the new device.

Router Stats

Great! Let’s go on and SSH into it.

Connecting to a Raspberry Pi using PuTTY

No way! SSH is disabled by default

Security is OK, I like it, but this makes things a bit harder. I’ll use UART-USB adapter to access the shell and enable SSH…

Connect a UART-USB Adapter to the Raspberry Pi

Using a display instead of UART makes it much easier.

Enabling SSH Server

After rebooting, I’m finally in.

Successful Connection to the Raspberry Pi using SSH

First things first, let’s update:

sudo apt update && sudo apt upgrade -y

Now let’s connect this fresh device to the Cloud.