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
:alt: Choose vm size
* Settings
* High Availability
* **Availability zone**. Make sure "None" is selected.
* **Availability set**. Make sure "None" is selected.
* Availability options
* Select no infrastructure redundancy required
* Storage
* **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
* **Virtual network**. Do not change this.
* **Subnet**. Do not change this.
@@ -89,11 +90,11 @@ Customize the virtual machine
* Auto-Shutdown
* **Enable auto-shutdown**. Choose "Off".
* Monitoring
* **Boot diagnostics**. Choose "Enabled".
* **Guest OS diagnostics**. Choose "Disabled".
* **Diagnostics storage account**. Leave as teh default.
* **Boot diagnostics**. Choose "On".
* **OS guest diagnostics**. Choose "Disabled".
* **Diagnostics storage account**. Leave as the default.
* Managed service identity
* **Register with Azure Active Directory**. Choose "No".
* **System assigned managed identity**. Choose "No".
* Backup
* **Backup**. Choose "Disabled".
@@ -103,39 +104,43 @@ Customize the virtual machine
* Summary -> confirm -> OK
![](https://i.imgur.com/VNEOnHA.png)
* Confirm that it worked
* Wait for it to be created. Should take about 5-10 minutes.
* Go to "Virtual Machines", you should see it there.
* Wait for it to be created. This might take about 5-10 minutes.
* After completion you should see a similar screen to the one below:
![](https://i.imgur.com/RoOnGOa.png)
.. image:: ../images/providers/azure/deployed-vm.png
:alt: Deployed vm
## SSH into your virtual machine
SSH into your virtual machine
------------------------------
* Click on **Virtual Machines** and then click on your recently-created VM.
![](https://i.imgur.com/bEf8kGG.png)
* Click on go to resource (see image above)
* 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.
* SSH into your VM:
* SSH into your VM: ::
```bash
ssh <username>@<ip-address>
```
ssh <username>@<ip-address>
## Install JupyterHub
* Follow the guide at https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/custom.html#install-custom
where the username is the one you chose in the Settings step.
## (optional) Delete your virtual machine
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"
* Click your machine name
* Click on your machine name
* 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