Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/azure-dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed Jan 10, 2022
2 parents e6c8348 + 19a2cf2 commit a06ac4d
Show file tree
Hide file tree
Showing 13 changed files with 2,132 additions and 80 deletions.
128 changes: 90 additions & 38 deletions content/Azure/01_intro_to_cloud_console.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,66 +2,87 @@
"cells": [
{
"cell_type": "markdown",
"id": "976355b6",
"id": "b6f03192",
"metadata": {},
"source": [
"# Introduction to the Azure Console\n",
"\n",
"# Introduction to the Azure Cloud Console\n",
"\n",
"```{admonition} Overview\n",
":class: tip\n",
"\n",
"**Teaching:** 15 mins\n",
"**Teaching:**\n",
"\n",
"**Exercises:** 5 mins\n",
"**Exercises:**\n",
"\n",
"**Questions:**\n",
"* How do I navigate the web console?\n",
"* How do I find things in the web console?\n",
"* How do I access the cloud through the command line?\n",
"\n",
"**Objectives:**\n",
"* Log in to the Azure web console\n",
"* Navigate the Azure web console\n",
"* Recognize important information about your cloud environment\n",
"* Login to the Azure web console\n",
"* Find and verify important information about your cloud environment.\n",
"* Find and open the Cloud Shell\n",
"\n",
"```"
]
},
{
"cell_type": "markdown",
"id": "61be7c43-99c1-4033-8252-6955b942bee4",
"id": "20e902b2",
"metadata": {},
"source": [
"## Setup\n",
"\n",
"The console is the point of entry where you will start your Azure journey. If you are participating in the CLASS Essentials Workshop, you will have received a csv file via email. This csv file contains your **username**, **temporary password** and **console login link**. \n",
"\n",
"```{admonition} Be Aware\n",
":class: danger\n",
"If you are doing self-paced learning, your login information may be different!\n",
"```"
"The console is the point of entry where you will start your Azure journey. If you are participating in the CLASS Essentials Workshop, you will have received a csv file via email. This csv file contains your **username**, **temporary password** and **console login link**. \n"
]
},
{
"cell_type": "markdown",
"id": "f57d9cdf-8ed5-4cab-87f7-4219cb33bf2b",
"id": "5fab77a5",
"metadata": {},
"source": [
"## Logging in to the console\n",
"Paste your console login link into your web browser. You will see the Azure site requesting your username and password. Fill in your username and password that was assigned to you in the csv file. \n",
"#### Accounts (Authentication and Identity) & login\n",
"\n",
"The (Azure) **Account** is the identity used to access the Azure web console and is in the form of an email address and is associated with an individual. This is typically the account you use to access Azure services associated with your institution and not your personal account. We will now login to the Azure web console and verify our account.\n",
"\n",
"You are now logged on. Welcome to the first step of your cloud journey! \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 4 below).\n",
"\n",
"The below is what your screen should look like 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",
"You are now logged on. Welcome to the first step of your cloud journey!"
]
},
{
"cell_type": "markdown",
"id": "43174583",
"metadata": {},
"source": [
"### Exercise\n",
"\n",
"Take a few moments to ask yourself the following questions:\n",
" * What account are you currently using in the Google Cloud web console?\n",
" * Are you logged into any other accounts?\n",
" * How do you know which account is being used?\n",
" \n",
" If you are not currently using the correct account, switch to it."
]
},
{
"cell_type": "markdown",
"id": "9cd64226",
"metadata": {},
"source": [
"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)"
]
},
{
"cell_type": "markdown",
"id": "27fc9127",
"id": "b1b0faae",
"metadata": {},
"source": [
"**1. Hamburger**\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",
"\n",
"**2. Search bar**\n",
Expand All @@ -70,36 +91,67 @@
"**3. Cloud Shell**\n",
": The cloud shell button invokes an interactive shell environment for either bash or PowerShell. The first time you invoke cloud shell you will also creare persistent storage specifically for cloud shell. The cloud shell comes with linux tools like bash, sh, & dig as well as the Azure CLI. Cloud shell also has editors like VIM and emacs, and tools like git, make, and configuration tools like ansible & terraform already installed. Language support for python, go, java, & PowerShell are also preinstalled. Azure Cloud Shell runs on Ubuntu 16.04 LTS with persistent storage.\n",
"\n",
"**4. IAM Username and Organization**\n",
"**4. Directories & Subscriptions**\n",
": This button will show the current Subsciption and Active Directory (cover later) associated with your account. The Subscription is your billing account. Using this dropdown to verify that are using the right subscription.\n",
"\n",
"**5. IAM Username and Organization**\n",
": The menu bar on the console also lists your username and the current organization that you are logged into. IAM is short for Identity and Access Management. Identity is a mechanism to authenticate users (e.g. password) and Access is a mechanism for authorizing what kinds of services users have access to. In the creation of an IAM user, the administrator (overlord) of the account assigned a particular permission scope (in AWS this is known as roles) to control access to a particular set of services and also assigned a password to authenticate user login. IAM is a key component in managing security on the cloud.\n"
]
},
{
"cell_type": "markdown",
"id": "e7ad8ac9",
"id": "6e3b3cbd",
"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",
"\n",
"The Navigation Menu (number 1 above) is used to navigate to the various products, which are also sometimes called services.\n"
]
},
{
"cell_type": "markdown",
"id": "e94b53e2",
"metadata": {},
"source": [
"```{admonition} Exercise\n",
":class: attention\n",
"## 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",
"\n",
"* What is your IAM username? \n",
"* Why is IAM important?\n",
"* What are the three ways you can find an Azure service on the console?\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",
" * Once the Cloud Shell is open, you should see \"Welcome to Azure Cloud Shell\".\n",
" * Click the middle box icon on the right side of the Cloud Shell bar to maximize the screen. You can find the correct icon by hovering over the icons to see their names.\n",
" * Note: You can open the Cloud Shell in a new tab by clicking on the **Open new session** icon (looks like a box with a \"+\") in the middle of the Cloud Shell bar.\n"
]
},
{
"cell_type": "markdown",
"id": "c0706cc3",
"metadata": {},
"source": [
"Now let's move on the to next lession"
]
}
],
"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/Azure/02_intro_to_compute.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,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
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,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
24 changes: 15 additions & 9 deletions content/Azure/04_intro_to_cli.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"cells": [
{
"cell_type": "markdown",
"id": "bfb78c2d",
"id": "d448d2c1",
"metadata": {},
"source": [
"# Navigating the Command Line Interface (CLI)\n",
"# Introduction to the Azure CLI\n",
"\n",
"Learner Questions\n",
" * How do I use the Cloud CLI?\n",
Expand Down Expand Up @@ -448,15 +448,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
Loading

0 comments on commit a06ac4d

Please sign in to comment.