Preparing the prerequisites before developing our data warehouse
Before starting our practice exercise, let’s carry out these small but important steps for authentication purposes. In this section, we will do the following:
- Accessing Cloud Shell.
- Checking our credentials using
gcloud info
. - Initializing our credentials using
gcloud init
. - Downloading example codes and datasets from
git
. - Uploading data to GCS from
git
.
Let’s look at each of these steps in detail.
Step 1 – Accessing Cloud Shell
Revisit Chapter 2, Big Data Capabilities on GCP, specifically the Using GCP Cloud Shell section, if you haven’t accessed your Cloud Shell in the GCP console.
Step 2 – Checking the current setup using the command line
We want to check our current setup in Cloud Shell. To do that in Cloud Shell, type the following:
$ gcloud info
Click Authorize if prompted to.
This command will give you information about installed...