This repository was archived by the owner on Dec 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from CLASS/azure-dev
new azure modules Merged with tools and cleaned up repo and content a bit to remove warnings.
- Loading branch information
Showing
33 changed files
with
635 additions
and
661 deletions.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,164 @@ | ||
| { | ||
| "cells": [ | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "8932d2c1", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "# Introduction to Virtual Machines (VM) in Azure\n", | ||
| "\n", | ||
| "\n", | ||
| "```{admonition} Overview\n", | ||
| ":class: tip\n", | ||
| "\n", | ||
| "**Teaching:** 45 mins\n", | ||
| "\n", | ||
| "**Exercises:** 10 mins\n", | ||
| "\n", | ||
| "**Questions:**\n", | ||
| "\n", | ||
| "**Objectives:**\n", | ||
| "* Understand the concept of virtual servers.\n", | ||
| "\n", | ||
| "```" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "05306c25", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "## Create a VM\n", | ||
| "\n", | ||
| "Hamburger in upper left -> Virtual Machines -> Create (+) in upper left -> virtual machines ->\n", | ||
| "In the middle of the page under \"Create Virtual Machine\" heading there are menu options from left to right: Basic, Disk, Networking, Management, Advanced, Tags, Review & Create\n", | ||
| "\n", | ||
| "**Part 1**\n", | ||
| "* Check subscription \n", | ||
| "* select or create Resource Group\n", | ||
| "* VM name\n", | ||
| "* Image\n", | ||
| "* Spot\n", | ||
| "* Size\n", | ||
| "\n", | ||
| "\n", | ||
| "\n", | ||
| "**Part 2**\n", | ||
| "* Authentication type \n", | ||
| " * ssh public key\n", | ||
| "* Username\n", | ||
| " * Choose usename (default: azeruser)\n", | ||
| "* ssh public key source\n", | ||
| " * Generate new key pair\n", | ||
| "* Key pair name\n", | ||
| " * Choose name for key pair (default: auto generated based on VM name)\n", | ||
| "* Ports (none)\n", | ||
| " * Open inbound ports (default: none)\n", | ||
| "\n", | ||
| "" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "536af466", | ||
| "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", | ||
| "\n", | ||
| "**Disk**\n", | ||
| "* OS Disk type\n", | ||
| " * Leave as default\n", | ||
| "* Encryption type\n", | ||
| " * Leave as default\n", | ||
| "* Data disk (create or attach)\n", | ||
| " * Leave as default\n", | ||
| "\n", | ||
| "\n" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "007e8359", | ||
| "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", | ||
| "\n", | ||
| "**Networking**\n", | ||
| "* Virtual network name\n", | ||
| "* Public IP\n", | ||
| " * None\n", | ||
| "* NIC network security group \n", | ||
| " * None\n", | ||
| "* Public inbound port(s)\n", | ||
| " * Allow selected port\n", | ||
| "* Select inbound port(s)\n", | ||
| " * Use 22 for ssh access\n", | ||
| "\n", | ||
| "" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "1e052657", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "Now let's continue to provision the VM. The next three menu options across the top are outside the scope of this tutorial so now we are ready to click Review & Create.\n", | ||
| "\n", | ||
| "**Management**\n", | ||
| "* Outside of scope\n", | ||
| "\n", | ||
| "**Advanced**\n", | ||
| "\n", | ||
| " * Outside of scope\n", | ||
| " \n", | ||
| "**Tags**\n", | ||
| "\n", | ||
| " * Outside of scope\n", | ||
| " \n", | ||
| "**Review & Create**\n", | ||
| "\n", | ||
| " * Click Review & Create \n", | ||
| " * After review you should have a green check indicating a successful validation\n", | ||
| " * Check parameters for correctness\n", | ||
| " * Click create\n", | ||
| "\n", | ||
| "When the VM is provisioned we can verify that the VM was created.\n", | ||
| "\n", | ||
| "**Verify deployment**\n", | ||
| "* Click the hamburger in the upper left\n", | ||
| "* Choose Virtual Machines\n", | ||
| "* You should see your VM name\n", | ||
| "* Click on VM name to get more information about your VM\n", | ||
| "\n", | ||
| "" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "48a51891", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "```{admonition} Exercise\n", | ||
| ":class: attention\n", | ||
| "\n", | ||
| "* How do Spot Instances help you optimize costs?\n", | ||
| "````" | ||
| ] | ||
| } | ||
| ], | ||
| "metadata": { | ||
| "kernelspec": { | ||
| "display_name": "Bash", | ||
| "language": "bash", | ||
| "name": "bash" | ||
| }, | ||
| "language_info": { | ||
| "codemirror_mode": "shell", | ||
| "file_extension": ".sh", | ||
| "mimetype": "text/x-sh", | ||
| "name": "bash" | ||
| } | ||
| }, | ||
| "nbformat": 4, | ||
| "nbformat_minor": 5 | ||
| } |
Oops, something went wrong.