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

Commit

Permalink
Intro & cli updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jhicks committed Feb 17, 2022
1 parent 1b39944 commit e516207
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 27 deletions.
35 changes: 19 additions & 16 deletions content/Azure/01_intro_to_cloud_console.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"cell_type": "markdown",
"id": "b8747e81",
"id": "fcc7d006",
"metadata": {},
"source": [
"## Accounts (Authentication and Identity) & login\n",
Expand All @@ -48,7 +48,7 @@
"\n",
" * Login to the web console with your (Azure) account by going to [https://portal.azure.com//](https://portal.azure.com//)\n",
" * Fill in your username and password (assigned to you in the an email from CLASS or perhap from your institution). \n",
" * Find your user/account under the \"Avatar\" in the top right (see number 5 below).\n",
" * Find your user/account under the \"Avatar\" in the top right corner of the console (see number 5 below).\n",
"\n",
"You are now logged in. Welcome to the first step of your cloud journey!"
]
Expand All @@ -70,13 +70,13 @@
},
{
"cell_type": "markdown",
"id": "4901d3bb",
"id": "93452903",
"metadata": {},
"source": [
"## Subscriptions\n",
" \n",
"Click on the *Directories & Subscriptions* buttton (number 4 below).\n",
"Verify that you are in the right *Directory and Subscription* (For more information on Directories and Subscriptions, see the *glossary of Azure terms* link above).\n",
"Click on the *Directories & Subscriptions* buttton in the console (number 4 below).\n",
"Verify that you are in the right *Active Directory and Subscription* (For more information on Active Directories and Subscriptions, see the *glossary of Azure terms* link above).\n",
" \n",
"Take a few moments to ask yourself the following questions:\n",
" * What is the *name* of the Subscription you are currently using in the Azure web console?\n",
Expand All @@ -88,16 +88,19 @@
},
{
"cell_type": "markdown",
"id": "d2611421",
"id": "1bc754a4",
"metadata": {},
"source": [
"## Services\n",
"\n",
"The web console is used to control and observe the cloud from the browser. It should only be used for simple and one-time tasks, exploring new services, accessing documentation, or for monitoring and debugging resources in the cloud. Programmatic control through the console, programming languages (for example Python), and other automation tools should be used for day to day activities to make the most out of the cloud and to help with the reproducibility of research and teaching.\n",
"The web console is used to control and observe the cloud from the browser. It should only be used for simple and one-time tasks, \n",
"exploring new services, accessing documentation, or for monitoring and debugging resources in the cloud. Programmatic control \n",
"through the console (cloud shell), programming languages (for example Python), and other automation tools should be used for day to \n",
"day activities to make the most out of the cloud and to help with the reproducibility of research and teaching.\n",
"\n",
"The Navigation Menu (number 1 below) is used to navigate to the various products, which are also called services.\n",
"\n",
"![hamburger-navigation](images/Azure-services-menu.png)\n",
"![service-navigation](images/Azure-services-menu.png)\n",
"\n",
" * Click on a product to navigate to the product page \n",
" * Click the hamburger again to hide the Left Sidebar.\n",
Expand All @@ -113,7 +116,7 @@
},
{
"cell_type": "markdown",
"id": "13817be0",
"id": "f193ccc6",
"metadata": {},
"source": [
"## Everything Else\n",
Expand All @@ -123,7 +126,7 @@
"\n",
"The top of your screen should look very similar to the following when you log in to the Azure console. Next, let's take a closer look at some key concepts and components of the Azure console. \n",
"\n",
"![cloud-shell](images/azure_intro_console.jpg)\n",
"![cloud-shell](images/azure_intro_console.png)\n",
"\n",
"**1. Navigation Menu (often called the hamburger)**\n",
": If you click on the hamburger (three horizontal lines) you will get a dropdown menu and see a list of services that are offered by Azure. Currently, Azure has over N services ranging from compute to machine learning to networking to data storage. The list grows frequently!\n",
Expand All @@ -143,12 +146,12 @@
},
{
"cell_type": "markdown",
"id": "5ab062d4",
"id": "4360a89d",
"metadata": {},
"source": [
"## Open a Cloud Shell\n",
"\n",
"The Cloud Shell is an easy way to access Comand Line Interface (CLI) commands in a web browser. Under the hood Cloud Shell is Debian running in a container with 5GB of minimal-charge persistent storage and a lot of other useful tools (git, docker, jq, Docker, etc.) installed by default.\n",
"The Cloud Shell is an easy way to access Comand Line Interface (CLI) commands in a web browser. Under the hood Cloud Shell is Debian OS running in a container with 5GB of persistent storage and a lot of other useful tools (git, jq, Docker, etc.) installed by default.\n",
"\n",
"To use the Cloud Shell:\n",
" * Open up a Cloud Shell by clicking on the **Cloud Shell** icon in the right side of the top blue bar (number 3 above).\n",
Expand Down Expand Up @@ -178,17 +181,17 @@
"metadata": {},
"outputs": [],
"source": [
"$ ssh-keygen\n",
"$ssh-keygen\n",
"Generating public/private rsa key pair.\n",
"Enter file in which to save the key (/home/john/.ssh/id_rsa):"
]
},
{
"cell_type": "markdown",
"id": "af178e4d",
"id": "a1c0e980",
"metadata": {},
"source": [
"This prompt is asking you to create a .ssh directory in your home directory and generate ssh public/private keys named id_rsa.pub/id_rsa (default).\n",
"This prompt is asking you to create a .ssh directory in your home directory and generate ssh public/private keys named id_rsa.pub/id_rsa (default) respectively.\n",
"\n",
"Press enter to continue to create the key. You will see another message asking you for a passphrase, similar to the following:\n",
"```\n",
Expand All @@ -200,7 +203,7 @@
"Enter same passphrase again:\n",
"```\n",
"\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",
"After successfully retyping the passphrase the key generation process will continue showing a similar message as follows (the fingerprint and art will look different):\n",
"```\n",
"Your identification has been saved in /home/learner/.ssh/id_rsa.\n",
"Your public key has been saved in /home/learner/.ssh/id_rsa.pub.\n",
Expand Down
2 changes: 1 addition & 1 deletion content/Azure/02_intro_to_compute.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
},
{
"cell_type": "markdown",
"id": "9c8830ce",
"id": "e3a1c48a",
"metadata": {},
"source": [
"## Create a VM\n",
Expand Down
12 changes: 2 additions & 10 deletions content/Azure/glossary.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,16 @@
"cells": [
{
"cell_type": "markdown",
"id": "efd09804",
"id": "6e2c69ff",
"metadata": {},
"source": [
"# Glossary\n",
"\n",
"* **Active Directory** - This is were your identity is defined. This is typically setup by the institution that you belong to.\n",
"* **Subscription** - Resources and services in Azure are created within a Subsrciption and this acts as your billing account. \n",
"* **Account** - The Azure account (email) associated with an individual. This is the identity that you use to access console.\n",
"* **Resource Group** - A resource group is a *container* (in the literal sense not to be confused with a Docker container for example) that holds related resources that you want to manage as a group."
"* **Resource Group** - A resource group is a *container* (in the literal sense not to be confused with a Docker container for example) that holds related resources that you want to manage as a group. Resources are deployed in a Resource Group. "
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "471d2fe5",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
Binary file modified content/Azure/images/Azure-services-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Azure/images/azure_intro_console.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e516207

Please sign in to comment.