Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
Create a VM at the start of the analysis Episode.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed Dec 16, 2021
1 parent a73e1e6 commit 554f2da
Show file tree
Hide file tree
Showing 2 changed files with 218 additions and 148 deletions.
14 changes: 8 additions & 6 deletions content/GCP/02_intro_to_compute.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@
"We will first create an *VM instance* with defaults to explore the Google Compute Engine service.\n",
"\n",
"To create a bucket we do the following:\n",
" * Click **Navigation Menu** -> **Compute Engine** (under Compute) -> **VM Instances** -> **+Create Bucket** (just under the blue bar) to open the *Create an instance* page.\n",
" * Click **Navigation Menu** -> **Compute Engine** (under Compute) -> **VM Instances** -> **+Create Instance** (just under the blue bar) to open the *Create an instance* page.\n",
" * In the **New VM instance** tab on the left (selected by default) configure the *VM instance* as follows:\n",
" * For **Name**, enter a unique name for the instances (example: \"essentials-instance-1\")\n",
" * For **Region** leave the default or select your \"home\" region. The region is the physical location where your data will reside. Your \"home\" region should be close to your work and the region you use most often.\n",
" * For **Zone** leave the default (note how the name is constructed and that it is a separate data center).\n",
" * For **Region** leave the default or select your \"home\" region. The region is the physical location where your data will reside. Your \"home\" region should be close to your work and should be the region you use most of the time.\n",
" * For **Zone** leave the default (note how the name is constructed and that it is a separate data center) some zones have different capabilities.\n",
" * In the **Machine configuration** section:\n",
" * For **Series** select *E2* (default). The other options are for types of machines.\n",
" * For **Machine type** select *e2-medium* (default)\n",
" * In the **Identity and API access** section note that for the **Service Accounts** -> **Service account** option that the **Compute Engine default service account** is selected. This allows the *VM Instance* to access resources in the project. Note: the *\"Allow full access to all Cloud APIs\"* allows *everyone* on the VM to *access and edit all resources in the project*.\n",
" * Leave the remaining options as default.\n",
" * In the **Identity and API access** section note that for the **Service Accounts** -> **Service account** option that the **Compute Engine default service account** is selected. This allows the *VM Instance* to ***access and edit any resources in the project***.\n",
" * Note the **Monthly estimate** in the right side panel. This is only for running the *VM instance* and does not include other storage, networking, compute, and other charges that may occur by running software. Click **Details** show a breakdown of the *VM instance* only costs.\n",
" * Finally, click **Create** to create the *VM Instance* (allocate the resource).\n",
" "
Expand Down Expand Up @@ -239,13 +239,15 @@
"tags": []
},
"source": [
"## Delete the Storage - Exercise \n",
"## Delete the VM - Exercise \n",
"\n",
"We will now complete the resource life-cycle by deleting the *VM Instance* we just created. Think about the process we did for creating the bucket and follow a similar one. \n",
"\n",
"Did you \"Follow\" the bucket by looking at the **activity** page?\n",
"\n",
"Since we care about paying for resources we are not using we **review** by visiting the **dashboard** and reviewing that we no longer have any buckets, if this was our only bucket. "
"Since we care about paying for resources we are not using we **review** our project by visiting the compute engine service and reviewing that we no longer have any virtual machines (VM) running. \n",
"\n",
"In later episodes we will show how to easily list all the resources in a project."
]
},
{
Expand Down
Loading

0 comments on commit 554f2da

Please sign in to comment.