Skip to main content

Completing a Coursera Specialization for Free

Coursera provides continuing education just like Udacity and offer the full learning experience that I am accustomed to, including lesson videos, reading materials, projects, discussion forums, and graded projects which are peer-reviewed. I recently completed the Full-stack Web Development in React specialization from Coursera, all for free. It’s called a specialization because it is made up of three courses below each with their own certifications and which takes 4-6 weeks each to complete: 1. Front-End Web UI Frameworks and Tools: Bootstrap 4 2. Front-End Web Development with React 3. Server-side Development with NodeJS, Express and MongoDB I started the program in December 2021 and finished it in June 2023 however. The intent of this post is to explain how I was able to fund the entire specialization for free. In December 2021, I read on social media that Coursera allowed for one free course per year if you were a student and had an email address from a partner school. I gave my stu

What Docker Image for GO works on a Raspberry Pi 3 running Kubernetes k3s orchestrator?

I applied and was recently awarded a Cloud-native Application Architecture scholarship by SUSE and Udactity. There were about 12,000 scholars all over the globe who took part in the course made up of 5 lessons in 2 months, with phase 1 ending August 2, 2021.

One of the exercises was to run Docker Desktop on my Windows 10 computer and build a docker image alpine:golang which will run a web application and display the infamous Hello World. I uploaded this docker image to my Docker Hub registry for use in a Kubernetes cluster. We needed to install Oracle VirtualBox, Hashicorp Vagrant, and run Kubernetes k3s cluster https://k3s.io/ to host this docker image. This worked well on my computer but I wanted to try the same exercise on my RPi which had a lot less resources and wanted to see how well it worked there.

I have a Raspberry Pi 3 running Raspian OS with 32GB of disk and 4GB of memory. I connected the RPi via wifi on my local LAN and have opened up an SSH session to it. First I install k3s by running "curl -sfL https://get.k3s.io | sh"


Next, I pick an ARM image with alpine:golang, but this image did not work and the pods continually restarted. I scoured the internet and found this repo below after trying out over 6 different ARM images

    balenalib/raspberry-pi-alpine-golang:latest 

Use the above in your docker file, build it using standard "docker build" command and save the image to your Docker hub registry. From your RPi over an SSH session, run a "kubectl deploy" command to deploy a new golang app using that Docker hub image. I found that the pods stayed up but I didn't get to fully test the "Hello World" golang go-helloworld app via http://192.168.0.1:6112 from my host computer. Trying to run it locally on the RPi via http://127.0.0.1:6112 is extremely slow and I fear it might be resource constrained.

Here is the day-to-day recap of the scholarship challenge documented here https://github.com/chromilo/udacity-suse-scholarship

Comments

Popular posts from this blog

Completing a Coursera Specialization for Free

Coursera provides continuing education just like Udacity and offer the full learning experience that I am accustomed to, including lesson videos, reading materials, projects, discussion forums, and graded projects which are peer-reviewed. I recently completed the Full-stack Web Development in React specialization from Coursera, all for free. It’s called a specialization because it is made up of three courses below each with their own certifications and which takes 4-6 weeks each to complete: 1. Front-End Web UI Frameworks and Tools: Bootstrap 4 2. Front-End Web Development with React 3. Server-side Development with NodeJS, Express and MongoDB I started the program in December 2021 and finished it in June 2023 however. The intent of this post is to explain how I was able to fund the entire specialization for free. In December 2021, I read on social media that Coursera allowed for one free course per year if you were a student and had an email address from a partner school. I gave my stu

Logitech Circle 2 Security Webcam has gone Offline (SOLVED)

In November 2022, I realized that my webcam had stopped working. I took it down from above my door mount in order to troubleshoot closely. The unit would power on with a steady white lighting around the front but I was used to seeing green. When I press the button to reset it, it would reboot and start flashing different coloured lights but when I release the button, all lighting would stop.     I looked at Logitech’s support site to find out how to properly reset it. It was simply to hold the button a few seconds until lights start blinking, which is what I have been doing. I had the wired model so I plugged in the unit via USB to my Windows computer to attempt to connect to it. I had a hunch that there was a firmware update that it automatically tried to download and run, and that update caused this. I was right. A few other users on the Logitech forums reported the same symptoms I was experiencing with my Circle 2 webcam. Here was one specific post that I responded to: https://suppo

How I passed the AZ-104 Microsoft Certified: Azure Administrator Associate Exam

I had been planning to take the Microsoft Certified Solutions Architect track back when the prerequisite was AZ-303 and AZ-304. Life got in the way and now these two prerequisites have been deprecated and replaced by AZ-305. However, in order to take this exam, I needed to get through AZ-104 first. Here are resources that I used to prepare for it: * GlobalKnowledge/Skillsoft 4-day BootCamp. I have been using this training company for a while now but it has steadily just gotten worse. The trainers are outsourced and not very professional in my opinion. I do not recommend GlobalKnowledge at all. I didn’t really learn much from the lesson material but the lesson/challenge labs were very helpful. This bootcamp comes with an Azurepass subscription and a free exam voucher. I actually racked up to $90 out of the $100 credit provided on this subscription which expires in 12 days so I better delete all the resources before then to avoid incurring more. I initially booked the exam the end of Dec