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

Commit

Permalink
Minor edits is GCP text
Browse files Browse the repository at this point in the history
  • Loading branch information
jhicks committed Jan 11, 2022
1 parent 80ba9cc commit 8833edb
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 44 deletions.
24 changes: 15 additions & 9 deletions content/GCP/01_intro_to_cloud_console.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
},
{
"cell_type": "markdown",
"id": "5cfe3d13-c050-49ee-873b-be823fda5b10",
"id": "ef4c1470",
"metadata": {},
"source": [
"## Projects\n",
Expand All @@ -94,7 +94,7 @@
"\n",
"A Project, just like the word, should be associated with a real world project (for example a research effort or grant, lab, or your Ph.D. Project. etc). For Drew, this is the image processing project. In this way it is easier to track and allocate costs and to manage permissions and access for resources within the project.\n",
"\n",
"The active project is also shown next to the project icon (three hexagons) and clicking it brings up the project selection dialog. The current project has a check mark and and the active project can be changed by clicking on the project name or double clicking the row.\n",
"The active project is also shown next to the project icon (three hexagons) and clicking it brings up the project selection dialog. The current project has a check mark and the active project can be changed by clicking on the project name or double clicking the row.\n",
" ![select-project](img/select-project.png) \n",
"\n",
"### Exercise\n",
Expand Down Expand Up @@ -211,15 +211,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Bash",
"language": "bash",
"name": "bash"
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": "shell",
"file_extension": ".sh",
"mimetype": "text/x-sh",
"name": "bash"
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
}
},
"nbformat": 4,
Expand Down
20 changes: 13 additions & 7 deletions content/GCP/02_intro_to_compute.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Bash",
"language": "bash",
"name": "bash"
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": "shell",
"file_extension": ".sh",
"mimetype": "text/x-sh",
"name": "bash"
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
}
},
"nbformat": 4,
Expand Down
22 changes: 14 additions & 8 deletions content/GCP/03_intro_to_cloud_storage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "fb98ae89-8494-4fd7-aa97-44380424d68d",
"id": "073b2176",
"metadata": {},
"source": [
"# Introduction to Google Cloud Storage\n",
Expand Down Expand Up @@ -221,15 +221,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Bash",
"language": "bash",
"name": "bash"
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": "shell",
"file_extension": ".sh",
"mimetype": "text/x-sh",
"name": "bash"
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
}
},
"nbformat": 4,
Expand Down
46 changes: 26 additions & 20 deletions content/GCP/05_cli_storage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
},
{
"cell_type": "markdown",
"id": "3bcdd299-5d83-4bb6-b2bb-daa85b392a19",
"id": "7825fd5a",
"metadata": {},
"source": [
"Now that Drew understands how to create create buckets using the web console and to use the Google command line tools they are now going to explore managing buckets with the command line."
"Now that Drew understands how to create create buckets using the web console and to use the Google command line tools he is now going to explore managing buckets with the command line."
]
},
{
Expand Down Expand Up @@ -112,10 +112,10 @@
},
{
"cell_type": "markdown",
"id": "f020bfcf-2e0e-4b8f-97f3-6b4753d95146",
"id": "658e1324",
"metadata": {},
"source": [
"We first generate a bucket name and store it in an environment variable for future use. Bucket names are globally unique, so here we use \"essentials\" with your Cloud Shell username (the username part of the Google Account) as as a prefix to name the bucket something unique and easy to understand where it came from."
"We first generate a bucket name and store it in an environment variable for future use. Bucket names are globally unique, so here we use \"essentials\" with your Cloud Shell username (the username part of the Google Account) as a prefix to name the bucket something unique and easy to understand where it came from."
]
},
{
Expand Down Expand Up @@ -203,10 +203,10 @@
},
{
"cell_type": "markdown",
"id": "00973c8c-b3bb-41ba-b3aa-9a425284c70a",
"id": "838a4110",
"metadata": {},
"source": [
"Just like the unix `ls` command, the `gsutil ls` command has a lot of (similar) options. Let's get detailed information about the bucket. Note we must specify the bucket by using the `-b` option to specify the bucket. Type `gsutil ls --help` for more information on the command and options."
"Just like the Linux `ls` command, the `gsutil ls` command has a lot of (similar) options. Let's get detailed information about the bucket. Note we must specify the bucket by using the `-b` option to specify the bucket. Type `gsutil ls --help` for more information on the command and options."
]
},
{
Expand Down Expand Up @@ -300,14 +300,14 @@
},
{
"cell_type": "markdown",
"id": "1e7fceeb-661e-4a42-8fa4-5c2c50503ea6",
"id": "3a59ca7c",
"metadata": {},
"source": [
"You can see that the bucket is \"multi-region\" and uses the \"standard\" storage class (this the type of storage). The standard storage class is best used for frequently used buckets. Other storage classes are designed for less frequent use, are less expensive, but come with more restrictions and more complex access costs and should be only used after careful consideration.\n",
"You can see that the bucket is \"multi-region\" and uses the \"standard\" storage class (this is the type of storage). The standard storage class is best used for frequently used buckets. Other storage classes are designed for less frequent use, are less expensive, but come with more restrictions and more complex access costs and should only be used after careful consideration.\n",
"\n",
"Ignore the \"ACL\" section for now.\n",
"\n",
"You may also want to verify that you can see the newly created bucket in the web console dashboard or \"Cloud Storage\" page and explore the properties here."
"You may also want to verify that you can see the newly created bucket in the web console dashboard or \"Cloud Storage\" page and explore the properties there."
]
},
{
Expand All @@ -322,13 +322,13 @@
},
{
"cell_type": "markdown",
"id": "c9480ea5-41b3-4bde-ad01-3f290792bc0a",
"id": "3cdb9158",
"metadata": {},
"source": [
"## Bucket Activity\n",
"Next we will check/follow the Activity log to ensure that the bucket was created. This command assumes that there was no other activity in the account, you may need to increase the `--limit` value to something larger to find the activity. \n",
"\n",
"Activity logs are used track important project level activity (such as bucket creation and deletion) and can be used for security and tracking resources and cannot be deleted. This can be used to debug if something goes wrong or in a security audit or investigation.\n"
"Activity logs are used to track important project level activity (such as bucket creation and deletion) and can be used for security and tracking resources and cannot be deleted. This can be used to debug if something goes wrong or in a security audit or investigation.\n"
]
},
{
Expand Down Expand Up @@ -909,10 +909,10 @@
},
{
"cell_type": "markdown",
"id": "9002604e-6908-4a86-ab45-b9dd4cb11f75",
"id": "3e2178ca",
"metadata": {},
"source": [
"We verify that the bucket has been removed. In this example there is not output since there are no more buckets."
"We verify that the bucket has been removed. In this example there is no output since there are no more buckets."
]
},
{
Expand All @@ -936,15 +936,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Bash",
"language": "bash",
"name": "bash"
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": "shell",
"file_extension": ".sh",
"mimetype": "text/x-sh",
"name": "bash"
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 8833edb

Please sign in to comment.