diff --git a/content/GCP/02_intro_to_compute.ipynb b/content/GCP/02_intro_to_compute.ipynb index ba6811e..9a347db 100644 --- a/content/GCP/02_intro_to_compute.ipynb +++ b/content/GCP/02_intro_to_compute.ipynb @@ -139,7 +139,9 @@ "\n", "To connect to the *VM Instance* we will use the cloud shell in the web console. Open up a shell by clicking on the **Activate Cloud Shell** icon in the top blue bar if it is not already open.\n", "\n", - "We first verify that the cloud shell is using the correct identity and *project id* by looking at the welcome message and the prompt.\n", + "If you have not used Cloud Shell you may need read through some dialog boxes to create a new Cloud Shell and \"Allow\" the Cloud Shell to access your account.\n", + "\n", + "We first verify that the cloud shell is using the correct identity and *project id* by looking at the welcome message and the prompt. If your shell does not show a project you will have to use the little \"Down Arrow\" next to the \"+\" to create a new tab to select the correct project.\n", "\n", "![cloud-shell](img/cloud-shell.png)\n", "\n", @@ -154,7 +156,7 @@ "WARNING: The public SSH key file for gcloud does not exist.\n", "WARNING: You do not have an SSH key for gcloud.\n", "WARNING: SSH keygen will be executed to generate a key.\n", - "This tool needs to create the directory [/home/student231/.ssh] before\n", + "This tool needs to create the directory [/home/learner/.ssh] before\n", " being able to generate SSH keys.\n", "\n", "Do you want to continue (Y/n)?\n", @@ -172,10 +174,10 @@ "\n", "After successfully retyping the passphrase the key generation process will continue showing similar message as follows (the fingerprint and art will look different):\n", "```\n", - "Your identification has been saved in /home/student231/.ssh/google_compute_engine.\n", - "Your public key has been saved in /home/student231/.ssh/google_compute_engine.pub.\n", + "Your identification has been saved in /home/learner/.ssh/google_compute_engine.\n", + "Your public key has been saved in /home/learner/.ssh/google_compute_engine.pub.\n", "The key fingerprint is:\n", - "SHA256:D9yj1nZEUigahirvjkIFoCP7RfjDu67Ku88M7nHQftI student231@cs-748001990186-default-boost-r9phq\n", + "SHA256:D9yj1nZEUigahirvjkIFoCP7RfjDu67Ku88M7nHQftI learner@cs-748001990186-default-boost-r9phq\n", "The key's randomart image is:\n", "+---[RSA 2048]----+\n", "|o . .. |\n", @@ -194,18 +196,19 @@ "\n", "At this point the command will attempt to connect to the *VM Instance* and will ask the following question:\n", "```\n", - "Did you mean zone [us-central1-a] for instance: [instance-1] (Y/n)? n\n", + "Did you mean zone [us-central1-a] for instance: [essentials-instance-1] (Y/n)? n\n", "```\n", "Answer \"n\".\n", "\n", "The command will now configure the instance to allow your ssh key and connect to it.\n", "\n", "```\n", - "No zone specified. Using zone [us-central1-a] for instance: [instance-1].\n", - "Updating project ssh metadata...working..Updated [https://www.googleapis.com/compute/v1/projects/class-essentials-gcp-demo-1].\n", + "No zone specified. Using zone [us-central1-a] for instance: [essentials-instance-1].\n", + "Updating project ssh metadata...working..Updated [https://www.googleapis.com/compute/v1/projects/class-essentials-instance-1].\n", "Updating project ssh metadata...done.\n", "Waiting for SSH key to propagate.\n", "Warning: Permanently added 'compute.74517428106645607' (ECDSA) to the list of known hosts.\n", + "Enter passphrase for key '/home/learner/.ssh/google_compute_engine':\n", "```\n", "\n", "Once connected you will see the machine login banner and prompt similar to the following:\n", diff --git a/content/GCP/img/cloud-shell.png b/content/GCP/img/cloud-shell.png index 63edf94..5e7960d 100644 Binary files a/content/GCP/img/cloud-shell.png and b/content/GCP/img/cloud-shell.png differ