%3CLINGO-SUB%20id%3D%22lingo-sub-1120309%22%20slang%3D%22en-US%22%3EDeploying%20Jupyterhub%20on%20Azure%20for%20Individual%20Students%20or%20Class%20Groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1120309%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20been%20working%20on%20two%20new%20Azure%20templates%20to%20help%20academics%20and%20students%20deploy%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EJupyterHub%20Server%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eusing%20a%20Ubuntu%20Linux%20VM.%20%3CBR%20%2F%3E%3CBR%20%2F%3EThese%20templates%20allow%20you%20to%20deploy%20a%20CPU%20or%20GPU%20based%20VM%20in%20the%20resource%20group%20location%20and%20will%20return%20the%20admin%20user%20name%2C%20Virtual%20Network%20Name%2C%20Network%20Security%20Group%20Name%20and%20FQDN.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20new%20to%20Azure%20virtual%20machines%2C%20see%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fservices%2Fvirtual-machines%2F%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EAzure%20Virtual%20Machines%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fvirtual-machines%2Flinux%2F%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EAzure%20Linux%20Virtual%20Machines%20documentation%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Ftemplates%2Fmicrosoft.compute%2Fallversions%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3ETemplate%20reference%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fresources%2Ftemplates%2F%3FresourceType%3DMicrosoft.Compute%26amp%3BpageNumber%3D1%26amp%3Bsort%3DPopular%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EQuickstart%20templates%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Flearn%2Fmodules%2Finteractive-deep-learning%2F%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EMicrosoft%20learn%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EIf%20you%20are%20new%20to%20template%20deployment%2C%20see%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-resource-manager%2F%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EAzure%20Resource%20Manager%20documentation%3C%2FA%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1414616450%22%20id%3D%22toc-hId--1414616428%22%3E%3CA%20id%3D%22user-content-usage%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23usage%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3EUsage%3C%2FH2%3E%0A%3CP%3EBy%20default%2C%20the%20template%20allows%20network%20traffic%20through%20HTTP%20and%20https%2C%20do%20not%20modify%20the%20network%20and%20security%20group%20rules.%3C%2FP%3E%0A%3CP%3EThe%20deployment%20will%20take%20around%2010%20minutes%20-%20first%2C%20all%20your%20resources%20will%20be%20deployed%2C%20and%20then%20THLJ%20will%20be%20installed%20on%20your%20VM.%20Before%20start%20using%20the%20Jupyter%20Server%2C%20you%20will%20need%20to%20think%20about%20how%20many%20users%20will%20connect%20to%20the%20VM.%20The%20virtual%20machine%20can%20be%20scaled%20up%20depending%20on%20your%20subscription%20to%20a%20larger%20machine%20if%20you%20need%20it.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EFor%20Classroom%20Environments%3C%2FSTRONG%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20is%20recommended%201%20GB%20of%20memory%20per%20user%20if%20you%20are%20using%20a%20CPU%20based%20VM%20and%202%20GB%20of%20memory%20per%20user%20if%20you%20are%20using%20a%20GPU%20based%20virtual%20machine.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fadmin%2Fresource-estimation.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EEstimate%20Memory%20%2F%20CPU%20%2F%20Disk%20needed%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fvirtual-machines%2Flinux%2Fsizes-general%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EAzure%20VM%20sizes%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fvirtual-machines%2Fwindows%2Fdisks-types%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EAzure%20VMs%20disks%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThe%20Classroom%20template%20supports%20the%20following%20VM%20Sizes%20which%20have%20been%20optimized%20for%20multi-user%20experiences.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--724054976%22%20id%3D%22toc-hId--724054954%22%3E%3CA%20id%3D%22user-content-cpu-machines%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23cpu-machines%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3ECPU%20Machines%3C%2FH3%3E%0A%3CUL%3E%0A%3CLI%3E%22CPU-8GB%22%3A%20%22Standard_F4s_v2%22%3C%2FLI%3E%0A%3CLI%3E%22CPU-14GB%22%3A%20%22Standard_DS3_v2%22%3C%2FLI%3E%0A%3CLI%3E%22CPU-16GB%22%3A%20%22Standard_D4s_v3%22%3C%2FLI%3E%0A%3CLI%3E%22CPU-28GB%22%3A%20%22Standard_DS4_v2%22%3C%2FLI%3E%0A%3CLI%3E%22CPU-32GB%22%3A%20%22Standard_F4s_v2%22%3C%2FLI%3E%0A%3CLI%3E%22CPU-64GB%22%3A%20%22Standard_D16s_v3%22%3C%2FLI%3E%0A%3CLI%3E%22CPU-112GB%22%3A%20%22Standard_DS14-4_v2%22%3C%2FLI%3E%0A%3CLI%3E%22CPU-128GB%22%3A%20%22Standard_E16s_v3%22%3C%2FLI%3E%0A%3CLI%3E%22CPU-256Gb%22%3A%20%22Standard_E32_v3%22%3C%2FLI%3E%0A%3CLI%3E%22CPU-432Gb%22%3A%22Standard%20E64_v3%22%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId-1763457857%22%20id%3D%22toc-hId-1763457879%22%3E%3CA%20id%3D%22user-content-gpu-machines%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23gpu-machines%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3EGPU%20Machines%3C%2FH3%3E%0A%3CUL%3E%0A%3CLI%3E%22GPU-56GB%22%3A%20%22Standard_NC6_Promo%22%3C%2FLI%3E%0A%3CLI%3E%22GPU-112GB%22%3A%22Standard_NV12%22%3C%2FLI%3E%0A%3CLI%3E%22GPU-224GB%22%3A%22Standard_NV24%22%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3Ei.e.%20if%20you%20want%20a%20CPU%20based%20VM%20to%20be%20used%20by%2080%20users%2C%20you%20will%20need%20a%20VM%20with%20100%20GB%20of%20memory.%3C%2FP%3E%0A%3CP%3EFor%20more%20details%20on%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fvirtual-machines%2Flinux%2Fsizes-compute%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EAzure%20Compute%20Sizes%3C%2FA%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--43996606%22%20id%3D%22toc-hId--43996584%22%3E%3CA%20id%3D%22user-content-storage-support%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23storage-support%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3EStorage%20Support%3C%2FH3%3E%0A%3CP%3EIt%20is%20recommended%20that%20you%20store%20all%20data%20on%20the%20external%20storage%20provided%20to%20the%20Virtual%20Machine%2C%20you%20can%20setup%20a%20external%20disk%20of%20the%20following%20size.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E1024%3C%2FLI%3E%0A%3CLI%3E2048%3C%2FLI%3E%0A%3CLI%3E4096%3C%2FLI%3E%0A%3CLI%3E8192%3C%2FLI%3E%0A%3CLI%3E16384%3C%2FLI%3E%0A%3CLI%3E32767%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId--1851451069%22%20id%3D%22toc-hId--1851451047%22%3E%3CA%20id%3D%22user-content-architecture-of-the-deployment%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23architecture-of-the-deployment%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3EArchitecture%20of%20the%20Deployment%3C%2FH3%3E%0A%3CP%3EAll%20the%20resources%20associated%20to%20the%20Jupyter%20Deployment%20are%20grouped%20in%20the%20same%20region%20defined%20for%20your%20Resource%20group.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorclipboard_image_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CH3%20id%3D%22toc-hId-636061764%22%20id%3D%22toc-hId-636061786%22%3E%3CA%20id%3D%22user-content-connect%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23connect%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3EConnect%3C%2FH3%3E%0A%3CP%3ETo%20check%20your%20new%20Virtual%20Machine%20Expand%20the%20left-hand%20panel%20by%20clicking%20on%20the%20%E2%80%9C%26gt%3B%26gt%3B%E2%80%9D%20button%20on%20the%20top%20left%20corner%20of%20your%20dashboard.%20Find%20the%20Virtual%20Machines%20tab%20and%20click%20on%20it.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorclipboard_image_1%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3ETo%20connect%20with%20our%20JupyterHub%2C%20you%20will%20need%20to%20copy%20the%20Public%20IP%20address%20of%20your%20virtual%20machine%2C%20and%20trying%20to%20access%20it%20with%20a%20browser.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorclipboard_image_2%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3ENote%20that%20accessing%20the%20JupyterHub%20will%20fail%20until%20the%20installation%20is%20complete%2C%20so%20if%20you%20just%20created%20it%2C%20be%20patient.%3C%2FP%3E%0A%3CP%3EWhen%20the%20installation%20is%20complete%2C%20it%20should%20give%20you%20a%20JupyterHub%20login%20page%3A%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorclipboard_image_3%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3ELogin%20using%20the%20admin%20username%20you%20typed%20at%20the%20time%20of%20creating%20the%20virtual%20machine%20and%20the%20password.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3ETemplates%20Location%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F101-vm-linux-Jupyterhub%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EStudent%2FIndividual%20JupyterHub%20Template%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3ETo%20Deploy%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23create%2FMicrosoft.Template%2Furi%2Fhttps%253A%252F%252Fraw.githubusercontent.com%252FAzure%252Fazure-quickstart-templates%252Fmaster%252F101-vm-linux-Jupyterhub%252Fazuredeploy.json%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20161px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166308i9DEB5595E6E9799D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22deploytoazure.png%22%20title%3D%22deploytoazure.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EClassroom%20JupyterHub%20Template%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20Deploy%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23create%2FMicrosoft.Template%2Furi%2Fhttps%253A%252F%252Fraw.githubusercontent.com%252FAzure%252Fazure-quickstart-templates%252Fmaster%252F201-vm-linux-Jupyterhub%252Fazuredeploy.json%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20161px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166308i9DEB5595E6E9799D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22deploytoazure.png%22%20title%3D%22deploytoazure.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorclipboard_image_4%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CH3%20id%3D%22toc-hId--1171392699%22%20id%3D%22toc-hId--1171392677%22%3E%3CA%20id%3D%22user-content-post-deployment-steps%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23post-deployment-steps%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3EPost%20Deployment%20Steps%3C%2FH3%3E%0A%3CP%3ETo%20set%20up%20our%20connection%20via%20HTTPS%2C%20you%20will%20need%20to%20type%20some%20commands%20into%20the%20Linux%20Shell%20Script%20of%20the%20virtual%20machine.%20Let's%20go%20to%20the%20resource%2C%20and%20enter%20on%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ERun%20command%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Esection.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorclipboard_image_5%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3ENow%2C%20click%20on%20the%20%5BRunShellScript%5D%20button.%20You%20will%20need%20to%20introduce%20the%20next%20commands%20to%20configure%20the%20HTTPS.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3Esudo%20tljh-config%20set%20https.enabled%20true%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Esudo%20tljh-config%20set%20https.letsencrypt.email%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22mailto%3Ayou%40example.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Eyou%40example.com%3C%2FA%3E%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Esudo%20tljh-config%20add-item%20https.letsencrypt.domains%20%3CDOMAIN.PUBLICIP%3E%3C%2FDOMAIN.PUBLICIP%3E%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Esudo%20tljh-config%20reload%20proxy%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EWhere%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22mailto%3Ayou%40example.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Eyou%40example.com%3C%2FA%3E%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eis%20your%20email%20address%20and%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Edomain.PublicIP%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eis%20the%20domain%20where%20your%20hub%20will%20be%20running.%20Here%20is%20an%20example%20of%20how%20it%20should%20look%20like%3A%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorclipboard_image_6%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3EAfter%20that%2C%20let's%20press%20the%20%5BRun%5D%20button.%20If%20we%20visit%20our%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Epublic%20IP%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewhere%20our%20Jupyter-Hub%20is%20been%20running%2C%20we%20will%20see%20something%20like%20that%3A%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorclipboard_image_7%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CH2%20id%3D%22toc-hId--1181895803%22%20id%3D%22toc-hId--1181895781%22%3E%3CA%20id%3D%22user-content-setting-up-storage-and-sharing-notebooks%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23setting-up-storage-and-sharing-notebooks%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3ESetting%20up%20Storage%20and%20sharing%20notebooks%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fcontent%2Fnbgitpuller.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EDistributing%20materials%20to%20users%20with%20nbgitpuller%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fcontent%2Fadd-data.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EAdding%20data%20to%20the%20JupyterHub%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fenv%2Fserver-resources.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EShare%20data%20with%20your%20users%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-1305617030%22%20id%3D%22toc-hId-1305617052%22%3E%3CA%20id%3D%22user-content-adding-users-to-the-jupyterhub%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23adding-users-to-the-jupyterhub%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3EAdding%20users%20to%20the%20Jupyterhub%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fadmin%2Fadmin-users.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EAdd%20%2F%20Remove%20admin%20users%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fauth%2Fdummy.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EAuthenticate%20any%20user%20with%20a%20single%20shared%20password%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fauth%2Fgithub.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EAuthenticate%20using%20GitHub%20Usernames%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fauth%2Ffirstuse.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ELet%20users%20choose%20a%20password%20when%20they%20first%20log%20in%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fauth%2Fnativeauth.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ELet%20users%20sign%20up%20with%20a%20username%20and%20password%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--501837433%22%20id%3D%22toc-hId--501837411%22%3E%3CA%20id%3D%22user-content-configuring-environments%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23configuring-environments%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3EConfiguring%20Environments%3C%2FH2%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fenv%2Fuser-environment.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EInstall%20conda%2C%20pip%20or%20apt%20packages%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%5BChange%20default%20User%20Interface%20for%20users%5D%20(%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fenv%2Fnotebook-interfaces.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fenv%2Fnotebook-interfaces.html%3C%2FA%3E)%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fenv%2Fserver-resources.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EConfigure%20resources%20available%20to%20users%3C%2FA%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--635522157%22%20id%3D%22toc-hId--635522135%22%3E%3CA%20id%3D%22user-content-system-maintenance%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23system-maintenance%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3ESystem%20Maintenance%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fadmin%2Fresize.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EResize%20the%20resources%20available%20to%20your%20JupyterHub%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fadmin%2Fnbresuse.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ECheck%20your%20memory%20usage%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fhowto%2Fadmin%2Fenable-extensions.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EEnabling%20Jupyter%20Notebook%20extensions%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId-1981073395%22%20id%3D%22toc-hId-1981073417%22%3E%3CA%20id%3D%22user-content-additional-resources%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-vm-linux-jupyterhub%23additional-resources%22%20aria-hidden%3D%22true%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3C%2FA%3EAdditional%20Resources%3C%2FH3%3E%0A%3CUL%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-resource-manager%2Ftemplate-deployment-overview%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EAzure%20Resource%20Manger%20templates%20docs%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fthe-littlest-jupyterhub.readthedocs.io%2Fen%2Flatest%2Findex.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EThe%20Littlest%20JupyterHub%20docs%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fglobal-infrastructure%2Fservices%2F%3Fproducts%3Dvirtual-machines%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EVM%20available%20regions%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1120309%22%20slang%3D%22en-US%22%3E%3CP%3EA%20simple%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22reference%20external%22%20href%3D%22https%3A%2F%2Fgithub.com%2Fjupyterhub%2Fjupyterhub%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EJupyterHub%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Edistribution%20for%20a%20small%20(1-400)%20number%20of%20users%20on%20a%20single%20server.%20Based%20on%20JupyterOrg%20%3CA%20href%3D%22http%3A%2F%2Ftljh.jupyter.org%2Fen%2Flatest%2F%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Ftljh.jupyter.org%2Fen%2Flatest%2F%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EWe%20recommend%20reading%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22reference%20internal%22%20href%3D%22http%3A%2F%2Ftljh.jupyter.org%2Fen%2Flatest%2Ftopic%2Fwhentouse.html%23topic-whentouse%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20class%3D%22std%20std-ref%22%3EWhen%20to%20use%20The%20Littlest%20JupyterHub%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20determine%20if%20this%20is%20the%20right%20tool%20for%20you.%3C%2FP%3E%0A%3CDIV%20id%3D%22development-status%22%20class%3D%22section%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1120309%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ejupyterhub%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Evm%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

We have been working on two new Azure templates to help academics and students deploy a JupyterHub Server using a Ubuntu Linux VM.

These templates allow you to deploy a CPU or GPU based VM in the resource group location and will return the admin user name, Virtual Network Name, Network Security Group Name and FQDN.

If you are new to Azure virtual machines, see:

If you are new to template deployment, see:

Azure Resource Manager documentation

Usage

By default, the template allows network traffic through HTTP and https, do not modify the network and security group rules.

The deployment will take around 10 minutes - first, all your resources will be deployed, and then THLJ will be installed on your VM. Before start using the Jupyter Server, you will need to think about how many users will connect to the VM. The virtual machine can be scaled up depending on your subscription to a larger machine if you need it.

For Classroom Environments 

It is recommended 1 GB of memory per user if you are using a CPU based VM and 2 GB of memory per user if you are using a GPU based virtual machine.

The Classroom template supports the following VM Sizes which have been optimized for multi-user experiences.

CPU Machines

  • "CPU-8GB": "Standard_F4s_v2"
  • "CPU-14GB": "Standard_DS3_v2"
  • "CPU-16GB": "Standard_D4s_v3"
  • "CPU-28GB": "Standard_DS4_v2"
  • "CPU-32GB": "Standard_F4s_v2"
  • "CPU-64GB": "Standard_D16s_v3"
  • "CPU-112GB": "Standard_DS14-4_v2"
  • "CPU-128GB": "Standard_E16s_v3"
  • "CPU-256Gb": "Standard_E32_v3"
  • "CPU-432Gb":"Standard E64_v3"

GPU Machines

  • "GPU-56GB": "Standard_NC6_Promo"
  • "GPU-112GB":"Standard_NV12"
  • "GPU-224GB":"Standard_NV24"

i.e. if you want a CPU based VM to be used by 80 users, you will need a VM with 100 GB of memory.

For more details on Azure Compute Sizes

Storage Support

It is recommended that you store all data on the external storage provided to the Virtual Machine, you can setup a external disk of the following size.

  • 1024
  • 2048
  • 4096
  • 8192
  • 16384
  • 32767

Architecture of the Deployment

All the resources associated to the Jupyter Deployment are grouped in the same region defined for your Resource group.

 

Connect

To check your new Virtual Machine Expand the left-hand panel by clicking on the “>>” button on the top left corner of your dashboard. Find the Virtual Machines tab and click on it.

 

To connect with our JupyterHub, you will need to copy the Public IP address of your virtual machine, and trying to access it with a browser.

 

Note that accessing the JupyterHub will fail until the installation is complete, so if you just created it, be patient.

When the installation is complete, it should give you a JupyterHub login page:

 

Login using the admin username you typed at the time of creating the virtual machine and the password.

Templates Location

 

Student/Individual JupyterHub Template


To Deploy deploytoazure.png 

Classroom JupyterHub Template

To Deploy deploytoazure.png 

 

Post Deployment Steps

To set up our connection via HTTPS, you will need to type some commands into the Linux Shell Script of the virtual machine. Let's go to the resource, and enter on the Run command section.

 

Now, click on the [RunShellScript] button. You will need to introduce the next commands to configure the HTTPS.

sudo tljh-config set https.enabled true sudo tljh-config set https.letsencrypt.email you@example.com sudo tljh-config add-item https.letsencrypt.domains <domain.PublicIP> sudo tljh-config reload proxy

Where you@example.com is your email address and domain.PublicIP is the domain where your hub will be running. Here is an example of how it should look like:

 

After that, let's press the [Run] button. If we visit our public IP where our Jupyter-Hub is been running, we will see something like that:

 

Setting up Storage and sharing notebooks

Adding users to the Jupyterhub

Configuring Environments

Install conda, pip or apt packages

[Change default User Interface for users] (https://the-littlest-jupyterhub.readthedocs.io/en/latest/howto/env/notebook-interfaces.html)

Configure resources available to users

System Maintenance

Additional Resources