%3CLINGO-SUB%20id%3D%22lingo-sub-687974%22%20slang%3D%22en-US%22%3EDeploying%20BinderHub%20onto%20Microsoft%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-687974%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20588px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117924iC223F82AD8B6F991%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22AzureBinder.png%22%20title%3D%22AzureBinder.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fbinderhub.readthedocs.io%2Fen%2Flatest%2Findex.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EBinderHub%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eis%20a%20cloud-based%2C%20multi-server%20technology%20used%20for%20hosting%20repoducible%20computing%20environments%20and%20interactive%20Jupyter%20Notebooks%20built%20from%20code%20repositories.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20blog%20will%20walk%20you%20through%20getting%20started%20and%20deploying%20a%20BinderHub%20onto%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-gb%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMicrosoft%20Azure%3C%2FA%3E%2C%20and%20connect%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fhub.docker.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EDockerHub%26nbsp%3B%3C%2FA%3Econtainer%20registry%2C%20so%20that%20you%20can%20host%20your%20own%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmybinder.readthedocs.io%2Fen%2Flatest%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EBinder%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eservice.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3EWe%20would%20like%20to%20acknowledge%20and%20thank%20the%20following%20people%20for%20their%20contributions%20to%20this%20project%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ETim%20Greaves%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ftmbgreaves%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%40tmbgreaves%3C%2FA%3E)%3C%2FLI%3E%0A%3CLI%3EGerard%20Gorman%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fggorman%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%40ggorman%3C%2FA%3E)%3C%2FLI%3E%0A%3CLI%3ETania%20Allard%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ftrallard%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%40trallard%3C%2FA%3E)%3C%2FLI%3E%0A%3CLI%3EDiego%20Alonso%20Alvarez%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdalonsoa%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%40dalonsoa%3C%2FA%3E)%3C%2FLI%3E%0A%3CLI%3ESarah%20Gibson%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fsgibson91%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%40sgibson91%3C%2FA%3E)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3EYou%20will%20require%20a%20Microsoft%20Azure%20account%20and%20subscription.%20A%20Free%20Trial%20subscription%20can%20be%20obtained%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fazure4students%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere.%3C%2FA%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20are%20building%20a%20BinderHub%20as%20a%20service%20for%20an%20organisation%2C%20your%20institution%20may%20already%20have%20an%20Azure%20account.%20You%20should%20contact%20your%20IT%20Services%20for%20further%20information%20regarding%20permissions%20and%20access%20(see%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EService%20Principal%20Creation%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Esection%20below).%26nbsp%3B%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2FREADME.md%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EThere%20is%20a%20documented%20repo%20which%20contains%20a%20set%20of%20scripts%20to%20automatically%20deploy%3C%2FA%3E%20a%20BinderHub%20onto%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-gb%2F%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EMicrosoft%20Azure%3C%2FA%3E%3CSPAN%3E%2C%20and%20connect%20a%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fhub.docker.com%2F%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EDockerHub%26nbsp%3B%3C%2FA%3E%3CSPAN%3Econtainer%20registry%2C%20so%20that%20you%20can%20host%20your%20own%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmybinder.readthedocs.io%2Fen%2Flatest%2F%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EBinder%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bservice.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1766703332%22%20id%3D%22toc-hId-1766703332%22%20id%3D%22toc-hId-1766703332%22%3E%3CA%20id%3D%22user-content-deploy-to-azure-button%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2FREADME.md%23deploy-to-azure-button%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3E%22Deploy%20to%20Azure%22%20Button%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3E%22Platform%20as%20a%20Service%22%20through%20the%20%22Deploy%20to%20Azure%22%20button%20you%20can%20quickly%26nbsp%3B%3C%2FSPAN%3E%26nbsp%3Bdeploy%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fbinderhub.readthedocs.io%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EBinderHub%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20Azure%20in%20a%20single%20click%20(and%20some%20form-filling)%2C%20use%20the%20deploy%20button%20below.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23create%2FMicrosoft.Template%2Furi%2Fhttps%253A%252F%252Fraw.githubusercontent.com%252Falan-turing-institute%252Fbinderhub-deploy%252Fmaster%252Fazure%252Fpaas%252Farm%252Fazure.deploy.json%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fcamo.githubusercontent.com%2Fe7b1b9ce24d806be8d829c59eb3c790e8a6bde11%2F68747470733a2f2f617a7572656465706c6f792e6e65742f6465706c6f79627574746f6e2e737667%22%20border%3D%220%22%20alt%3D%22Deploy%20to%20Azure%22%20data-canonical-src%3D%22https%3A%2F%2Fazuredeploy.net%2Fdeploybutton.svg%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--981967134%22%20id%3D%22toc-hId--981967134%22%20id%3D%22toc-hId--981967134%22%3E%3CA%20id%3D%22user-content-service-principal-creation%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2FREADME.md%23service-principal-creation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3EService%20Principal%20Creation%3C%2FH3%3E%0A%3CP%3EYou%20will%20be%20asked%20to%20provide%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevelop%2Fapp-objects-and-service-principals%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EService%20Principal%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ein%20the%20form%20launched%20when%20you%20click%20the%20%22Deploy%20to%20Azure%22%20button%20above.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%5B%3CSTRONG%3ENOTE%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EThe%20following%20instructions%20can%20also%20be%20run%20in%20a%20local%20terminal%20session.%20They%20will%20require%20the%20Azure%20command%20line%20to%20be%20installed%2C%20so%20make%20sure%20to%20run%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fsetup.sh%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Esetup.sh%3C%2FCODE%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efirst.%5D%3C%2FP%3E%0A%3CP%3ETo%20create%20a%20Service%20Principal%2C%20go%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Portal%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(and%20login!)%20and%20open%20the%20Cloud%20Shell%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fopen_shell_in_azure.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fopen_shell_in_azure.png%22%20border%3D%220%22%20alt%3D%22Open%20Shell%20in%20Azure%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20may%20be%20asked%20to%20create%20storage%20when%20you%20open%20the%20shell.%20This%20is%20expected%2C%20click%20%22Create%22.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMake%20sure%20the%20shell%20is%20set%20to%20Bash%2C%20not%20PowerShell.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fbash_shell.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fbash_shell.png%22%20border%3D%220%22%20alt%3D%22Bash%20Shell%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3ESet%20the%20subscription%20you'd%20like%20to%20deploy%20your%20BinderHub%20on.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%3Eaz%20account%20set%20-s%20%3CSUBSCRIPTION%3E%0A%3C%2FSUBSCRIPTION%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20image%20shows%20the%20command%20being%20executed%20for%20an%20%22Azure%20Pass%20-%20Sponsorship%22%20subscription.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fset_subscription.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fset_subscription.png%22%20border%3D%220%22%20alt%3D%22Set%20Subscription%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20will%20need%20the%20subscription%20ID%2C%20which%20you%20can%20retrieve%20by%20running%3A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%3Eaz%20account%20list%20--refresh%20--output%20table%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Faz_account_list.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Faz_account_list.png%22%20border%3D%220%22%20alt%3D%22List%20Subscriptions%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENext%2C%20create%20the%20Service%20Principal%20with%20the%20following%20command.%20Make%20sure%20to%20give%20it%20a%20sensible%20name!%3C%2FP%3E%0A%3CPRE%3E%3CCODE%3Eaz%20ad%20sp%20create-for-rbac%20--name%20binderhub-sp%20--role%20contributor%20--scopes%20%2Fsubscriptions%2F%3CSUBSCRIPTION%20id%3D%22%22%20from%3D%22%22%20above%3D%22%22%3E%0A%3C%2FSUBSCRIPTION%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fcreate-for-rbac.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fcreate-for-rbac.png%22%20border%3D%220%22%20alt%3D%22Create%20Service%20PRincipal%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20fields%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EappId%3C%2FCODE%3E%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Epassword%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Etenant%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eare%20the%20required%20pieces%20of%20information.%20These%20should%20be%20copied%20into%20the%20%22Service%20Principal%20App%20ID%22%2C%20%22Service%20Principal%20App%20Key%22%20and%20%22Service%20Principal%20Tenant%20ID%22%20fields%20in%20the%20form%2C%20respectively.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EKeep%20this%20information%20safe%20as%20the%20password%20cannot%20be%20recovered%20after%20this%20step!%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-760843201%22%20id%3D%22toc-hId-760843201%22%20id%3D%22toc-hId-760843201%22%3E%3CA%20id%3D%22user-content-monitoring-deployment-progress%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2FREADME.md%23monitoring-deployment-progress%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3EMonitoring%20Deployment%20Progress%3C%2FH3%3E%0A%3CP%3ETo%20monitor%20the%20progress%20of%20the%20blue-button%20deployment%2C%20go%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20portal%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%20select%20%22Resource%20Groups%22%20from%20the%20left%20hand%20pane.%20Then%20in%20the%20central%20pane%20select%20the%20resource%20group%20you%20chose%20to%20deploy%20into.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fselect_resource_group.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fselect_resource_group.png%22%20border%3D%220%22%20alt%3D%22Select%20Resource%20Group%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20will%20give%20you%20a%20right%20hand%20pane%20containing%20the%20resources%20within%20the%20group.%20You%20may%20need%20to%20%22refresh%22%20until%20you%20see%20a%20new%20container%20instance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fselect_container_instance.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fselect_container_instance.png%22%20border%3D%220%22%20alt%3D%22Select%20Container%20Instance%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20it%20appears%2C%20select%20it%20and%20then%20in%20the%20new%20pane%20go%20to%20%22Settings-%26gt%3BContainers%22.%20You%20should%20see%20your%20new%20container%20listed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fcontainer_events.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fcontainer_events.png%22%20border%3D%220%22%20alt%3D%22Container%20Events%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESelect%20it%2C%20then%20in%20the%20lower%20right%20hand%20pane%20select%20%22Logs%22.%20You%20may%20need%20to%20%22refresh%22%20this%20to%20display%20the%20logs%20until%20the%20container%20starts%20up.%20The%20logs%20are%20also%20not%20auto-updating%2C%20so%20keep%20refreshing%20them%20to%20see%20progress.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fcontainer_logs.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fcontainer_logs.png%22%20border%3D%220%22%20alt%3D%22Container%20Logs%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1791313760%22%20id%3D%22toc-hId--1791313760%22%20id%3D%22toc-hId--1791313760%22%3E%3CA%20id%3D%22user-content-retrieving-deployment-output-from-azure%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2FREADME.md%23retrieving-deployment-output-from-azure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3ERetrieving%20Deployment%20Output%20from%20Azure%3C%2FH3%3E%0A%3CP%3EWhen%20BinderHub%20is%20deployed%20using%20the%20%22Deploy%20to%20Azure%22%20button%20(or%20with%20a%20local%20container)%2C%20output%20logs%2C%20YAML%20files%2C%20and%20ssh%20keys%20are%20pushed%20to%20an%20Azure%20storage%20account%20to%20preserve%20them%20once%20the%20container%20exits.%20The%20storage%20account%20is%20created%20in%20the%20same%20resource%20group%20as%20the%20Kubernetes%20cluster%2C%20and%20files%20are%20pushed%20into%20a%20storage%20blob%20within%20the%20account.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBoth%20the%20storage%20blob%20name%20and%20the%20storage%20account%20name%20are%20derived%20from%20the%20name%20you%20gave%20to%20your%20BinderHub%20instance%2C%20but%20may%20be%20modified%20and%2For%20have%20a%20random%20seed%20appended.%20To%20find%20the%20storage%20account%20name%2C%20navigate%20to%20your%20resource%20group%20by%20selecting%20%22Resource%20Groups%22%20in%20the%20left-most%20panel%20of%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Portal%3C%2FA%3E%2C%20then%20clicking%20on%20the%20resource%20group%20containing%20your%20BinderHub%20instance.%20Along%20with%20any%20pre-existing%20resources%20(for%20example%2C%20if%20you%20re-used%20an%20existing%20resource%20group)%2C%20you%20should%20see%20three%20new%20resources%3A%20a%20container%20instance%2C%20a%20Kubernetes%20service%2C%20and%20a%20storage%20account.%20Make%20a%20note%20of%20the%20name%20of%20the%20storage%20account%20(referred%20to%20in%20the%20following%20commands%20as%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EACCOUNT_NAME%3C%2FCODE%3E)%20then%20select%20this%20storage%20account.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fstorage_account.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fstorage_account.png%22%20border%3D%220%22%20alt%3D%22Storage%20Account%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20new%20pane%20that%20opens%2C%20select%20%22Blobs%22%20from%20the%20%22Services%22%20section.%20You%20should%20see%20a%20single%20blob%20listed.%20Make%20a%20note%20of%20the%20name%20of%20this%20blob%2C%20which%20will%20be%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EBLOB_NAME%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ein%20the%20following%20commands.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fblob_storage.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fblob_storage.png%22%20border%3D%220%22%20alt%3D%22Blob%20Storage%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fimages%2Fselect_blob_storage.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fraw%2Fmaster%2Fimages%2Fselect_blob_storage.png%22%20border%3D%220%22%20alt%3D%22Select%20Blob%20Storage%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Azure%20CLI%20can%20be%20used%20to%20fetch%20files%20from%20the%20blob%20(either%20in%20the%20cloud%20shell%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Portal%3C%2FA%3E%2C%20or%20in%20a%20local%20terminal%20session%20if%20you've%20run%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2F.setup.sh%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Esetup.sh%3C%2FCODE%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efirst).%20Files%20are%20fetched%20into%20a%20local%20directory%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Ewhich%20must%20already%20exist%3C%2FSTRONG%3E%2C%20referred%20to%20as%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EOUTPUT_DIRECTORY%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ein%20the%20following%20commands.%3C%2FP%3E%0A%3CP%3EYou%20can%20run%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fsetup.sh%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Esetup.sh%3C%2FCODE%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20install%20the%20Azure%20CLI%20or%20use%20the%20cloud%20shell%20on%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Portal%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20fetch%20all%20files%3A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%3E%20%20az%20storage%20blob%20download-batch%20--account-name%20%3CACCOUNT_NAME%3E%20--source%20%3CBLOB_NAME%3E%20--pattern%20%22*%22%20-d%20%22%3COUTPUT_DIRECTORY%3E%22%0A%3C%2FOUTPUT_DIRECTORY%3E%3C%2FBLOB_NAME%3E%3C%2FACCOUNT_NAME%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EThe%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E--pattern%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eargument%20can%20be%20used%20to%20fetch%20particular%20files%2C%20for%20example%20all%20log%20files%3A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%3E%20%20az%20storage%20blob%20download-batch%20--account-name%20%3CACCOUNT_NAME%3E%20--source%20%3CBLOB_NAME%3E%20--pattern%20%22*.log%22%20-d%20%22%3COUTPUT_DIRECTORY%3E%22%0A%3C%2FOUTPUT_DIRECTORY%3E%3C%2FBLOB_NAME%3E%3C%2FACCOUNT_NAME%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3ETo%20fetch%20a%20single%20file%2C%20specify%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EREMOTE_FILENAME%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efor%20the%20name%20of%20the%20file%20in%20blob%20storage%2C%20and%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ELOCAL_FILENAME%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efor%20the%20filename%20it%20will%20be%20fetched%20into%3A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%3E%20%20az%20storage%20blob%20download%20--account-name%20%3CACCOUNT_NAME%3E%20--container-name%20%3CBLOB_NAME%3E%20--name%20%3CREMOTE_FILENAME%3E%20--file%20%3CLOCAL_FILENAME%3E%0A%3C%2FLOCAL_FILENAME%3E%3C%2FREMOTE_FILENAME%3E%3C%2FBLOB_NAME%3E%3C%2FACCOUNT_NAME%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EFor%20full%20documentation%2C%20see%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Fstorage%2Fblob%3Fview%3Dazure-cli-latest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Eaz%20storage%20blob%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Edocumentation%3C%2FA%3E.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--48503425%22%20id%3D%22toc-hId--48503425%22%20id%3D%22toc-hId--48503425%22%3E%3CA%20id%3D%22user-content-accessing-your-binderhub-after-deployment%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2FREADME.md%23accessing-your-binderhub-after-deployment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3EAccessing%20your%20BinderHub%20after%20Deployment%3C%2FH3%3E%0A%3CP%3EOnce%20the%20deployment%20has%20succeeded%20and%20you've%20downloaded%20the%20log%20files%2C%20visit%20the%20IP%20address%20of%20your%20Binder%20page%20to%20test%20it's%20working.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Binder%20IP%20address%20can%20be%20found%20by%20running%20the%20following%3A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%3Ecat%20%3COUTPUT_DIRECTORY%3E%2Fbinder-ip.log%0A%3C%2FOUTPUT_DIRECTORY%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EA%20good%20repository%20to%20test%20your%20BinderHub%20with%20is%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fbinder-examples%2Frequirements%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ebinder-examples%2Frequirements%3C%2FA%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1890820415%22%20id%3D%22toc-hId-1890820415%22%20id%3D%22toc-hId-1890820415%22%3E%3CA%20id%3D%22user-content-customising-your-binderhub-deployment%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2FREADME.md%23customising-your-binderhub-deployment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3ECustomising%20your%20BinderHub%20Deployment%3C%2FH2%3E%0A%3CP%3ECustomising%20your%20BinderHub%20deployment%20is%20as%20simple%20as%20editing%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Econfig.yaml%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%2For%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Esecret.yaml%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%20then%20upgrading%20the%20BinderHub%20Helm%20Chart.%20The%20Helm%20Chart%20can%20be%20upgraded%20by%20running%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fupgrade.sh%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Eupgrade.sh%3C%2FCODE%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(make%20sure%20you%20have%20the%20CLIs%20installed%20by%20running%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2Fsetup.sh%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Esetup.sh%3C%2FCODE%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efirst).%3C%2FP%3E%0A%3CP%3EThe%20Jupyter%20guide%20to%20customising%20the%20underlying%20JupyterHub%20can%20be%20found%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fzero-to-jupyterhub.readthedocs.io%2Fen%2Flatest%2Fextending-jupyterhub.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EThe%20BinderHub%20guide%20for%20changing%20the%20landing%20page%20logo%20can%20be%20found%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fbinderhub.readthedocs.io%2Fen%2Flatest%2Fcustomizing.html%23template-customization%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--661336546%22%20id%3D%22toc-hId--661336546%22%20id%3D%22toc-hId--661336546%22%3EAdditional%20Resources%3C%2FH2%3E%0A%3CP%3EA%20full%20technical%20walkthrough%20on%20Binderhub%20on%20Azure%20is%20available%20at%20the%20following%20repo%20see%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2FREADME.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Falan-turing-institute%2Fbinderhub-deploy%2Fblob%2Fmaster%2FREADME.md%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-687974%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fbinderhub.readthedocs.io%2Fen%2Flatest%2Findex.html%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EBinderHub%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eis%20a%20cloud-based%2C%20multi-server%20technology%20used%20for%20hosting%20repoducible%20computing%20environments%20and%20interactive%20Jupyter%20Notebooks%20built%20from%20code%20repositories.%20This%20blog%20will%20walk%20you%20through%20getting%20started%20and%20deploying%20a%20BinderHub%20onto%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-gb%2F%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EMicrosoft%20Azure%3C%2FA%3E%2C%20and%20connect%20a%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fhub.docker.com%2F%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EDockerHub%26nbsp%3B%3C%2FA%3Econtainer%20registry%2C%20so%20that%20you%20can%20host%20your%20own%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fmybinder.readthedocs.io%2Fen%2Flatest%2F%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EBinder%3C%2FA%3E%26nbsp%3Bservice.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1064042%22%20slang%3D%22en-US%22%3ERe%3A%20Deploying%20BinderHub%20onto%20Microsoft%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1064042%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20very%20helpful%20information%20thanks%20for%20this%20great%20work%20guys.%20Thanks%20again.%20%3CA%20href%3D%22https%3A%2F%2Fspecialistinseo.com%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fspecialistinseo.com%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

AzureBinder.png

BinderHub is a cloud-based, multi-server technology used for hosting repoducible computing environments and interactive Jupyter Notebooks built from code repositories.

 

This blog will walk you through getting started and deploying a BinderHub onto Microsoft Azure, and connect a DockerHub container registry, so that you can host your own Binder service.

We would like to acknowledge and thank the following people for their contributions to this project:


You will require a Microsoft Azure account and subscription. A Free Trial subscription can be obtained here.

If you are building a BinderHub as a service for an organisation, your institution may already have an Azure account. You should contact your IT Services for further information regarding permissions and access (see the Service Principal Creation section below). There is a documented repo which contains a set of scripts to automatically deploy a BinderHub onto Microsoft Azure, and connect a DockerHub container registry, so that you can host your own Binder service.

 

"Deploy to Azure" Button

"Platform as a Service" through the "Deploy to Azure" button you can quickly  deploy a BinderHub to Azure in a single click (and some form-filling), use the deploy button below. 

Deploy to Azure

 

 

Service Principal Creation

You will be asked to provide a Service Principal in the form launched when you click the "Deploy to Azure" button above.

 

[NOTE: The following instructions can also be run in a local terminal session. They will require the Azure command line to be installed, so make sure to run setup.sh first.]

To create a Service Principal, go to the Azure Portal (and login!) and open the Cloud Shell:

 

Open Shell in Azure

 

You may be asked to create storage when you open the shell. This is expected, click "Create".

 

Make sure the shell is set to Bash, not PowerShell.

 

Bash Shell

Set the subscription you'd like to deploy your BinderHub on.

az account set -s <subscription>

 

This image shows the command being executed for an "Azure Pass - Sponsorship" subscription.

 

Set Subscription

 

You will need the subscription ID, which you can retrieve by running:

az account list --refresh --output table

List Subscriptions

 

Next, create the Service Principal with the following command. Make sure to give it a sensible name!

az ad sp create-for-rbac --name binderhub-sp --role contributor --scopes /subscriptions/<subscription ID from above>

Create Service PRincipal

 

The fields appId, password and tenant are the required pieces of information. These should be copied into the "Service Principal App ID", "Service Principal App Key" and "Service Principal Tenant ID" fields in the form, respectively.

Keep this information safe as the password cannot be recovered after this step!

Monitoring Deployment Progress

To monitor the progress of the blue-button deployment, go to the Azure portal and select "Resource Groups" from the left hand pane. Then in the central pane select the resource group you chose to deploy into.

Select Resource Group

 

This will give you a right hand pane containing the resources within the group. You may need to "refresh" until you see a new container instance.

 

Select Container Instance

 

When it appears, select it and then in the new pane go to "Settings->Containers". You should see your new container listed.

 

Container Events

 

Select it, then in the lower right hand pane select "Logs". You may need to "refresh" this to display the logs until the container starts up. The logs are also not auto-updating, so keep refreshing them to see progress.

 

Container Logs

Retrieving Deployment Output from Azure

When BinderHub is deployed using the "Deploy to Azure" button (or with a local container), output logs, YAML files, and ssh keys are pushed to an Azure storage account to preserve them once the container exits. The storage account is created in the same resource group as the Kubernetes cluster, and files are pushed into a storage blob within the account.

 

Both the storage blob name and the storage account name are derived from the name you gave to your BinderHub instance, but may be modified and/or have a random seed appended. To find the storage account name, navigate to your resource group by selecting "Resource Groups" in the left-most panel of the Azure Portal, then clicking on the resource group containing your BinderHub instance. Along with any pre-existing resources (for example, if you re-used an existing resource group), you should see three new resources: a container instance, a Kubernetes service, and a storage account. Make a note of the name of the storage account (referred to in the following commands as ACCOUNT_NAME) then select this storage account.

 

Storage Account

 

In the new pane that opens, select "Blobs" from the "Services" section. You should see a single blob listed. Make a note of the name of this blob, which will be BLOB_NAME in the following commands.

 

Blob Storage

Select Blob Storage

 

The Azure CLI can be used to fetch files from the blob (either in the cloud shell in the Azure Portal, or in a local terminal session if you've run setup.sh first). Files are fetched into a local directory, which must already exist, referred to as OUTPUT_DIRECTORY in the following commands.

You can run setup.sh to install the Azure CLI or use the cloud shell on the Azure Portal.

 

To fetch all files:

  az storage blob download-batch --account-name <ACCOUNT_NAME> --source <BLOB_NAME> --pattern "*" -d "<OUTPUT_DIRECTORY>"

The --pattern argument can be used to fetch particular files, for example all log files:

  az storage blob download-batch --account-name <ACCOUNT_NAME> --source <BLOB_NAME> --pattern "*.log" -d "<OUTPUT_DIRECTORY>"

To fetch a single file, specify REMOTE_FILENAME for the name of the file in blob storage, and LOCAL_FILENAME for the filename it will be fetched into:

  az storage blob download --account-name <ACCOUNT_NAME> --container-name <BLOB_NAME> --name <REMOTE_FILENAME> --file <LOCAL_FILENAME>

For full documentation, see the az storage blob documentation.

Accessing your BinderHub after Deployment

Once the deployment has succeeded and you've downloaded the log files, visit the IP address of your Binder page to test it's working.

 

The Binder IP address can be found by running the following:

cat <OUTPUT_DIRECTORY>/binder-ip.log

A good repository to test your BinderHub with is binder-examples/requirements

Customising your BinderHub Deployment

Customising your BinderHub deployment is as simple as editing config.yaml and/or secret.yaml and then upgrading the BinderHub Helm Chart. The Helm Chart can be upgraded by running upgrade.sh (make sure you have the CLIs installed by running setup.sh first).

The Jupyter guide to customising the underlying JupyterHub can be found here.

The BinderHub guide for changing the landing page logo can be found here.

 

Additional Resources

A full technical walkthrough on Binderhub on Azure is available at the following repo see https://github.com/alan-turing-institute/binderhub-deploy/blob/master/README.md

1 Comment
Occasional Visitor

This is very helpful information thanks for this great work guys. Thanks again. https://specialistinseo.com