Skip to main content

How to get over Qwiklabs glitches to learn GCP

This blog entry is primarily recorded for Dev/Sys/Ops people who have little to no experience with javascript. I have been using different services offered by different cloud providers for some time now. For any cloud provider, the learning curve is linear and the only catch is you should have prior knowledge of the service you are consuming, be it VM, load balancer, database, code repository or container-related services. Just like any random guy in IT, my first cloud experience came with AWS, I deployed some hobby projects to experiments, and I also used the same to deliver some MVP for official work. There was a difference between working as a sole developer utilizing personal account and using IAM under enterprise cloud account but I guess they are all part of the learning curve.

The second provider I worked on is Google Cloud, I wanted to evaluate their GKE service. This was about 3 years back, some months ago I came across an offer from Google, the offered an SRE course with a certificate in Coursera platform. Since the course was tutored by Google themselves I happily signed up, the course had a different and intuitive approach towards teaching, it included hands-on lab. Unlike the Oracle Cloud's self-learning courses which only had video lectures, I went through those videos sleepless to complete my OCI certification. Separately while scrolling through OCI docs I found links for the hands-on lab: https://go.oracle.com/hols. 

All these hands-on labs were hosted in Qwiklabs. This platform also had labs that will help us learn AWS, for the sake of this blog post I'd limit myself to GCP because I discovered Qwiklabs only when I tried to learn GCP. To be honest with you Coursera didn't introduce me to Qwiklabs, that badge would go to GDG Cloud Chennai, they organized a study group for GDP certification preparation, I never wanted to take the certification, nonetheless, I wanted the knowledge. I highly encourage you to join such groups, they'd give you coupons and discounts for both Qwiklabs and GDP certifications. If you are a member, I highly discourage you from putting such coupon code in public as the repercussions might that they stop releasing such coupons.

On to the main topic, Qwiklabs generate a temporary credential to access GCP/AWS and in some cases also provisions some services and permissions and they use APIs to test the user's progress after every checkpoint. And this temporary credential is nothing but a google account and so every lab is preceded with a warning that requests people to use incognito/private browsing so they don't accidentally get charged for the cloud resources/services they are required to provision/use as per the lab. And this caused many glitches for me, since UI is javascript heavy it is better if you let cookies to be stored so that state can be better maintained. And solving this problem is very easy, simply use Guest account in chrome browser and you safe yourselves a ton of time and mal-functioning UI.

But the second problem that I faced was more irritating, as I progressed I started doing the labs faster and it seems at one point I did so fast that I confused the system and the client-side authorization broke down! In this window, we have to accept the Terms of Services, before we can use GCP service, nothing out of ordinary, but a couple of times the javascript refuses to display the 'Accept' checkbox, however much I refreshed the checkbox won't appear. I did what I used to do for ads, Right-click => Inspect => 'Press Delete key", repeat this till you see normal-looking GCP console window (the last layer you'd delete would be partially opaque layer added all over the window). Now click on 'Cloud Shell' icon on the right top, in the Cloud Shell dock you should again see the 'Accept' checkbox, click accept and enjoy the rest of the lab.

The regular authorization window, take not of checkbox and partially opaque window

Auth broke down and the GCP Terms of Services checkbox is not being displayed and so there is no way to AGREE AND CONTINUE.
Now do the right click > inspect > delete routine

Now the window is 100% visible, click Cloud shell icon.
Ah! Terms of Service checkbox is again visible

Comments

Popular this month

Puththu kovilum Putho tilesum, as they are built

Its the grand Aadi season here in Tamil Nadu wherever you go you'd be followed by awful noise from no mercy speakers masqueraded as a devotional song. Yes, this is the first post dedicated to it. Hindu is not a religion but it's idealism, a way to unite people, that's perfectly constructed by assuming separate task to every God, no single God worship. Hindus moved from nature worship to idol worship, but that doesn't mean that we don't have nature worship we have created an idol for them and continued to worship them in a different form. Snake is a beautiful reptile, I have made friend with few too... Our ancestor found the natural law, 'every living creature on earth is important for the ecosystem to be balanced'. Maybe to make sure snakes are not killed fearing their venom they made them as God too! Not just idol snakes, they are worshipped as they are at their  conquered (from rats and termite)   nest or  puthu . Puthu...

My time in Italy: Dinner

I was ecstatic!, the day started, as usual, toast as breakfast, leftover as lunch, and vending machine coffee; in a couple of days we were going to return to India and so it was time for us to shop souvenirs and chocolates. But what excited me most was the restaurants, and for the noblest reason - food. Gli Orsi is the mall of Biella; there are spots in town like Via Italia, and the complex housing Esselunga, then there is also a Saturday market - where we can go and buy many different things in one place, but malls always offer a different experience. Gli Ori has exclusive outlets for chocolates, shoes, electronics, bags, and more, but we usually buy chocolates from Coop, a supermarket similar to Esselunga but offers more discounts. My first dining experience in Italy was at a place that doesn't serve Italian food but western food. I'm from India, Italy is my west 😄but to Italians - America is west, I understood this as soon as we spotted the restaurant. The place was decorat...

why do people sweat more in chennai???

One of the famous ornament of chennai is its summer!. Everyone here would have at least once talked about its effect and the way they affected. People comes out with sweats flowing from the body is the usual scene of chennai noon. The sweat produced is not just due to the temperature of the region. It is in fact due to the high humidity of chennai. To explain this lets see a fact, people in chennai sweats more than the people in delhi where the temperature is higher than the former. This is because of chennai's location. Chennai is located near sea due to which sea water evaporation is high during summer which in turn increases the humidity (Amount of water vapour present in air). Normally human blood temperature is about 35 deg Celsius. If the outside temperature is more than that, then our system tries to automatically cools down by releasing sweat from the body. The sweat which is released cools the surrounding heat by converting into vapour thereby reducing the body te...

Up and Close with Sudalai Madan: The Encounter

Night of 13th April all the preparations for the rituals were done in the temple, Sudalaimadan swamy was decorated with flowers, fruits and coconuts; the dedications reached above his chest. My cousin Sudalai Muthu, senior priest of the shrine reached home by late-night got blessings of his father Late Shanmugam Sundaram also previous head priest and blessed the family members in room dedicated for God, then started towards the temple. People have already gathered in huge numbers and were waiting for the Sudalaimada Swamy's arrival at Temple. Different rituals were offered by people to the Lord in order to get the blessings. As it is believed Sudaimada Swamy, the son of Lord Siva used to consume meat in Kailash for this reason he is sent to earth, where he can satisfy his earthy hunger thereby not polluting Kailash. Sree Aaladi Padmanabha Sudalaimada Swamy Temple, Kumarapuram Offering meat to Sudalaimadan is the most important and watchful event of the festival. Many devotees off...

Training @ Cognizant

I received my Date of Joining mail on 16 Oct 2011, I was so happy that finally I got that. I was the only one from my college to get the mail to report on that particular day so I went pretty much alone. I reported in MEPZ on Oct 20th from the next Monday my training began in Siruseri. I was able to spot many people who studied with me in school on the first day of Induction. Initially I was placed in customized batch then was moved to Advance JAVA or J2EE in a generic term. I got pinned to IME vertical that handles clients related to Information, Media and Entertainment domain.We were trained in batches of 24, curse or charm I got into a batch with 20 girls! Whatever it didn't last for long, I was pretty much comfortable after getting out of it. My school was co-ed but classes were separate for boys and girls never mind 8th and 12th grades, where I was put into co-ed classes because I'm a good boy :P  In college I remember studying toget...