Giter VIP home page Giter VIP logo

tljh-azure-button's Introduction

License: MIT

The Littlest JupyterHub deploy to Azure button

Prerequisites

You need an Azure account to be able to spin your JupyterHub.

⭐ You can get a free account with 150 USD worth of credit following πŸ‘‰πŸΌ this link πŸ‘ˆπŸΌ

πŸ€” What is the Littlest JupyterHub?

A simple JupyterHub distribution for a small (1-100) number of users on a single server. You can find more info about it in the official docs πŸ‘‰πŸΌ https://the-littlest-jupyterhub.readthedocs.io/en/latest/index.html

What is in this repo?

This repository contains the ARM (Azure Resource Manager) template for the Littlest JupyterHub deployment. This template was created to help you deploy a vanilla Littlest JupyterHub by clicking on the deploy to Azure blue button at the top of this document.

πŸ’» How does the Deploy on Azure button work?

The ARM template contains all the basic configuration needed to deploy your own Littlest JupyterHub on Azure.

This template follows the configuration detailed in https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/azure.html. But it reduces some of the friction by eliminating the need to create resources manually using the Azure portal.

🚨 Note that you still need to remove your resources manually when you are done using them.

🚧 To deploy your TLJH follow these steps:

  1. Create an Azure account (if you need a free one go to πŸ‘‰πŸΌ this link πŸ‘ˆπŸΌ)
  2. Click on the Deploy to Azure button at the top of the Readme. This will redirect you to the Azure portal login page.
  3. Login to your account.
  4. Fill in the details in the next screen:

custom template

  • Subscription: choose the subscription you want to use (e.g. Free Trial)
  • Resource group: this will keep all of our resources together. If you have never created a resource group click on Create new and give it a meaningful name (e.g. jupyter-resources)
  • Location: this is the Azure region where you want all your resources to be (e.g. WestEurope, you can check all the available regions here)
  • Virtual Machine Name: the name for your virtual machine
  • Virtual Machine Size: this will be determined by the workload. You can check the list of available VM sizes here
  • Admin UserName: this will be the root user and is needed for the management of your TLJH
  • Admin password: choose a secure password for your root user
  • OS Disk Type: you have the options Standard HDD (LRS), Standard SSD and Premium SSD (for more details see the docs)
  • Data Disk Size: the size of your Data disk size (for more details visit the docs)

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

  1. Once completed, read the terms and conditions and if you are happy with them tick the I agree to the terms and conditions stated above box and click on the Purchase button.

The deployment will take around 10 minutes - first, all your resources will be deployed, and then THLJ will be installed on your VM.

  1. 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.

azure portal vm

  1. Click on your Virtual Machine, copy the Public IP address and access it on the web browser.

ip

🚨 Note this page will be unavailable during installation. If this happens, give it a bit longer and refresh the page.

Once the installation is complete, you will get a login page login

  1. Login using the admin username and password you created before
  2. Congratulations you have a running working JupyterHub πŸŽ‰

πŸ‘©πŸΏβ€πŸ’»βœ¨ You are now ready to add users, install packages and start using your JupyterHub. For instructions on how to do this visit πŸ‘‰πŸΌ the official documentation

🚧 Architecture

When you deploy a JupyterHub on Azure (either using the Deploy to Azure button or follow the steps from the docs) the following resources are created:

vms

They are all grouped in the same region defined for your Resource group.

Details on how to delete and stop your virtual machine can be found at https://the-littlest-jupyterhub.readthedocs.io/en/latest/howto/providers/azure.html.

If you want to get rid of all the associated resources after you are done with your JupyterHub the easiest way to do it is deleting the resource group altogether (providing you do not have other resources in this group that you might need later).

To delete a resource group:

  1. Go to "Resource groups” on the left-hand panel of your Azure Portal.
  2. Click on the resource group that contains your JupyterHub resources.
  3. Click on β€œDelete resource group” you will then be asked to confirm the operation. This operation will take between 5 and 10 minutes.

πŸ“– Additional resources

Here are some links that you might find useful when using the contents in this repo.

Issues and contributing

Contributions are welcome. Also, if you encounter any issues, please go ahead and create an issue in this repo.

The detailed contribution guidelines can be found πŸ‘‰πŸΌ here

tljh-azure-button's People

Contributors

trallard avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.