Complete Azure instructions

This commit is contained in:
Tania Allard
2019-05-20 16:13:21 +01:00
parent 7cec72564c
commit 8f6483beec
10 changed files with 35 additions and 30 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

View File

@@ -70,14 +70,15 @@ Customize the virtual machine
.. image:: ../images/providers/azure/size-vm.png .. image:: ../images/providers/azure/size-vm.png
:alt: Choose vm size :alt: Choose vm size
* Settings * Settings
* High Availability * Availability options
* **Availability zone**. Make sure "None" is selected. * Select no infrastructure redundancy required
* **Availability set**. Make sure "None" is selected.
* Storage * Storage
* **Use managed disks**. Choose "yes" * **Use managed disks**. Choose "yes"
* **OS disk size**. Select the appropriate size for your JupyterHub. * **OS disk size**. Click on create and attach a new disk. Select an appropriate type and size and click ok.
.. image:: ../images/providers/azure/disk-vm.png
:alt: Choose disk size
* Network * Network
* **Virtual network**. Do not change this. * **Virtual network**. Do not change this.
* **Subnet**. Do not change this. * **Subnet**. Do not change this.
@@ -89,53 +90,57 @@ Customize the virtual machine
* Auto-Shutdown * Auto-Shutdown
* **Enable auto-shutdown**. Choose "Off". * **Enable auto-shutdown**. Choose "Off".
* Monitoring * Monitoring
* **Boot diagnostics**. Choose "Enabled". * **Boot diagnostics**. Choose "On".
* **Guest OS diagnostics**. Choose "Disabled". * **OS guest diagnostics**. Choose "Disabled".
* **Diagnostics storage account**. Leave as teh default. * **Diagnostics storage account**. Leave as the default.
* Managed service identity * Managed service identity
* **Register with Azure Active Directory**. Choose "No". * **System assigned managed identity**. Choose "No".
* Backup * Backup
* **Backup**. Choose "Disabled". * **Backup**. Choose "Disabled".
.. image:: ../images/providers/azure/backup-vm.png .. image:: ../images/providers/azure/backup-vm.png
:alt: Choose vm Backup :alt: Choose vm Backup
* Summary -> confirm -> OK * Summary -> confirm -> OK
![](https://i.imgur.com/VNEOnHA.png)
* Confirm that it worked * Confirm that it worked
* Wait for it to be created. Should take about 5-10 minutes. * Wait for it to be created. This might take about 5-10 minutes.
* Go to "Virtual Machines", you should see it there. * After completion you should see a similar screen to the one below:
![](https://i.imgur.com/RoOnGOa.png)
## SSH into your virtual machine
* Click on **Virtual Machines** and then click on your recently-created VM. .. image:: ../images/providers/azure/deployed-vm.png
:alt: Deployed vm
![](https://i.imgur.com/bEf8kGG.png) SSH into your virtual machine
------------------------------
* Click on go to resource (see image above)
* Copy the **Public IP address** * Copy the **Public IP address**
![](https://i.imgur.com/8ydNm2l.png) .. image:: ../images/providers/azure/ip-vm.png
:alt: Get IP address
* Open a terminal on your local machine. * Open a terminal on your local machine.
* SSH into your VM: * SSH into your VM: ::
```bash
ssh <username>@<ip-address>
```
## Install JupyterHub ssh <username>@<ip-address>
* Follow the guide at https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/custom.html#install-custom
## (optional) Delete your virtual machine where the username is the one you chose in the Settings step.
Install JupyterHub
===================
* Follow the guide at `https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/custom.html#install-custom <https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/custom.html#install-custom>`_
(optional) Delete your virtual machine
=======================================
* Go to "Virtual Machines" * Go to "Virtual Machines"
* Click your machine name * Click on your machine name
* Click on "Stop" to stop the machine temporarily, or "Delete" to delete it permanently. * Click on "Stop" to stop the machine temporarily, or "Delete" to delete it permanently.
![](https://i.imgur.com/6CgoYDx.png) .. image:: ../images/providers/azure/delete-vm.png
:alt: Delete vm