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

Commit

Permalink
overhaul based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jhicks committed Mar 7, 2022
1 parent d42e7bb commit a4eca55
Show file tree
Hide file tree
Showing 9 changed files with 203 additions and 400 deletions.
13 changes: 9 additions & 4 deletions content/Azure/01_intro_to_cloud_console.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,17 @@
},
{
"cell_type": "markdown",
"id": "ebc30bae",
"id": "53c387b4",
"metadata": {},
"source": [
"## Open a Cloud Shell\n",
"## Open the 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 Common Base Linux Delridge (CBL is a free and open-source, Linux distribution that Microsoft has developed) 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",
"To use the Azure Cloud Shell:\n",
" \n",
" * Open up a Cloud Shell by clicking on the cloud shell icon (greater than sign followed by underscore) on the blue bar just to the right of search window. On first launch, Cloud Shell prompts to create a resource group, storage account, and Azure Files share on your behalf. This will open a cloud shell at the bottum of your browser window. You can choose a bash shell or Power shell.\n",
" * If you want a new cloud shell in a different window, click the new cloud shell button (file icon with + in upper right corner) on the cloud shell menu bar. This will create a new cloud shell window tab. **Note:** you may need to allow popups or enable popups for this website depending on the browser you use. You can also pull up the tab to increase the shell screen size.\n",
" * To quit cloud shell type exit at the prompt.\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 @@ -251,7 +256,7 @@
},
{
"cell_type": "markdown",
"id": "8bb7ae75",
"id": "4e58abb6",
"metadata": {},
"source": [
"## Overview of what we will create\n",
Expand All @@ -260,7 +265,7 @@
"going to do. First we will create a Virtual Machine (VM) and in doing so create a Resource Group. Then we will \n",
"create a Storage Account and in that a blob storage container. After that we will create a blob and upload it to\n",
"the blob contaioner.\n",
"![Azure-essentails-outline](images/azure-essentails-outline.png)"
"![Azure-essentails-outline](images/azure-essentials-outline.png)"
]
},
{
Expand Down
59 changes: 37 additions & 22 deletions content/Azure/02_intro_to_compute.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@
},
{
"cell_type": "markdown",
"id": "a4dd13ae",
"id": "4e830d60",
"metadata": {},
"source": [
"Before we begin this lesson, we need to create a *ssh key pair* so that we can securely login to the Virtual Machone \n",
"(VM) we are about to create. We will need a ssh public key when we create the VM.\n",
"Before we begin this lesson, we need to create a *ssh key pair* so \n",
"that we can securely login to the Virtual Machone (VM) we are about \n",
"to create. We will need a ssh public key when we create the VM. If \n",
"you have already created a key pair in the previous lession: [Intro to Cloud Console](01_intro_to_cloud_console.ipynb)\n",
"then continue to step 2.\n",
"\n",
"**Step 1.**\n",
"\n",
Expand Down Expand Up @@ -202,7 +205,7 @@
},
{
"cell_type": "markdown",
"id": "65d977eb",
"id": "5f12143a",
"metadata": {},
"source": [
"Now let's continue to the disk configuration by clicking Next:Disk> on the bottum or on the top heading menu choose the Disk option.\n",
Expand All @@ -213,14 +216,12 @@
"* Encryption type\n",
" * Leave as default\n",
"* Data disk (create or attach)\n",
" * Leave as default\n",
"\n",
"![vm-disks](images/02_CLASS_Azure_VM_disks.png)\n"
" * Leave as default"
]
},
{
"cell_type": "markdown",
"id": "4feb08e9",
"id": "1dde7b24",
"metadata": {},
"source": [
"Now let's continue to the networking configuration by clicking Next:Networking> on the bottum or on the top heading menu choose the Networking option.\n",
Expand All @@ -236,9 +237,7 @@
"* Select inbound port(s)\n",
" * Use 22 for ssh access\n",
"* Delete public IP and NIC when VM is deleted\n",
" * Check this box\n",
"\n",
"![vm-networking](images/03_CLASS_Azure_VM_networking.png)"
" * Check this box"
]
},
{
Expand Down Expand Up @@ -280,15 +279,6 @@
"RG, status, subscriptioin as well as other properties and information. Find and record the Public IP address. "
]
},
{
"cell_type": "markdown",
"id": "62c6abd4",
"metadata": {},
"source": [
"## Security\n",
"## Enumerate the VM Instances"
]
},
{
"cell_type": "markdown",
"id": "dd25a15a",
Expand All @@ -311,6 +301,31 @@
"ssh <username>@<Public IP address>"
]
},
{
"cell_type": "markdown",
"id": "b05f3fd8",
"metadata": {},
"source": [
"If this is your first time logging in, you will be prompted with The \n",
"authenticity of host 'IP' can't be established. Type 'yes' and this \n",
"will add the host to the ~/.ssh/*know_hosts file. After doing this \n",
"once you will not be prompted again (unless the host key changes or \n",
"the host is removed from the ~/.ssh/know_hosts file."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "ca04cfba",
"metadata": {},
"outputs": [],
"source": [
"ssh azureuser@52.168.77.0\n",
"The authenticity of host '52.168.77.0 (52.168.77.0)' can't be established.\n",
"ECDSA key fingerprint is SHA256:F/3poSNTVVNbfSp3Kc7zBGwiGzt3qwrmjiyfI1ZHnX4.\n",
"Are you sure you want to continue connecting (yes/no)?"
]
},
{
"cell_type": "markdown",
"id": "41119145",
Expand Down Expand Up @@ -340,10 +355,10 @@
},
{
"cell_type": "markdown",
"id": "937e31d4",
"id": "f0b6bea0",
"metadata": {},
"source": [
"## Refernce"
"## Reference"
]
}
],
Expand Down
50 changes: 12 additions & 38 deletions content/Azure/03_intro_to_cloud_storage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@
},
{
"cell_type": "markdown",
"id": "b8a6b10f",
"id": "a07c2033",
"metadata": {},
"source": [
"One of the most common and economic ways to store data in the cloud is to use object storage. In Azure object storage is called *blob storage*, which is similar to the Simple Storage Service, also known as S3, on Amazon Web Services (AWS). For object storage, information is stored as a collection of key-value pairs."
"One of the most common and economic ways to store data in the cloud \n",
"is to use object storage. In Azure object storage is called *blob \n",
"storage*, which is similar to the Simple Storage Service, also known \n",
"as S3, on Amazon Web Services (AWS)."
]
},
{
Expand All @@ -55,58 +58,29 @@
},
{
"cell_type": "markdown",
"id": "63d54ced",
"metadata": {
"tags": []
},
"source": [
"## Security (Still need to update for Azure)"
]
},
{
"cell_type": "markdown",
"id": "06c38751",
"metadata": {},
"source": [
"## Create Resource Group (Note sure if this is needed)\n",
"\n",
"Alocating any resource in Azure requires a Resource Goup. Resources Groups scope your resources under a common entity for \n",
"resource interaction, IAM, billing (technically subsription but a resource group is under a subscription), ..., etc. \n",
"\n",
"* Navigate to Resource Groups\n",
"* Click \"+ create\" in the upper left \n",
"* Select a name for your Resource Group\n",
" * Use the Resource Group we create earlier during the VM creation process\n",
"* Leave the rest as default\n",
"* Click Review & Create\n",
"* After passing validation, click create\n"
]
},
{
"cell_type": "markdown",
"id": "00376ac9",
"id": "b4557f55",
"metadata": {},
"source": [
"## Create storage account\n",
"\n",
"Like all things in Azure you will need an account to manage your service. In this case we need a storage account. To create a storage account, follow these steps.\n",
"Like all things in Azure you will need an account to manage your \n",
"service. In this case we need a storage account. To create a \n",
"storage account, follow these steps.\n",
"\n",
"* Navigate to storage accounts\n",
"* Click \"+ create\" in the upper left \n",
"\n",
"![vm-create-storage](images/04_azure_create_storage_account.png)\n",
"\n",
"* Select (or create) a Resource Group\n",
"* Select a name for your Storage account\n",
" * The name must be all lower case and unique\n",
"* Leave the rest as default\n",
"* Click Review & Create\n",
"\n",
"![vm-create-storage-account](images/04_azure_storage_account_create_name.png)\n",
"\n",
"* After passing validation, click create\n",
"* The page will indicate when the account has been deployed. Click on \"go to resource\"\n",
"\n",
"![vm-create-finished](images/04_azure_storage_account_finished_page.png)\n"
"* The page will indicate when the account has been deployed. Click \n",
"on \"go to resource\""
]
},
{
Expand Down
Loading

0 comments on commit a4eca55

Please sign in to comment.