Overview of Azure Notebooks
Azure Notebooks is a free hosted service to develop and run Jupyter notebooks in the cloud with no installation. Jupyter (formerly IPython) is an open-source project that lets you easily combine Markdown text, executable code, persistent data, graphics, and visualizations onto a single, sharable canvas, the notebook (image courtesy of jupyter.org):
Because of this powerful combination of code, graphics, and explanatory text, Jupyter has become popular for many uses including data science instruction, data cleaning and transformation, numerical simulation, statistical modeling, and the development of machine learning models.
Azure Notebooks helps you to get started quickly on prototyping, data science, academic research, or learning to program Python:
- A data scientist has instant access to a full Anaconda environment with no installation.
- A teacher can provide a hassle-free Python environment to students.
- A presenter can give a like talk or webinar without asking attendees to spend 45 mins installing software.
- A developer or hobbyist can use Notebooks as a quick code scratchpad.
Notebooks become even more powerful when people can collaborate on them through a browser-accessible cloud service like Azure Notebooks (in Preview). In the cloud, users need not install Jupyter locally or concern themselves with maintaining an environment. The cloud also makes it simple to share notebooks (and associated data files) with other authorized users, avoiding the complications of sharing notebooks through external means like source-control repositories. With Azure Notebooks, users can also copy (or "clone") notebooks into their own account for modification or experimentation, which is especially useful for instruction purposes.
Because Azure Notebooks is a general code authoring, execution and sharing platform, you can use it for many diverse scenarios:
- Learn a new programming language – try one of the frontpage tutorials
- Learn Data Science – try Jake VanderPlas' book
- Teach a course for hundreds of students
- Give a webinar online or at a conference without spending time on installation
- Enable GitHub users to directly load and run notebooks by creating a GitHub launch badge
- Give PowerPoint like slideshows where code in slides is executable!
In short, Azure Notebooks helps you accomplish your work more efficiently and thus achieve more.
Pricing and quotas
Azure Notebooks is a free service but each project is limited to 4GB memory and 1GB data to prevent abuse. Legitimate users that exceed these limits see a Captcha challenge to continue running notebooks.
To release all limits, sign into Azure Notebooks with an account using Azure Active Directory (such as a corporate account). If that account is associated with an Azure subscription, you can connect to any Azure Data Science Virtual Machine instances within that subscription. For more information, see Manage and configure projects - Compute tier.
Notebook servers are guaranteed to exist for at most 8 hours. In most cases, your container isn't subject to this limit and continues to run beyond this time, but long-lived sessions may occasionally be shut down for system stability.
Available kernels and environments
For each notebook, you select the kernel (that is, the runtime environment) that's used to run any code cells. Azure Notebooks supports the following kernels:
- Python 2.7 + Anaconda2-5.3.0
- Python 3.6 + Anaconda3-5.3.0
- Python 3.5 + Anaconda3-4.2.0 (will be deprecated)
- R 3.4.1 + Microsoft R Open 3.4.1
- F# 4.1.9
Azure Notebooks also includes extra packages beyond the base distributions. The Python kernels, for example, include the numpy, pandas, scikit-learn, matplotlib, and bokeh libraries.
You can also customize a project to create an environment for all of the notebooks in that project. For more information, see Quickstart: Create a project with a custom environment.
In addition to the base distributions, Azure Notebooks comes pre-installed with many extra packages that are useful for data scientists. You can also install your own packages using the typical process for each language.
Pre-configured Jupyter extensions
Azure Notebooks is pre-configured with the following Jupyter extensions:
- RISE: A Jupyter Slideshow Extension (also known as live_reveal). For more information, see Run a notebook slideshow.
- JupyterLab: A full computational environment for working with Jupyter notebooks.
- Altair: A declarative statistical visualization library for Python.
- BQPlot: An interactive plotting framework for Jupyter Notebooks.
- IpyWidgets: Interactive HTML widgets for Jupyter Notebooks.
Issues and getting help
Because Azure Notebooks is still in Preview, the service may experience temporary outages that may be more frequent or longer lasting than other Azure services. Some features may be incomplete or contain bugs.
At present, we recommend against using Azure Notebooks Preview for business-critical applications, or sensitive notebooks and data.
To discuss your questions about Azure Notebooks, file an issue on the GitHub repository.