<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Microsoft Faculty Connection</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/uk_faculty_connection/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/feed.xml</link>
    <description />
    <lastBuildDate>Mon, 25 Mar 2019 10:30:43 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Faculty Blog moving to a new home in Educator TechCommunity</title>
      <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/faculty-blog-moving-to-a-new-home-in-educator-techcommunity</link>
      <pubDate>Mon, 25 Mar 2019 10:30:42 GMT</pubDate>
      <dc:creator><![CDATA[Lee Stott]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/uk_faculty_connection/?p=71195</guid>
      <description><![CDATA[So we are moving platform from MSDN To Microsoft Tech Community we have created a new blog aimed at...]]></description>
      <content:encoded><![CDATA[<p><br><p>So we are moving platform from MSDN To Microsoft Tech <b>Community</b> we have created a new blog aimed at Academics, Educators and Researcher Software Engineers!<ul><li><a href="https://techcommunity.microsoft.com/t5/Educator-Developer-Blog/bg-p/EducatorDeveloperBlog">Join us at the new Microsoft Educator Developer Blog!</a></li></ul><p>Here's what it looks like, over at the Tech <b>Community</b>:<p><br><p><a href="https://msdnshared.blob.core.windows.net/media/2019/03/image41.png"><img width="851" height="456" title="image" style="border: 0px currentcolor" alt="image" src="https://msdnshared.blob.core.windows.net/media/2019/03/image_thumb36.png" border="0"></a><p><br><p>Check out the Education Community Section at <br><a title="https://techcommunity.microsoft.com/t5/Education-Sector/ct-p/EducationSector" href="https://techcommunity.microsoft.com/t5/Education-Sector/ct-p/EducationSector">https://techcommunity.microsoft.com/t5/Education-Sector/ct-p/EducationSector</a><p>Student Developer Blog at <br><a title="https://techcommunity.microsoft.com/t5/Student-Developer-Blog/bg-p/StudentDeveloperBlog" href="https://techcommunity.microsoft.com/t5/Student-Developer-Blog/bg-p/StudentDeveloperBlog">https://techcommunity.microsoft.com/t5/Student-Developer-Blog/bg-p/StudentDeveloperBlog</a><p>This blog site will become inactive in the next few weeks so please ensure you bookmark <a href="http://aka.ms/faculty">http://aka.ms/faculty</a> for the new URL and latest content.]]></content:encoded>
    </item>
    <item>
      <title>Blobfuse is an open source project developed to provide a virtual filesystem backed by the Azure Blob storage.</title>
      <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/blobfuse-is-an-open-source-project-developed-to-provide-a-virtual-filesystem-backed-by-the-azure-blob-storage</link>
      <pubDate>Wed, 20 Feb 2019 09:50:54 GMT</pubDate>
      <dc:creator><![CDATA[Lee Stott]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/uk_faculty_connection/?p=71165</guid>
      <description><![CDATA[Blobfuse uses the libfuse open source library to communicate with the Linux FUSE kernel module, and...]]></description>
      <content:encoded><![CDATA[<h3><br></h3><p><a href="https://github.com/Azure/azure-storage-fuse">Blobfuse</a> uses the <a href="https://github.com/libfuse/libfuse">libfuse</a> open source library to communicate with the Linux FUSE kernel module, and implements the filesystem operations using the Azure Storage Blob REST APIs. <h4>Features</h4><ul><li>Mount a Blob storage container on Linux 
<li>Basic file system operations such as mkdir, opendir, readdir, rmdir, open, read, create, write, close, unlink, truncate, stat, rename 
<li>Local cache to improve subsequent access times 
<li>Parallel download and upload features for fast access to large blobs 
<li>Allows multiple nodes to mount the same container for read-only scenarios. </li></ul><h4>Installation</h4><p>You can install blobfuse from the Linux Software Repository for Microsoft products. The process is explained in the <a href="https://github.com/Azure/azure-storage-fuse/wiki/1.-Installation">blobfuse installation</a> page. Alternatively, you can clone this repository, install the dependencies (fuse, libcurl, gcrypt and GnuTLS) and build from source code. See details in the <a href="https://github.com/Azure/azure-storage-fuse/wiki/1.-Installation#build-from-source">wiki</a> and the <a href="https://github.com/Azure/azure-storage-fuse">GitHub Repo</a>.<h4>Blobfuse and Data Science Virtual Machine</h4><p>Blobfuse is already installed on the <a href="https://azure.microsoft.com/en-us/services/virtual-machines/data-science-virtual-machines/">Ubuntu DSVM</a>. To use it, create a configuration file /opt/blobfuse.cfg as described <a title="https://docs.microsoft.com/en-us/azure/storage/blobs/storage-how-to-mount-container-linux" href="https://docs.microsoft.com/en-us/azure/storage/blobs/storage-how-to-mount-container-linux">https://docs.microsoft.com/en-us/azure/storage/blobs/storage-how-to-mount-container-linux</a>&nbsp;<br>or <a title="https://github.com/Azure/azure-storage-fuse/tree/43e82df5d85a4c082dc67af8131bcf05f4d9270a" href="https://github.com/Azure/azure-storage-fuse/tree/43e82df5d85a4c082dc67af8131bcf05f4d9270a">https://github.com/Azure/azure-storage-fuse/tree/43e82df5d85a4c082dc67af8131bcf05f4d9270a</a> </p><h4>Usage</h4><h5>Mounting</h5><p>Once you have installed blobfuse, configure your account credentials either in the template provided in blobfuse folder (connection.cfg), or in the environment variables. For brevity, let's use the environment variables:<pre><code>export AZURE_STORAGE_ACCOUNT=myaccountname
export AZURE_STORAGE_ACCESS_KEY=myaccountkey
</code></pre><p>Then mount your blob storage on the VM:</p><p>Use of a high performance disk, or ramdisk for the local cache is recommended. In Azure VMs, this is the ephemeral disk which is mounted on /mnt in Ubuntu, and /mnt/resource in RHEL. Please make sure that your user has write access to this location. If not, create and <code>chown</code> to your user.</p><pre><code>sudo mkdir /images<br>sudo mkdir /mnt/blobfusecache</code></pre><pre><p><code>chown -R &lt;your-user-account&gt; /images<br>chown -R &lt;your-user-account&gt; /mnt/blobfusecache/<br></code></p></pre><p>Create your mountpoint (<code>mkdir /path/to/mount</code>) and mount a Blob container (must already exist) with blobfuse:<pre><code>blobfuse /images --tmp-path=/mnt/blobfusecache -o big_writes -o max_read=131072 -o max_write=131072 -o attr_timeout=240 -o fsname=blobfuse -o entry_timeout=240 -o negative_timeout=120 --config-file=/opt/blobfuse.cfg</code></pre><p><strong>NOTE</strong> Use absolute paths for directory paths in the command. Relative, and shortcut paths (~/) do not work. Blobfuse does not support multiple writers to a single blob, so you will need to guarantee that the file names generated during the extraction part are unique.<p>For more information, see the <a href="https://github.com/Azure/azure-storage-fuse/wiki/2.-Configuring-and-Running">wiki</a>&nbsp;<h4>Interested in Data Engineering </h4><p>Check out the Data Engineering learning resources at <a href="https://docs.microsoft.com/en-us/learn/browse/?roles=data-engineer&amp;products=azure&amp;resource_type=learning%20path">Microsoft learn</a><p><br><p><a href="https://msdnshared.blob.core.windows.net/media/2019/02/image30.png"><img width="851" height="851" title="image" style="border: 0px currentcolor" alt="image" src="https://msdnshared.blob.core.windows.net/media/2019/02/image_thumb23.png" border="0"></a>]]></content:encoded>
    </item>
    <item>
      <title>Deploy OkPy to Azure PaaS</title>
      <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/deploy-okpy-to-azure-paas</link>
      <pubDate>Wed, 13 Feb 2019 18:54:34 GMT</pubDate>
      <dc:creator><![CDATA[Lee Stott]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/uk_faculty_connection/?p=71135</guid>
      <description><![CDATA[Automate Grading &amp; Personalize Feedback.OK autogrades programming assignments, facilitates...]]></description>
      <content:encoded><![CDATA[<h3><a href="https://github.com/okpy/ok#"><img alt="Logo" src="https://raw.githubusercontent.com/okpy/ok/master/server/static/img/logo-tiny.png"></a></h3><h3>Automate Grading &amp; Personalize Feedback.</h3><p>OK autogrades programming assignments, facilitates submission, composition feedback, and analytics for your class.<p><a>View a Demo</a> of OkPy<p>The ok.py server collects submissions and displays analysis of student progress based on logging sent from client scripts the ok.py software was developed for CS 61A at UC Berkeley and is now used in numerous institutions around the world for autograding and assessment of Students.<p>Deploying Okpy on Azure<p>You can deploy <a href="https://github.com/okpy/ok/blob/master/azure/paas">Ok.py</a> to Azure tenant using the deploy to Azure Script on this page.<br><br>In a production environment you may wish to customize these templates to share resources between environments and to adjust resource sizing. For example you may wish to use a single mySQL server with multiple databases, rather than one server per environment.</p><p><img src="https://user-images.githubusercontent.com/1086421/43547159-75306220-95a8-11e8-8059-58c355fc32d0.png"></p><p>The provided templates deploy everything within the Resource Group outlined below. Items outside the resource group are an indication as to how Ok.py can integrate with additional Azure services:<h4>Setup</h4><p>Prior to deploying the template the terms and conditions for SendGrid must be accepted.<p>Using PowerShell:<pre><code>Get-AzureRmMarketplaceTerms -Publisher "sendgrid" -Product "sendgrid_azure" -Name "free" | Set-AzureRmMarketplaceTerms -Accept
</code></pre><p>If you do not have access to PowerShell this can be run in the cloud shell via the Azure Portal.<p>Next, you'll need to create a Service Principal following the instructions <a href="https://aka.ms/create-sp">here</a>. The Service Principal is a credential to your Azure subscription that will enable the OKpy deployment to create Azure resources on your behalf.<p>Finally, grant read permissions to your Azure Container Registry instance to the Service Principal. This will enable the OKpy deployment to access Docker images for okpy and autopy in your registry and deploy them to the infrastructure set up by the template:<pre><code>SP_APP_ID=&lt;insert the app id of your okpy service principal here&gt;
ACR_NAME=&lt;insert name of your container registry here&gt;
RESOURCE_GROUP=&lt;insert the resource group of your container registry here&gt;

az role assignment create \
  --assignee "${SP_APP_ID}" \
  --role Reader \
  --scope "$(az acr show --name "${ACR_NAME}" --resource-group "${ACR_RESOURCE_GROUP}" --query "id" --output tsv)"
</code></pre><h4>Deployment</h4><p>To deploy <a href="https://github.com/okpy/ok/blob/master/azure/paas">Ok.py</a> to Azure use the deploy button below. If you are not familiar with the configuration of Azure resources please check our <a href="https://github.com/okpy/ok/blob/master/azure/README.md">integration guide</a>.<p><a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fokpy%2Fok%2Fmaster%2Fazure%2Fpaas%2Farm%2Fazure.deploy.json"><img alt="Deploy to Azure" src="https://camo.githubusercontent.com/e7b1b9ce24d806be8d829c59eb3c790e8a6bde11/68747470733a2f2f617a7572656465706c6f792e6e65742f6465706c6f79627574746f6e2e737667"></a><p>You can also run the deployment locally:<pre><code>mkdir -p azure/paas/secrets
docker build -t ok-setup azure/paas
docker run -v $PWD/azure/paas/secrets:/app/secrets ok-setup
</code></pre><p>Note that the deployment can take upwards of 30 minutes to complete. After the deployment is done, remember to update your Active Directory application to include <code>https://&lt;app-name&gt;.&lt;location&gt;.cloudapp.azure.com/login/authorized/</code> as a redirect URL.<p>If your interested in learning more about OKpy on Azure see <a title="https://github.com/okpy/ok/tree/master/azure" href="https://github.com/okpy/ok/tree/master/azure">https://github.com/okpy/ok/tree/master/azure</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Azure for Student - Access to GPU resources</title>
      <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/azure-for-student-access-to-gpu-resources</link>
      <pubDate>Wed, 13 Feb 2019 16:42:43 GMT</pubDate>
      <dc:creator><![CDATA[Lee Stott]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/uk_faculty_connection/?p=71125</guid>
      <description><![CDATA[Microsoft Azure Dev tools for teaching offers a unified learning tools for skilling students in the...]]></description>
      <content:encoded><![CDATA[<p><br></p><p>Microsoft Azure Dev tools for teaching offers a unified learning tools for skilling students in the cloud, it provides students with a vast set of resources. <p>Azure for Education offers comprehensive developer tools and training ranging from beginner to professional to support students and educators becoming skilled in Azure technologies, in addition to providing resources to get students career-ready such as LinkedIn University, Azure certification training through Microsoft Learn, and training in trending technologies such as AI and Data Science.<p>The Azure for Education portfolio focuses on three core offers:<ul><li><b><a href="https://azure.microsoft.com/en-gb/free/students/">Azure for Students Starter</a> - </b>Provides students 13+ with free cloud and resources to get started building a web page or web app – ideal for K12 students.<li><b><a href="https://azure.microsoft.com/en-gb/free/students/">Azure for Students</a> - </b>Provides students 18+ with free cloud access and resources to build in-demand skills – ideal for university/college students.<li><b><a href="https://azureforeducation.microsoft.com/en-us/institutions/devtoolsfaq">Azure Dev Tools for Teaching</a> - </b>Institutional access to enterprise grade developer tools and self-paced learning with path for students to add cloud access and resources.</li></ul><p>Azure for Student now includes access to GPU resources, We suggest you choose the NC6 series based on the available credit allowance Azure for Student provides. </p><p><strong>NC6 Virtual Machine</strong><br>6 Cores<br>56.00 GiB RAM<br>1X K80 GPU</p><p>In the VM create flow, choose <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes-gpu">VM size NC6</a>. If you don't see the opion of NC6? Check your filters.</p><p>If the option is greyed out? Try a different region,&nbsp; West US 2 has a large capacity of GPUs <br></p><p><img src="https://pbs.twimg.com/media/Dyr6cDWU8AAW0U-.jpg"></p>]]></content:encoded>
    </item>
    <item>
      <title>Using Pytorch with Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/using-pytorch-with-azure</link>
      <pubDate>Tue, 12 Feb 2019 13:49:29 GMT</pubDate>
      <dc:creator><![CDATA[Lee Stott]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/uk_faculty_connection/?p=71115</guid>
      <description><![CDATA[Getting Started with Pytorch and Azure Jupyter NotebooksAzure Notebooks...]]></description>
      <content:encoded><![CDATA[<h4>Getting Started with Pytorch and Azure Jupyter Notebooks</h4><p>Azure Notebooks <a href="http://notebooks.azure.com">http://notebooks.azure.com</a>&nbsp; is a free, cloud-hosted Jupyter Notebooks solution that you can use for interactive coding in your browser. <p><a href="https://msdnshared.blob.core.windows.net/media/2019/02/image21.png"><img width="627" height="553" title="image" style="border: 0px currentcolor" alt="image" src="https://msdnshared.blob.core.windows.net/media/2019/02/image_thumb19.png" border="0"></a><p>PyTorch is preinstalled on the Azure Notebooks container, so you can start experimenting with PyTorch without having to install the framework or run your own notebook server locally. In addition, we provide a maintained <a href="https://notebooks.azure.com/pytorch">library</a> of the official, up-to-date PyTorch tutorials on Azure Notebooks which include begineer, intermediate and advanced level tutorials. <p>Learning or getting started with PyTorch is as easy as creating your Azure account and cloning the tutorial notebooks into your own library.<p><a href="https://msdnshared.blob.core.windows.net/media/2019/02/image22.png"><img width="602" height="592" title="image" style="border: 0px currentcolor" alt="image" src="https://msdnshared.blob.core.windows.net/media/2019/02/image_thumb20.png" border="0"></a><h2>Using Visual Studio Code</h2><p>Visual Studio Code (VS Code) is a popular and lightweight source code editor. Azure Machine Learning Extension is a cross-platform extension that provides deep learning and AI experimentation features for data scientists and developers using the IDE. <p><a href="https://msdnshared.blob.core.windows.net/media/2019/02/image23.png"><img width="739" height="468" title="image" style="border: 0px currentcolor" alt="image" src="https://msdnshared.blob.core.windows.net/media/2019/02/image_thumb21.png" border="0"></a><p>The tool is tightly integrated to Azure Machine Learning service, so you can submit PyTorch jobs to Azure compute, track experiment runs, and deploy your trained models all from within VS Code.<p><a href="https://msdnshared.blob.core.windows.net/media/2019/02/image24.png"><img width="754" height="481" title="image" style="border: 0px currentcolor" alt="image" src="https://msdnshared.blob.core.windows.net/media/2019/02/image_thumb22.png" border="0"></a><p>The extension also provides a rich set of syntax highlighting, automatic code completion via IntelliSense, and built-in documentation search for PyTorch APIs.<h2>Data Science VM and Pytorch</h2><p><img alt="" src="https://azurecomcdn.azureedge.net/cvt-b01068b303741081387b59fb004feed1b3cde0f72c52fb3427e2113b6e5a5ed0/images/page/services/virtual-machines/data-science-virtual-machines/diagram-1.jpg"></p><p>Supported DSVM Editions - Linux<br>PyTorch is installed in <a href="https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/dsvm-languages#python-linux-and-windows-server-2012-edition">Python 3.5</a>.<br>Sample Jupyter notebooks are included, and samples can also be found in /dsvm/samples/pytorch.<p> At a terminal: activate the correct environment, then run Python. <br> In Jupyter: Connect to <a href="https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/dsvm-ubuntu-intro#how-to-access-the-data-science-virtual-machine-for-linux">JupyterHub</a>, then open the PyTorch directory for samples.<h2>Tutorials</h2><p>The <a href="https://github.com/Azure/MachineLearningNotebooks/blob/master/tutorials">Tutorials</a> folder contains notebooks for the tutorials described in the <a href="https://aka.ms/aml-docs">Azure Machine Learning documentation</a>]]></content:encoded>
    </item>
    <item>
      <title>Using the Data Science VM within your classes</title>
      <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/using-the-data-science-vm-within-your-classes</link>
      <pubDate>Tue, 12 Feb 2019 11:37:44 GMT</pubDate>
      <dc:creator><![CDATA[Lee Stott]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/uk_faculty_connection/?p=71025</guid>
      <description><![CDATA[The Microsoft Data Science Virtual Machine or Deep Learning Virtual Machine are customized VM image...]]></description>
      <content:encoded><![CDATA[<p><a href="https://msdnshared.blob.core.windows.net/media/2019/02/image20.png"><img width="739" height="359" title="image" style="border: 0px currentcolor" alt="image" src="https://msdnshared.blob.core.windows.net/media/2019/02/image_thumb18.png" border="0"></a></p><p>The <a href="https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/overview">Microsoft Data Science Virtual Machine</a> or <a href="https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/deep-learning-dsvm-overview">Deep Learning Virtual Machine</a> are customized VM image on Microsoft’s Azure cloud built specifically for doing data science. It has many popular data science and other tools pre-installed and pre-configured to jump-start building intelligent applications for advanced analytics. It is available on Windows Server and Linux. </p><p>We offer Windows edition of DSVM on Server 2016 and Server 2012. <br>We offer Linux editions of the DSVM on Ubuntu 16.04 LTS and CentOS 7.4. </p><p>In most scenarios Institutions deploy a specific number of virtual machines and provide students SSH login to the infrastructure to undertake data science activities. Typically I advise 20 student per 1 VM NC6. <p>On an Azure virtual machine (VM), including the Data Science Virtual Machine (DSVM), you create local user accounts while provisioning the VM. Users then authenticate to the VM by using these credentials. If you have multiple VMs that you need to access, this approach can quickly get cumbersome as you manage credentials. Common user accounts and management through a standards-based identity provider enable you to use a single set of credentials to access multiple resources on Azure, including multiple DSVMs. As most universities now have some form of Active Directory support either with o365, you can use Azure Active Directory (Azure AD) or on-premises Active Directory to authenticate users on a standalone DSVM or a cluster of DSVMs in an Azure virtual machine scale set. You do this by joining the DSVM instances to an Active Directory domain. see&nbsp; <a title="https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/dsvm-common-identity" href="https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/dsvm-common-identity">https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/dsvm-common-identity</a><h2>Building custom classroom/Lab VM images</h2><p>You can also do some really neat things like develop and deploy extensions for the Data Science VMs see <a title="https://github.com/Azure/DataScienceVM/tree/master/Extensions" href="https://github.com/Azure/DataScienceVM/tree/master/Extensions">https://github.com/Azure/DataScienceVM/tree/master/Extensions</a><p>By using the Azure Resource manager (ARM) templates it provide a capability to define extensions for resources like Virtual Machines. VM Extensions are scripts that are run during the deployment of a VM to install additional pieces of software or reconfigure the VM to your needs or to comply with specific IT policies your company may have.<p>These extensions currently include <p>DSVM for Linux (Ubuntu) with Intel's BigDL deep learning framework extension<br>Azure IoT Edge on Data Science Virtual Machine<br><a href="https://azure.microsoft.com/en-gb/blog/fastai-on-azure-dsvm/">Fast.AI extension for Azure Data Science Virtual Machine</a><h2>Setting up DSVM </h2><p>There a lot more details and examples on DSVM setup in education at <a href="http://aka.ms/faculty">http://aka.ms/faculty</a> - <a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblogs.msdn.microsoft.com%2Fuk_faculty_connection%2F%3Fs%3DData%2BScience&amp;data=02%7C01%7Cleestott%40microsoft.com%7C4d49f681a34f448d663808d690412e11%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636855006966840369&amp;sdata=zjSlB3fMq0IfQagvnOB8v3eVQn58p%2BjE%2FaabuWt50zE%3D&amp;reserved=0">https://blogs.msdn.microsoft.com/uk_faculty_connection/?s=Data+Science</a> and you can read more at <a href="https://azure.microsoft.com/en-us/services/virtual-machines/data-science-virtual-machines/">https://azure.microsoft.com/en-us/services/virtual-machines/data-science-virtual-machines/</a> <p>Here a quick over of the DSVM and DLVM Images which are available as templates for more details see <a href="https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/overview">https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/overview</a><h2>Some Top Tips for disk space</h2><p>Ubuntu Linux (Has two disks it comes with in the VM image):<p>OS Disk=50GB. <br>2<sup>nd</sup> Disk=100 GB disk (mounted on /data). <br><br>FREE Space about 20 GB free on main disk. There should still be about 64GB empty space on the 2<sup>nd</sup> disk. <p>Windows 2016 DSVM: <br>One OS disk only which is 127GB. <br>There should have about 40GB free. <p>Re storage on the VM there are a few options on the Linux DSVM itself and via mounted storage. Most VMs types also have a temporary (non persistent across reboots) local SSD. In fact, this is a good place for scratch disk and is often much faster than the OS disk which are typically on an external blob (in same data center). <p>For working with large datasets you do need very large extra disks such as a 1TB blob storage.&nbsp; For large datasets (&gt;15GB) one might need to run a few extra steps to make it work on a Linux DSVM. see <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/linux/add-disk#connect-to-the-linux-vm-to-mount-the-new-disk">https://docs.microsoft.com/en-us/azure/virtual-machines/linux/add-disk#connect-to-the-linux-vm-to-mount-the-new-disk</a><p>On a NC6 (v1) you can only attach a HDD. On NC6 v2 and v3 you can attach a SSD.<p>Another option, if you just need large space, is standard Azure Files or Blobs may be good enough. Here is the tip on our github repo for mounting storage to the DSVM: <a href="https://github.com/Azure/DataScienceVM/blob/master/Tips/MountStorageonLinuxDSVM.md">https://github.com/Azure/DataScienceVM/blob/master/Tips/MountStorageonLinuxDSVM.md</a><p>Lastly, you also have a very large local non-persistent SSD. You can copy large datasets here and use it from local SSD. Only thing to note is that it may not survive reboots (so you have to redownload the file back to local SSD upon reboots or back it up on a blob or somewhere). In fact this is the fastest disk you have on the VM since it is local and an SSD. <h2>Adding a public DNS Name to your Virtual Machine</h2><p>So once you have the machines setup you can assign static DNS by following these instructions <a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Fwindows%2Fportal-create-fqdn&amp;data=02%7C01%7Cleestott%40microsoft.com%7Cd13fb584ffb541db59a808d690c701c2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636855581761412703&amp;sdata=SrEELHCtuQ6GXHorULrafiaGeE7VOD2ugQXpv1aDgG4%3D&amp;reserved=0">https://docs.microsoft.com/en-us/azure/virtual-machines/windows/portal-create-fqdn</a> <p>Regarding seeing What the DNS Names of the servers are see <a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdns%2Fdns-getstarted-cli&amp;data=02%7C01%7Cleestott%40microsoft.com%7Cd13fb584ffb541db59a808d690c701c2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636855581761422713&amp;sdata=%2Fd6q4vRG86MkoKrNGUcAlqT5qpG5g4gSxTIFw6YryE4%3D&amp;reserved=0">https://docs.microsoft.com/en-us/azure/dns/dns-getstarted-cli</a><p>You can run the following command via the Azure CLI or cloud shell this gives a nice output the key thing is you need to know the resourcegroup name and Machine name <p>Az VM Show -g ResourceGroup -n MachineName -d -otable <p>Example <p>PS Azure:\&gt; az vm show -g datajam -n lsds11 -d -otable<p>Name&nbsp;&nbsp;&nbsp; ResourceGroup&nbsp;&nbsp;&nbsp; PowerState&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PublicIps&nbsp;&nbsp;&nbsp; Fqdns&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Location&nbsp;&nbsp;&nbsp; Zones<p>------&nbsp; ---------------&nbsp; --------------&nbsp; -----------&nbsp; ---------------------------------&nbsp; ----------&nbsp; -------<p>lsds11&nbsp; datajam&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VM deallocated&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lsds11.uksouth.cloudapp.azure.com&nbsp; uksouth<h2>Giving Access to DSVM via a Jupyter Notebook</h2><p>You can also simply allow your student to use Azure Notebooks <a href="https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnotebooks.azure.com&amp;data=02%7C01%7Cleestott%40microsoft.com%7Cd13fb584ffb541db59a808d690c701c2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636855581761412703&amp;sdata=NuYgA4CFOL5w68QqlfvAqinTfbYolizE51c41A6UJf0%3D&amp;reserved=0">http://notebooks.azure.com</a> to build their Jupyter Notebook Experiments and then run the experiments on the Data Science VMs which have built. If you have an o365 account provided by your school or University, Azure Notebooks will discover the DSVMs that you have access to and list them into a menu under the run button<a>. </a>Choose the DSVM that you would like to connect to and enter the user name and password of the Linux account on the DSVM. <p><img src="https://msdnshared.blob.core.windows.net/media/2018/12/clip_image0022.png"><p>see <a href="https://blogs.msdn.microsoft.com/uk_faculty_connection/2018/12/10/microsoft-azure-notebooks-and-additional-compute-capacity-via-connecting-to-data-science-vms/">https://blogs.msdn.microsoft.com/uk_faculty_connection/2018/12/10/microsoft-azure-notebooks-and-additional-compute-capacity-via-connecting-to-data-science-vms/</a><p>Again if your using Google Collab service you also easily access DSVM resources see <a title="https://github.com/Azure/DataScienceVM/blob/master/Tips/ConnectGoogleColabToDSVM.md" href="https://github.com/Azure/DataScienceVM/blob/master/Tips/ConnectGoogleColabToDSVM.md">https://github.com/Azure/DataScienceVM/blob/master/Tips/ConnectGoogleColabToDSVM.md</a>]]></content:encoded>
    </item>
    <item>
      <title>Cloud AI/ML APIs, How easy is it to deploy these on the Edge</title>
      <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/cloud-ai-ml-apis-how-easy-is-it-to-deploy-these-on-the-edge</link>
      <pubDate>Tue, 12 Feb 2019 11:11:35 GMT</pubDate>
      <dc:creator><![CDATA[Lee Stott]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/uk_faculty_connection/?p=70995</guid>
      <description><![CDATA[Custom Vision IdentificationThe process is very easy as we use the Custom Vision...]]></description>
      <content:encoded><![CDATA[<p><img alt="" src="https://hackster.imgix.net/uploads/attachments/636737/Architecture.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max"></p><h2>Custom Vision Identification</h2><p>The process is very easy as we use the Custom Vision (<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcustomvision.ai&amp;data=02%7C01%7Cleestott%40microsoft.com%7C82d8398152d449eb0bf508d690d7c4a2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636855653721731610&amp;sdata=CbCdNVExUP6%2BFTooD6FvASd7MUSddCpCz%2B%2Bg2ZAixzc%3D&amp;reserved=0">http://customvision.ai</a> ) service to train an image classifier and then export the finished model in a number of different forms – CoreML, TensorFlow, ONNX, or dockerfile for IoT Edge/Azure Functions/Azure ML. </p><p><br></p><p><img alt="" src="https://hackster.imgix.net/uploads/attachments/636738/iot-edge-in-action.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max"></p><h2>So the process is:</h2><ol><li>Use CustomVision.ai to build a model<li>Export the modal appropriately e.g. TensorFlow<li>Use boiler plate IoT Edge module code and swap in new modal files. <li>Custom test data source as appropriate and execute against models</li></ol><p><br></p><p>For an end to end example see <a title="https://www.hackster.io/glovebox/image-recognition-with-azure-iot-edge-and-cognitive-services-a2b939" href="https://www.hackster.io/glovebox/image-recognition-with-azure-iot-edge-and-cognitive-services-a2b939">https://www.hackster.io/glovebox/image-recognition-with-azure-iot-edge-and-cognitive-services-a2b939</a></p><h2>What can this run on?</h2><p>The evolution of this is to exploit the Myriad processors from Intel by running a model – such as those provided by Intel’s OpenVino – on the Myriad processor under the control of a Pi. This has enabled some significant CNN models to be executed. <h2>Using Containers</h2><p>We are containerising our cognitive services (<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcognitive-services-container-support&amp;data=02%7C01%7Cleestott%40microsoft.com%7C82d8398152d449eb0bf508d690d7c4a2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636855653721741614&amp;sdata=NfePMJEv7y0Ampg5Xy5D4VD%2Fn6ObvPROtVQgrT3GSMU%3D&amp;reserved=0">https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-container-support</a> ), currently available are CV – OCR, Face, LUIS, Text Analytics – key phrase extraction, Text Analytics – Language Detection, Text Analytics – Sentiment analysis.<h2>Voice Recognition</h2><p>Voice recognition with key phrase activation is an interesting topic. There are of course OS features for Linux and Windows which provider this at low edge of devices – for example Raspberry Pi. Windows IoT Core has speech recognition for a number of languages and there are a number of examples of simple Voice Assistants, such an example is - <a href="https://wotudonet.wordpress.com/2016/08/04/project-patrick-build-your-own-personal-assistant/">https://wotudonet.wordpress.com/2016/08/04/project-patrick-build-your-own-personal-assistant/</a><p>There are also specialist chips which provide local voice processing, specifically activation word recognition, such as the XMOS chip used in the Respeaker.Io expansion board. <a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.xmos.com%2F&amp;data=02%7C01%7Cleestott%40microsoft.com%7C82d8398152d449eb0bf508d690d7c4a2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636855653721751622&amp;sdata=K648OBrcfqtq3twT%2FZsnU6ACHvaLxJhA%2BlSC5amUnpI%3D&amp;reserved=0">https://www.xmos.com/</a><p>Respeaker even have a workshop for the end to end architecture of a smart speaker: <a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frespeaker.io%2Fmake_a_smart_speaker%2F&amp;data=02%7C01%7Cleestott%40microsoft.com%7C82d8398152d449eb0bf508d690d7c4a2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636855653721761630&amp;sdata=9vN%2BMcUHH%2BaQsqqBhEay9px6H4KooYPtHzxGKlHyJ3g%3D&amp;reserved=0">https://respeaker.io/make_a_smart_speaker/</a></p><h2>Embedded Learning Library </h2><p>ELL provides models for resource constrained platforms and single-board computers. <a title="https://github.com/Microsoft/ELL" href="https://github.com/Microsoft/ELL">https://github.com/Microsoft/ELL</a><p>The Embedded Learning Library (ELL) allows you to design and deploy intelligent machine-learned models onto resource constrained platforms and small single-board computers, like Raspberry Pi, Arduino, and micro:bit. The deployed models run locally, without requiring a network connection and without relying on servers in the cloud. ELL is an early preview of the embedded AI and machine learning technologies developed at Microsoft Research.<p>Go to our <a href="https://microsoft.github.io/ELL">website</a> for tutorials, instructions, and a gallery of pretrained ELL models for use in your projects.<p><p><a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frespeaker.io%2Fmake_a_smart_speaker%2F&amp;data=02%7C01%7Cleestott%40microsoft.com%7C82d8398152d449eb0bf508d690d7c4a2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636855653721761630&amp;sdata=9vN%2BMcUHH%2BaQsqqBhEay9px6H4KooYPtHzxGKlHyJ3g%3D&amp;reserved=0"><br></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Q# Advent Calendar 2018</title>
      <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/q-advent-calendar-2018</link>
      <pubDate>Thu, 20 Dec 2018 11:12:51 GMT</pubDate>
      <dc:creator><![CDATA[Anita Ramanan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/uk_faculty_connection/?p=70965</guid>
      <description><![CDATA[To celebrate the festive season, our friends over in the Q# team are running a Q# Advent Calendar...]]></description>
      <content:encoded><![CDATA[To celebrate the festive season, our friends over in the Q# team are running a <a href="https://blogs.msdn.microsoft.com/visualstudio/2018/11/15/q-advent-calendar-2018/">Q# Advent Calendar</a> with a new post every day from 1<sup>st</sup>-24<sup>th</sup> December! Check it out to learn more about everything from <a href="https://www.linkedin.com/pulse/implementing-quantum-simulator-q-c-andr%C3%A9s-paz/">quantum simulation</a> to solving the <a href="https://stephenjordan.github.io/traveling_santa.html">Travelling Santa Problem</a> to <a href="https://www.scottaaronson.com/blog/?p=4021">why amplitudes are complex</a>!

Frances and I have also contributed posts for this festive event:
<ul>
 	<li>15<sup>th</sup> December: <a href="https://github.com/frtibble/QuantumBlog/blob/master/3%20Quantum%20Perceptrons/QuantumPerceptrons.md">Quantum Perceptrons</a> (Frances)
<ul>
 	<li>Learn (in comic form!) how to implement a quantum perceptron, from creating a dataset through to classification of that data</li>
 	<li>Designed to supplement the <a href="https://github.com/Microsoft/MLADS2018-QuantumML">Introduction to Quantum Machine Learning</a> workshop run at the Machine Learning, AI &amp; Data Science (MLADS) conference 2018</li>
</ul>
</li>
 	<li>18<sup>th</sup> December: <a href="https://github.com/anraman/quantum/blob/master/GroverDatabaseSearch/BlogPost/GroversBlog_Festive.md">Gro-ho-ho-ver's Algorithm: How Quantum Computing Saved Christmas</a> (Anita) (non-festive version can be found <a href="https://github.com/anraman/quantum/blob/master/GroverDatabaseSearch/BlogPost/GroversBlog_Regular.md">here</a>)
<ul>
 	<li>Learn how Grover's algorithm works in this step-by-step breakdown, plus how you can implement it using Q#</li>
 	<li>Designed to supplement the <a href="https://github.com/Microsoft/Quantum/tree/release/v0.3.1810/Samples/src/DatabaseSearch">official Microsoft sample for Grover's algorithm</a></li>
</ul>
</li>
</ul>
For other posts relating to Q# and quantum computing, check out the rest of the <a href="https://aka.ms/quantumadventures">Quantum Adventures blog</a> for intro-level posts and links to lots of useful content 😊

We hope you find them useful and wish you happy holidays!

- Anita and Frances

<a href="https://msdnshared.blob.core.windows.net/media/2018/12/Cheers1.png"><img src="https://msdnshared.blob.core.windows.net/media/2018/12/Cheers1.png" alt="" class=" wp-image-70985 aligncenter" width="430" height="547" /></a>]]></content:encoded>
    </item>
    <item>
      <title>Providing Students access to centrally provided Azure Resources when they do not have Azure Subscription credentials</title>
      <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/providing-students-access-to-centrally-provided-azure-resources-when-they-do-not-have-azure-subscription-credentials</link>
      <pubDate>Tue, 18 Dec 2018 22:47:27 GMT</pubDate>
      <dc:creator><![CDATA[Lee Stott]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/uk_faculty_connection/?p=70925</guid>
      <description><![CDATA[Using Azure Managed Service Identity (MSI) to provide students access to Azure ResourcesTo learn how...]]></description>
      <content:encoded><![CDATA[<p>Using Azure <a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview">Managed Service Identity</a> (MSI) to provide students access to Azure Resources<h2>To learn how to use managed identities to access different Azure resources, try these tutorials.</h2><p>Learn how to use a managed identity with a Windows VM:<ul><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-datalake">Access Azure Data Lake Store</a><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-arm">Access Azure Resource Manager</a><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-sql">Access Azure SQL</a><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-storage">Access Azure Storage by using an access key</a><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-storage-sas">Access Azure Storage by using shared access signatures</a><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-nonaad">Access a non-Azure AD resource with Azure Key Vault</a></li></ul><p>Learn how to use a managed identity with a Linux VM:<ul><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-linux-vm-access-datalake">Access Azure Data Lake Store</a><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-linux-vm-access-arm">Access Azure Resource Manager</a><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-linux-vm-access-storage">Access Azure Storage by using an access key</a><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-linux-vm-access-storage-sas">Access Azure Storage by using shared access signatures</a><li><a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-linux-vm-access-nonaad">Access a non-Azure AD resource with Azure Key Vault</a></li></ul><p>Learn how to use a managed identity with other Azure services:<ul><li><a href="https://docs.microsoft.com/en-us/azure/app-service/app-service-managed-service-identity">Azure App Service</a><li><a href="https://docs.microsoft.com/en-us/azure/app-service/app-service-managed-service-identity">Azure Functions</a><li><a href="https://docs.microsoft.com/en-us/azure/logic-apps/create-managed-service-identity">Azure Logic Apps</a><li><a href="https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-managed-service-identity">Azure Service Bus</a><li><a href="https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-managed-service-identity">Azure Event Hubs</a><li><a href="https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-use-managed-service-identity">Azure API Management</a><li><a href="https://docs.microsoft.com/en-us/azure/container-instances/container-instances-managed-identity">Azure Container Instances</a></li></ul><p>Using MSI for providing student access to Azure ML Workspace from a dedicated Data Science Virtual Machines <p>Typically courses provide a fixed pool of resources for students to utilise. <h2><font color="#333333">Pooled Resources</font></h2><p>Many academics are providing Azure Data Science VM (DSVM) for the class. <p><a href="https://msdnshared.blob.core.windows.net/media/2018/12/image69.png"><img width="675" height="511" title="image" style="border: 0px currentcolor" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/12/image_thumb63.png" border="0"></a><h2>Using Managed Services Identity</h2><p>When you create the VM with a MSI and give it permission to the resource group where you have the Azure ML Workspace. In this scenario any local user on the DSVM (students in the lab) can access the Azure ML Workspace without having a dedicated Azure subscription credentials. <p>The Students simply need to authenticate to the Virtual Machine (using local auth/AD/Shibboleth).&nbsp; <p>Below is the sample code to do add Managed Service Identity to create or attach to a Azure ML Workspace with the change from usual highlighted. <p><a href="https://msdnshared.blob.core.windows.net/media/2018/12/image70.png"><img width="851" height="290" title="image" style="border: 0px currentcolor" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/12/image_thumb64.png" border="0"></a><p>
</p>
Please note, MSI is a general Azure feature and not specific to DSVM as can be seen in the examples above so you can use MSI to provide students access to centrally provided resources.. <p>Ref: <a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview">https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Data Science Virtual Machine with GPU for $0.18/Hour using Low Priority VMs</title>
      <link>https://docs.microsoft.com/archive/blogs/uk_faculty_connection/data-science-virtual-machine-with-gpu-for-0-18-hour-using-low-priority-vms</link>
      <pubDate>Tue, 18 Dec 2018 22:14:43 GMT</pubDate>
      <dc:creator><![CDATA[Lee Stott]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/uk_faculty_connection/?p=70895</guid>
      <description><![CDATA[Deploy cheaper low priority (preemptable) instances of Ubuntu Data Science Virtual Machine ‘DSVM’...]]></description>
      <content:encoded><![CDATA[<h5><a href="https://github.com/Azure/DataScienceVM/tree/master/Scripts/CreateDSVM/Ubuntu#deploy-cheaper-low-priority-preemptable-instances-of-ubuntu-dsvm-using-the-portal"><br></a></h5><h5>Deploy cheaper low priority (preemptable) instances of Ubuntu Data Science Virtual Machine ‘DSVM’ using the Microsoft Azure portal</h5><h2>Deploy to Azure via Github</h2><p><a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2FDataScienceVM%2Fmaster%2FScripts%2FCreateDSVM%2FUbuntu%2Fdsvm-vmss-lowpri.json">-</a>We have a set of deploy to Azure Scripts available to deploy the low priority VM simply click the link below</p><p> <a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2FDataScienceVM%2Fmaster%2FScripts%2FCreateDSVM%2FUbuntu%2Fdsvm-vmss-lowpri.json"><img src="https://camo.githubusercontent.com/9285dd3998997a0835869065bb15e5d500475034/687474703a2f2f617a7572656465706c6f792e6e65742f6465706c6f79627574746f6e2e706e67"></a> There are additional scripts <a href="https://github.com/Azure/DataScienceVM/tree/master/Scripts/CreateDSVM">here on the DSVM GitHub repo</a> for deploying Linux or Windows versions This template uses a Scale set to deploy a single VM low priority.</p><p>For example: NC6 (1 K80 GPU) low-priority (preemptible) instance costs <strong>$0.18/hour compared to $0.90/hour</strong> for a dedicated instance (depending on region).<p>Please note this template is setup to delete the disks upon eviction. So you want to save any data on the VM externally if you need to, on a blob or Azure files. You can update the template to set eviction policy to “deallocate” to keep the disks (storage costs apply).&nbsp; <h2>Low Priority Pricing </h2><p>See <a href="https://azure.microsoft.com/pricing/details/virtual-machine-scale-sets/linux/">low priority instance pricing</a> for the latest price for the specific region. Right now, low priority instances are only available behind a VM Scale set pool.&nbsp; <h2>Adding Custom Features </h2><p>The template can be found <a href="https://github.com/Azure/DataScienceVM/blob/master/Scripts/CreateDSVM/Ubuntu/dsvm-vmss-lowpri.json">here</a> on the <a href="https://github.com/Azure/DataScienceVM">DSVM GitHub repo</a> if you want to customize it. <h2>Low-priority VMs’ Anatomy</h2><p><p>Microsoft grants access to their spare capacity in each region. The amount of spare capacity varies by region and VM size according to multiple factors, including day of week, time of day, and demand for different VM sizes.</p><p>With low-priority VMs, Microsoft effectively lets you take advantage of unused capacity for a great price. The datacentre team can reclaim these VMs at any given moment due to higher priority allocations so the capacity isn't fixed.<h2>Using Batch Pools &amp; VM Scale sets</h2><p>Low-priority VMs can be easily purchased via <a href="https://azure.microsoft.com/en-us/services/batch/">Azure Batch,</a> a service that lets you run jobs and tasks across multiple compute pools, “Batch pools”.</p><p>However a Batch pool is not needed to create a single Virtual Machine such as&nbsp; DSVM on a Low Priority instance. All you need is a VM Scaleset. The&nbsp; DSVM Low priority template at the start of the blog creates a VM Scale set does this automatically.</p><h2>Creating a VM using Low Priority with the Portal</h2><p>You can create VMSS with low priority instance on the Azure Portal using Azure Virtual Machine Scale set</p><p>Select New Marketplace Virtual Machine Scale set and select the deploy as low priority. – YES</p><p><a href="https://t.co/2PkOpgu0kH"><img alt="" src="https://pbs.twimg.com/media/Duz0mATU8AEtG_Q.jpg:large"></a><br></p><h2>Using a BatchPool</h2><p><br>Each <a href="https://docs.microsoft.com/en-us/azure/batch/batch-automatic-scaling">Batch pool</a><strong></strong> can contain both on-demand and low-priority nodes which can be independently scaled.</p><h2>Pricing</h2><p>Low-priority Linux VMs come with 80% discount while the Windows VMs come with 60% discount. The discount is calculated in comparison to their On-Demand hourly price. The vast majority of VM sizes and types are supported to run as Low-priority VMs.<p>So we have seen many academics keen to use Low-priority VMs to run and scale their course or research infrastructure cost-effectively. <br><br>Here are some examples of common use cases that are suitable for Low-priority VMs.<ul><li>Web Services <li>Testing 
<li>CI/CD Pipelines 
<li>Containers Platforms (Kubernetes, Mesos, Docker Swarm, etc..) 
<li>Batch jobs such as Media processing, Transcoding, and Rendering.</li><li>Batch jobs such as Machine Learning Data Science. </li></ul><p>We look forward to helping you to get started and consuming Low-priority VMs on Microsoft Azure and achieve business agility, cost savings, and scale.]]></content:encoded>
    </item>
  </channel>
</rss>