<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Malte Lantin</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/malte_lantin/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/malte_lantin/feed.xml</link>
    <description>Stuff for devs</description>
    <lastBuildDate>Tue, 16 Apr 2019 05:17:14 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Moving somewhere else...</title>
      <link>https://docs.microsoft.com/archive/blogs/malte_lantin/moving-somewhere-else</link>
      <pubDate>Mon, 04 Jun 2018 08:57:09 GMT</pubDate>
      <dc:creator><![CDATA[Malte Lantin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/malte_lantin/?p=1445</guid>
      <description><![CDATA[I am currently looking for a place to go next. Don't expect new content on this page.

👋]]></description>
      <content:encoded><![CDATA[I am currently looking for a place to go next. Don't expect new content on this page.

👋]]></content:encoded>
    </item>
    <item>
      <title>Handling LUIS.ai (Language Understanding Intelligent Service) Keys</title>
      <link>https://docs.microsoft.com/archive/blogs/malte_lantin/handling-luis-ai-language-understanding-intelligent-service-keys</link>
      <pubDate>Thu, 21 Sep 2017 21:49:06 GMT</pubDate>
      <dc:creator><![CDATA[Malte Lantin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/malte_lantin/?p=1415</guid>
      <description><![CDATA[When working with our Language Understanding Intelligent Service (https://www.luis.ai) for natural...]]></description>
      <content:encoded><![CDATA[When working with our Language Understanding Intelligent Service (<a target="_blank" href="https://www.luis.ai" rel="noopener noreferrer">https://www.luis.ai</a>) for natural language understanding you will need your own subscription keys sooner or later. These subscription keys are issued through the Microsoft Azure Management Portal (<a target="_blank" href="https://portal.azure.com" rel="noopener noreferrer">https://portal.azure.com</a>) and the billing is handled through your Azure Subscription.

When adding your keys in the Keys section of the LUIS portal you might stumble over some problems. On of these problems might be a strange "<span>Bad Argument, Invalid Subscription Key</span>" message.

To avoid this, there are a few things to know:
<ol>
 	<li>At his moment (Sept 2017) there are different deployments of LUIS for different regions of the world.
<ul>
 	<li><a target="_blank" href="https://www.luis.ai" rel="noopener noreferrer">https://www.luis.ai </a>for the North America Deployment</li>
 	<li><a target="_blank" href="https://eu.luis.ai" rel="noopener noreferrer">https://eu.luis.ai </a>for the Europe Deployment</li>
</ul>
</li>
 	<li>When you create a Key for LUIS on the Azure Portal you will be asked for a Region. This region should match the region of the LUIS deployment you are using.</li>
</ol>
This means when you want to use LUIS from our Europe Region you should create you LUIS key for the European Region as well. You will find the Keys in the "Keys" section of you LUIS subscription on the Azure Portal.

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/210.png"><img width="300" height="96" class="alignnone size-medium wp-image-1425" alt="Azure Portal LUIS keys" src="https://msdnshared.blob.core.windows.net/media/2017/09/210-300x96.png" /></a>

Now you can enter your matching key on the Keys section of the LUIS website (https://eu.luis.ai/keys or https://www.luis.ai/keys)

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/150.png"><img width="300" height="114" class="alignnone size-medium wp-image-1416" alt="LUIS Key Portal" src="https://msdnshared.blob.core.windows.net/media/2017/09/150-300x114.png" /></a>

I hope this helps to save some time getting LUIS set up.
<h3>Links:</h3>
<ul>
 	<li>LUIS Portal: <a target="_blank" href="https://www.luis.ai" rel="noopener noreferrer">https://www.luis.ai</a></li>
 	<li>LUIS Portal for Europe: <a target="_blank" href="https://www.luis.ai" rel="noopener noreferrer">https://www.luis.ai</a></li>
 	<li>Azure Portal: <a target="_blank" href="https://portal.azure.com" rel="noopener noreferrer">https://portal.azure.com</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Using GPU-powered Virtual Machines in the Cloud for your Machine Learning and Deep Learning workloads</title>
      <link>https://docs.microsoft.com/archive/blogs/malte_lantin/using-gpu-powered-virtual-machines-in-the-cloud-for-your-machine-learning-and-deep-learning-workloads</link>
      <pubDate>Thu, 03 Aug 2017 16:22:24 GMT</pubDate>
      <dc:creator><![CDATA[Malte Lantin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/malte_lantin/?p=1405</guid>
      <description><![CDATA[Until a few years ago running Machine Learning (ML) and Deep Neural Networks required owning really...]]></description>
      <content:encoded><![CDATA[Until a few years ago running Machine Learning (ML) and Deep Neural Networks required owning really powerful computers with lots of CPUs or even clusters of machines. With the adoption of GPUs for non-graphics related workloads new opportunities became available. You can now run many of your workloads in a much shorter period of time making use of modern GPUs you already have instead of using CPUs. The good thing is, you do not even have to own your own servers equipped with pricy graphics hardware any more. As we have become used to for CPU-powered machines we can now also get GPU powered machines on-demand in the cloud.

Microsoft Azure offers two categories of GPU powered machines with our <a target="_blank" href="https://azure.microsoft.com/en-us/pricing/details/virtual-machines/series/#n-series" rel="noopener noreferrer">N-Series</a>. NC VMs feature NVIDIA Tesla K80 GPUs for compute and machine learning workloads. NV VMs are tailored towards 3d workloads and rendering and feature NVIDIA Tesla M60 GPUs. Learn more in these VM sizes in this <a target="_blank" href="https://azure.microsoft.com/en-us/blog/azure-n-series-general-availability-on-december-1/" rel="noopener noreferrer">announcement</a>.

So how do you get started for Machine Learning and Deep Learning workloads?

The easiest way to get going (after getting your <a target="_blank" href="https://azure.microsoft.com/de-de/free/" rel="noopener noreferrer">Azure account</a>) is to start up a GPU powered VM, based on our <a target="_blank" href="https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-data-science-virtual-machine-overview" rel="noopener noreferrer">Data Science VM template</a>. This VM template has the NVIDIA CUDA Toolkit with driver, CUDA and cuDNN already installed. The template is available both with Linux and Windows OS. There are small differences between the software installed, but they both feature popular runtimes and almost all relevant tools for Machine Learning and Deep Learning on GPUs and CPUs. Check this <a target="_blank" href="https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-data-science-virtual-machine-overview" rel="noopener noreferrer">website </a>for a full list of preinstalled tools. The VM is really easy to set up in Azure and you can choose between lots of VM sizes in Azure, both with or without GPUs. The only thing to keep in mind is, that GPU VMs are not available in all of the Azure regions. Check <a target="_blank" href="https://azure.microsoft.com/en-us/regions/services/" rel="noopener noreferrer">this overview </a>for the availability of NC-Series VMs.
<h2>I don't need all these tools</h2>
What if you do not need all the tools included in the Data Science VM and you want to get started with your own VM and tools?

There are just a few steps to go and a few choices to make. I collected most relevant links for you and will describe most of the steps to get going with a GPU-powered Linux VM here:
<ul>
 	<li>Start you own NC-Series VM using the <a target="_blank" href="https://docs.microsoft.com/de-de/azure/virtual-machines/linux/quick-create-cli" rel="noopener noreferrer">Azure CLI</a> or the <a target="_blank" href="https://docs.microsoft.com/de-de/azure/virtual-machines/linux/quick-create-portal" rel="noopener noreferrer">Azure Portal</a>. I recommend using Ubuntu Linux as most of the documentations have detailed steps for Ubuntu and you will get ready-to-use packages for most tools.</li>
 	<li>Log into your VM using SSH (on Windows you can use <a target="_blank" href="https://www.putty.org/" rel="noopener noreferrer">PuTTY </a>or <a target="_blank" href="https://msdn.microsoft.com/en-us/commandline/wsl/about" rel="noopener noreferrer">Bash on Ubuntu on Windows</a>)</li>
</ul>
! You might need to download some of the following tools with a desktop browser and copy them to your VM via SCP !
<ul>
 	<li>Install the NVIDIA GPU drivers for Linux inside your VM. You can find a <a target="_blank" href="https://docs.microsoft.com/en-us/azure/virtual-machines/linux/n-series-driver-setup#install-cuda-drivers-for-nc-vms" rel="noopener noreferrer">detailed guide on the Azure Website</a>. Check that you install the lasted version of the drivers as the Azure Website could be outdated. You can also find a manual for installing the driver on the <a target="_blank" href="https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation" rel="noopener noreferrer">NVIDIA website</a>.</li>
 	<li>If required by your workload or application you might also want to install the <a target="_blank" href="https://developer.nvidia.com/rdp/cudnn-download" rel="noopener noreferrer">cuDNN</a> for running deep neural networks on your VM. This download requires signing up for the NVIDIA developer program (which is free). For me downloading the drivers involved jumping through some additional hoops. The problems and solutions are described on <a target="_blank" href="https://askubuntu.com/questions/916711/how-can-i-install-cudnn-on-ubuntu-14-04" rel="noopener noreferrer">this website</a>. Especially the wrong file extension was confusing, but easy to fix.</li>
</ul>
Now that the required drivers and tools for GPU workloads are installed you get started with your workloads based on frameworks like Tensorflow, CNTK or Caffe.
<h2>Let's use containers</h2>
A quick way to get started after installing the NVIDIA driver is using Docker containers that already have the required tools installed. Luckily there is an extension for Docker that allows us to make use of a NVIDIA GPU inside our Docker containers: <a target="_blank" href="https://github.com/NVIDIA/nvidia-docker/" rel="noopener noreferrer">nvidia-docker</a>.

If using Ubuntu you can quickly get going with GPU powered container-workloads:
<ul>
 	<li>First install Docker on your Virtual Machine. There is a detailed <a target="_blank" href="https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-repository" rel="noopener noreferrer">guide on the Docker website</a>.</li>
 	<li>After installing Docker,<a target="_blank" href="https://github.com/NVIDIA/nvidia-docker/" rel="noopener noreferrer"> install Nvidia-Docker next</a>. For Ubuntu this is just a few commands. You can find the <a target="_blank" href="https://github.com/NVIDIA/nvidia-docker/wiki/Installation" rel="noopener noreferrer">prerequisites on GitHub </a>as well.</li>
 	<li>Now you can launch your first GPU enabled container: <em>nvidia-docker run --rm nvidia/cuda nvidia-smi</em></li>
</ul>
Many deep learning tools are already available as a Docker image. One example is H2O who already offer a Docker container including their GPU-powered Deep Learning environment. You will find all information on <a target="_blank" href="https://github.com/h2oai/deepwater" rel="noopener noreferrer">H2O Deepwater on GitHub</a>. What is Deepwater (from the linked website)?
<div role="main">
<div>
<div id="js-repo-pjax-container">
<div class="container new-discussion-timeline experiment-repo-nav">
<div class="repository-content">
<div class="readme boxed-group clearfix announce instapaper_body md" id="readme"><article class="markdown-body entry-content">
<ul>
 	<li><em>Native implementation of Deep Learning models for GPU-optimized backends (MXNet, Caffe, TensorFlow, etc.)</em></li>
 	<li><em>Train user-defined or pre-defined deeplearning models for image/text/H2OFrame classification from Flow, R, Python, Java, Scala or REST API</em></li>
</ul>
You can pull and start your H2O Deepwater container via: <em>nvidia-docker run -it --rm opsh2oai/h2o-deepwater</em>

Whether you are inside your container or on your GPU-equipped host VM, you can monitor processes and GPU utilization with the <em>nvidia-smi</em> tool. You can monitor it live using: <em>watch -d -n 1 nvidia-smi</em>

</article>If hope this information was useful for you to get started with GPU-powered Deep Learning workloads in the cloud. An don't forget to shut down your virtual machines after finishing your jobs or using the auto-shutdown feature in Azure VMs.

</div>
</div>
</div>
</div>
</div>
</div>
Links:
<ul>
 	<li>N-Series Virtual Machines in Azure: <a href="https://azure.microsoft.com/en-us/pricing/details/virtual-machines/series/#n-series">https://azure.microsoft.com/en-us/pricing/details/virtual-machines/series/#n-series</a></li>
 	<li>N-Series General Availability: <a href="https://azure.microsoft.com/en-us/blog/azure-n-series-general-availability-on-december-1/">https://azure.microsoft.com/en-us/blog/azure-n-series-general-availability-on-december-1/</a></li>
 	<li>Azure Trial Account: <a href="https://azure.microsoft.com/de-de/free/">https://azure.microsoft.com/de-de/free/</a></li>
 	<li>Data Science VM: <a href="https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-data-science-virtual-machine-overview">https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-data-science-virtual-machine-overview</a></li>
 	<li>Azure Services per Region: <a href="https://azure.microsoft.com/en-us/regions/services/">https://azure.microsoft.com/en-us/regions/services/</a></li>
 	<li>Create an Ubuntu VM using the Azure CLI: <a href="https://docs.microsoft.com/de-de/azure/virtual-machines/linux/quick-create-cli">https://docs.microsoft.com/de-de/azure/virtual-machines/linux/quick-create-cli</a></li>
 	<li>Create an Ubuntu VM using the Azure Portal: <a href="https://docs.microsoft.com/de-de/azure/virtual-machines/linux/quick-create-portal">https://docs.microsoft.com/de-de/azure/virtual-machines/linux/quick-create-portal</a></li>
 	<li>PuTTY: <a href="https://www.putty.org/">https://www.putty.org/</a></li>
 	<li>Bash on Ubuntu on Windows: <a href="https://msdn.microsoft.com/en-us/commandline/wsl/about">https://msdn.microsoft.com/en-us/commandline/wsl/about</a></li>
 	<li>Install the NVIDIA CUDA drivers (Azure Website): <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/linux/n-series-driver-setup#install-cuda-drivers-for-nc-vms">https://docs.microsoft.com/en-us/azure/virtual-machines/linux/n-series-driver-setup#install-cuda-drivers-for-nc-vms</a></li>
 	<li>Install the NVIDIA CUDA drivers (NVIDIA Website): <a href="https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation">https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation</a></li>
 	<li>Install cuDNN: <a href="https://developer.nvidia.com/rdp/cudnn-download">https://developer.nvidia.com/rdp/cudnn-download</a></li>
 	<li>Solving problems installing cuDNN:<a href="https://askubuntu.com/questions/916711/how-can-i-install-cudnn-on-ubuntu-14-04"> https://askubuntu.com/questions/916711/how-can-i-install-cudnn-on-ubuntu-14-04</a></li>
 	<li>Nvidia-Docker: <a href="https://github.com/NVIDIA/nvidia-docker/">https://github.com/NVIDIA/nvidia-docker/</a></li>
 	<li>Nvidia-Docker Quickstart: <a href="https://github.com/NVIDIA/nvidia-docker/">https://github.com/NVIDIA/nvidia-docker/</a></li>
 	<li>Nvidia-Docker Prerequisites: <a href="https://github.com/NVIDIA/nvidia-docker/wiki/Installation">https://github.com/NVIDIA/nvidia-docker/wiki/Installation</a></li>
 	<li>H2O Deepwater: https://github.com/h2oai/deepwater</li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Create you first ASP.NET Core App and host it in a Linux Docker container on Microsoft Azure (Part 3/3)</title>
      <link>https://docs.microsoft.com/archive/blogs/malte_lantin/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-33</link>
      <pubDate>Fri, 13 Jan 2017 11:26:24 GMT</pubDate>
      <dc:creator><![CDATA[Malte Lantin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/malte_lantin/?p=1325</guid>
      <description><![CDATA[In the third part of this post we will push our image to Docker Hub and then host our container on...]]></description>
      <content:encoded><![CDATA[In the third part of this post we will push our image to <a target="_blank" href="https://hub.docker.com/">Docker Hub </a>and then host our container on Microsoft Azure. You can find the <a target="_blank" href="https://blogs.msdn.microsoft.com/malte_lantin/2017/01/12/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-13/">first part of this post here</a>.
<h1>Part 3: Publish your container on Microsoft Azure</h1>
First we are publishing our container by pushing it to <a target="_blank" href="https://hub.docker.com/">Docker Hub </a>. Of course you an also use your private registry as well. To use Docker Hub we will have to create a Docker ID. You can do this through <a href="https://hub.docker.com/">Docker Hub</a>.

Now we can start by renaming / tagging our image:
<pre>docker tag firstaspapp DockerID/nameforyourimage</pre>
<a href="https://msdnshared.blob.core.windows.net/media/2017/01/143.png"><img width="300" height="221" class="alignnone size-medium wp-image-1395" alt="14" src="https://msdnshared.blob.core.windows.net/media/2017/01/143-300x221.png" /></a>

After you have done this log in with your ID and password:
<pre>docker login</pre>
<a href="https://msdnshared.blob.core.windows.net/media/2017/01/152.png"><img width="300" height="221" class="alignnone size-medium wp-image-1376" alt="15" src="https://msdnshared.blob.core.windows.net/media/2017/01/152-300x221.png" /></a>

Now you can push your image to Docker Hub. If you prefer to use a private repository you will have to create it on Docker Hub first.
<pre>docker push yourDockerID/nameofyourimage</pre>
<a href="https://msdnshared.blob.core.windows.net/media/2017/01/162.png"><img width="300" height="221" class="alignnone size-medium wp-image-1385" alt="16" src="https://msdnshared.blob.core.windows.net/media/2017/01/162-300x221.png" /></a>

If you now visit your profile on Docker Hub you should be able to see your pushed image. For me it took some time to show up here.

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/171.png"><img width="300" height="146" class="alignnone size-medium wp-image-1335" alt="17" src="https://msdnshared.blob.core.windows.net/media/2017/01/171-300x146.png" /></a>

Once your image is available on Docker Hub, we can publish our container to Microsoft Azure. To use Microsoft Azure you will need an Azure Subscription. There is a <a target="_blank" href="https://azure.microsoft.com/en-us/free/">free trial subscription </a>available if you don't have one yet.

Log into the <a target="_blank" href="https://portal.azure.com">Azure Portal </a>with your Microsoft or company account. Once on the Azure Portal click on the "+" to add a new resource and search for <a target="_blank" href="https://docs.microsoft.com/en-us/azure/app-service-web/app-service-linux-how-to-create-a-web-app">Web App on Linux</a>. Azure Web Apps on Linux is a docker-based hosting environment that supports different programming languages like NodeJS, PHP and ASP.NET Core out of the box and offers you the opportunity to bring your own Docker containers. This is what we will use.

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/182.png"><img width="300" height="156" class="alignnone size-medium wp-image-1345" alt="18" src="https://msdnshared.blob.core.windows.net/media/2017/01/182-300x156.png" /></a>

First select a name for your web app, pick a subscription, name or select a resource group and create or select an app service plan. When creating a new app service plan you can decide which Azure region to use for your application.

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/191.png"><img width="237" height="300" class="alignnone size-medium wp-image-1347" alt="19" src="https://msdnshared.blob.core.windows.net/media/2017/01/191-237x300.png" /></a>

After you have done all this click on "Configure container" and then on "Docker Hub". Now select "Public" and enter the name for your image. If you chose to host your image in a private registry or private Docker repository you will also have to add your credentials here. Now confirm your settings and click on "Create".

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/20.png"><img width="300" height="149" class="alignnone size-medium wp-image-1355" alt="20" src="https://msdnshared.blob.core.windows.net/media/2017/01/20-300x149.png" /></a>

Creating you Azure Web App and starting your container will usually just take a few seconds. Once the Web App is created you can click on the URL for your web app to see your ASP.NET Core application running in a Linux Docker container on Microsoft Azure.

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/211.png"><img width="300" height="234" class="alignnone size-medium wp-image-1365" alt="21" src="https://msdnshared.blob.core.windows.net/media/2017/01/211-300x234.png" /></a>

Depending on the App Service plan you picked you can now make use of different Azure features like scaling your application up as needed.

<strong>Links:</strong>
<ul>
 	<li>Docker Hub: <a target="_blank" href="https://hub.docker.com/">https://hub.docker.com/</a></li>
 	<li>Microsoft Azure: <a target="_blank" href="https://azure.microsoft.com">https://azure.microsoft.com</a></li>
 	<li>Part 1 of this blog post: <a target="_blank" href="https://blogs.msdn.microsoft.com/malte_lantin/2017/01/12/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-13/">https://blogs.msdn.microsoft.com/malte_lantin/2017/01/12/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-13/</a></li>
 	<li><a target="_blank" href="https://hub.docker.com/"></a>Docker: <a target="_blank" href="https://www.docker.com/">https://www.docker.com/</a></li>
 	<li>Microsoft Azure Trial: <a target="_blank" href="https://azure.microsoft.com/en-us/free/">https://azure.microsoft.com/en-us/free/</a></li>
 	<li>Azure Management Portal: <a target="_blank" href="https://portal.azure.com">https://portal.azure.com</a></li>
 	<li>Azure Web Apps on Linux Documentation: <a target="_blank" href="https://docs.microsoft.com/en-us/azure/app-service-web/app-service-linux-how-to-create-a-web-app">https://docs.microsoft.com/en-us/azure/app-service-web/app-service-linux-how-to-create-a-web-app</a></li>
</ul>
&nbsp;

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Create you first ASP.NET Core App and host it in a Linux Docker container on Microsoft Azure (Part 2/3)</title>
      <link>https://docs.microsoft.com/archive/blogs/malte_lantin/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-23</link>
      <pubDate>Fri, 13 Jan 2017 10:12:34 GMT</pubDate>
      <dc:creator><![CDATA[Malte Lantin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/malte_lantin/?p=1265</guid>
      <description><![CDATA[In the second part of this blog post we will build a docker image for our ASP.NET Core App and run a...]]></description>
      <content:encoded><![CDATA[In the second part of this blog post we will build a docker image for our ASP.NET Core App and run a container locally. You can find the <a target="_blank" href="https://blogs.msdn.microsoft.com/malte_lantin/2017/01/12/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-13/">first part of this blog post here</a>.
<h1>Part 2: Host your application in a Docker container</h1>
To use docker images and create and run Docker containers we will first have to install Docker on our machine. Docker is available for Mac, Windows and Linux on the <a target="_blank" href="https://www.docker.com/products/overview">official Docker website</a>. After you have installed Docker, you can use the "docker" command from your command line / terminal.

Check your installation by typing
<pre>docker version</pre>
<a href="https://msdnshared.blob.core.windows.net/media/2017/01/82.png"><img class="alignnone size-medium wp-image-1275" alt="8" src="https://msdnshared.blob.core.windows.net/media/2017/01/82-300x181.png" width="300" height="181" /></a>

Now create a new file called "Dockerfile" inside the publish folder of your web application. You can use an editor of your choice to edit the file. I will use <a target="_blank" href="https://code.visualstudio.com/">Visual Studio Code </a>(Mac, Linux, Windows) as it supports syntax highlighting and auto-completion for <a target="_blank" href="https://docs.docker.com/engine/reference/builder/">Dockerfiles</a>.

Add the following content to your Dockerfile:
<pre>FROM microsoft/aspnetcore
WORKDIR /app
COPY . .
EXPOSE 80
ENTRYPOINT ["dotnet", "yourappname.dll"]</pre>
<a href="https://msdnshared.blob.core.windows.net/media/2017/01/93.png"><img class="alignnone size-medium wp-image-1285" alt="9" src="https://msdnshared.blob.core.windows.net/media/2017/01/93-300x226.png" width="300" height="226" /></a>

The first line sets the <a target="_blank" href="https://hub.docker.com/r/microsoft/aspnetcore/">Microsoft/aspnetcore image </a>as the base image. It is provided and maintained by Microsoft on Docker Hub. The second line creates and sets a working directory. Then the content from our "publish" folder is copied to the working directory. The next line exposes port 80 for our webserver. The last line defines our entrypoint with the command and corresponding arguments.

Save your Dockerfile and build your Docker image from the command line (-t sets a name and tag for your image):
<pre>docker build . -t nameforyourimage</pre>
You can display all your images with the following command:
<pre>docker images</pre>
<a href="https://msdnshared.blob.core.windows.net/media/2017/01/102.png"><img class="alignnone size-medium wp-image-1295" alt="10" src="https://msdnshared.blob.core.windows.net/media/2017/01/102-300x226.png" width="300" height="226" /></a>

Now you now can create and run your Docker container (you can also just create the container with "docker create"):
<pre>docker run -p 8000:80 nameforyourimage</pre>
<a href="https://msdnshared.blob.core.windows.net/media/2017/01/112.png"><img class="alignnone size-medium wp-image-1296" alt="11" src="https://msdnshared.blob.core.windows.net/media/2017/01/112-300x271.png" width="300" height="271" /></a>

The -p flag maps published port 80 of your container to your host. You should now be able to access you application through https://localhost:8000/.

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/123.png"><img class="alignnone wp-image-1305" alt="12" src="https://msdnshared.blob.core.windows.net/media/2017/01/123-300x234.png" width="348" height="271" /></a>   <a href="https://msdnshared.blob.core.windows.net/media/2017/01/132.png"><img class="alignnone wp-image-1315" alt="13" src="https://msdnshared.blob.core.windows.net/media/2017/01/132-300x271.png" width="300" height="271" /></a>

In the third part of this blog post we will publish our images to <a target="_blank" href="https://hub.docker.com/">Docker Hub </a>and host our container on Microsoft Azure. You can find <a target="_blank" href="https://blogs.msdn.microsoft.com/malte_lanhttps://blogs.msdn.microsoft.com/malte_lantin/2017/01/13/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-33/">Part 3 here</a>.

<strong>Links:</strong>
<ul>
 	<li>Part 1 of this blog post: <a target="_blank" href="https://blogs.msdn.microsoft.com/malte_lantin/2017/01/12/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-13/">https://blogs.msdn.microsoft.com/malte_lantin/2017/01/12/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-13/</a></li>
 	<li>Download Docker for you system: <a target="_blank" href="https://www.docker.com/products/overview">https://www.docker.com/products/overview</a></li>
 	<li>Visual Studio Code: <a target="_blank" href="https://code.visualstudio.com/">https://code.visualstudio.com/</a></li>
 	<li>Dockerfile Reference: <a target="_blank" href="https://docs.docker.com/engine/reference/builder">https://docs.docker.com/engine/reference/builder</a>/</li>
 	<li>ASP.NET Core Image on Docker Hub: <a target="_blank" href="https://hub.docker.com/r/microsoft/aspnetcore/">https://hub.docker.com/r/microsoft/aspnetcore/</a></li>
 	<li>Docker Hub: <a target="_blank" href="https://hub.docker.com/">https://hub.docker.com/</a></li>
 	<li>Microsoft Azure: <a target="_blank" href="https://azure.microsoft.com">https://azure.microsoft.com</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Create you first ASP.NET Core App and host it in a Linux Docker container on Microsoft Azure (Part 1/3)</title>
      <link>https://docs.microsoft.com/archive/blogs/malte_lantin/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-13</link>
      <pubDate>Thu, 12 Jan 2017 12:09:41 GMT</pubDate>
      <dc:creator><![CDATA[Malte Lantin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/malte_lantin/?p=1185</guid>
      <description><![CDATA[As most of you are probably already aware of .NET Core is the new lightweight...]]></description>
      <content:encoded><![CDATA[As most of you are probably already aware of <a target="_blank" href="https://www.microsoft.com/net/core">.NET Core </a>is the new lightweight open-source cross-platform development framework built by the .NET team. With .NET Core you can build applications that run on operating systems like Linux, Windows and MacOS as well as on the cloud. This is especially interesting for web applications that you can build with <a target="_blank" href="https://www.asp.net/get-started">ASP.NET Core</a>.

In this blog post that I will split into 3 parts I would like to show you how easy it is to create your first ASP.NET Core application on the command line, then host it in a Linux based <a target="_blank" href="https://www.docker.com/">Docker </a>container and then publish this container to <a target="_blank" href="https://azure.microsoft.com">Microsoft Azure</a>.
<h1>Part 1: Create you first ASP.NET Core Application</h1>
Download .NET Core SDK and command line tools for Windows, Linux oder Mac from <a target="_blank" href="https://www.microsoft.com/net/core">https://www.microsoft.com/net/core</a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/15.png"><img width="300" height="179" class="alignnone size-medium wp-image-1195" alt="1" src="https://msdnshared.blob.core.windows.net/media/2017/01/15-300x179.png" /></a>

Open your command line / terminal to create your first ASP.NET Application:
<pre>dotnet new -t web</pre>

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/23.png"><img width="300" height="181" class="alignnone size-medium wp-image-1205" alt="2" src="https://msdnshared.blob.core.windows.net/media/2017/01/23-300x181.png" /></a>
The type web (-t web) will create a ASP.NET Core MVC template web application. You can of course also use just "dotnet new" to create a basic .NET application and add everything necessary for a ASP.NET Core application yourself.

Do a package restore to get all required packages for your template application from <a target="_blank" href="https://www.nuget.org/">NuGet</a>:
<pre>dotnet restore</pre>
<a href="https://msdnshared.blob.core.windows.net/media/2017/01/33.png"><img width="300" height="181" class="alignnone size-medium wp-image-1215" alt="3" src="https://msdnshared.blob.core.windows.net/media/2017/01/33-300x181.png" /></a>

Build and run you application (you can of course just build your application with "dotnet build"):
<pre>dotnet run</pre>
<a href="https://msdnshared.blob.core.windows.net/media/2017/01/43.png"><img width="300" height="181" class="alignnone size-medium wp-image-1217" alt="4" src="https://msdnshared.blob.core.windows.net/media/2017/01/43-300x181.png" /></a>

You can now see your application running locally on https://localhost:5000

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/53.png"><img width="300" height="234" class="alignnone size-medium wp-image-1225" alt="5" src="https://msdnshared.blob.core.windows.net/media/2017/01/53-300x234.png" /></a>

Stop your local web server (Ctrl + C on Windows) and publish your application in release configuration:
<pre>dotnet publish -c Release</pre>
<img width="300" height="181" class="alignnone size-medium wp-image-1235" alt="6" src="https://msdnshared.blob.core.windows.net/media/2017/01/62-300x181.png" />

You can check if publishing worked correctly by changing to the "bin\Release\netcoreapp1.1\publish" folder of your project and start your app with "dotnet yourappname.dll". I had to first install Gulp globally on my machine as it is used to build the template application (npm install -g gulp).

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/73.png"><img width="300" height="181" class="alignnone size-medium wp-image-1245" alt="7" src="https://msdnshared.blob.core.windows.net/media/2017/01/73-300x181.png" /></a>

In the next blog post we will take our application, build a Docker image with it and host it in a Docker container. You can find <a target="_blank" href="https://blogs.msdn.microsoft.com/malte_lantin/2017/01/13/create-you-first-asp-net-core-app-and-host-it-in-a-linux-docker-container-on-microsoft-azure-part-23/">Part 2 here</a>.

<strong>Links:</strong>
<ul>
 	<li>Download .NET Core: <a target="_blank" href="https://www.microsoft.com/net/core">https://www.microsoft.com/net/core</a></li>
 	<li>Get started with ASP.NET Core: <a target="_blank" href="https://www.asp.net/get-started">https://www.asp.net/get-started</a></li>
 	<li>NuGet Package Manager: <a target="_blank" href="https://www.nuget.org/">https://www.nuget.org/</a></li>
 	<li>Docker: <a target="_blank" href="https://www.docker.com/">https://www.docker.com/</a></li>
 	<li>Microsoft Azure: <a target="_blank" href="https://azure.microsoft.com">https://azure.microsoft.com</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Deployment der eigenen Azure Functions direkt aus dem lokalen Git Repository</title>
      <link>https://docs.microsoft.com/archive/blogs/malte_lantin/deployment-der-eigenen-azure-functions-direkt-aus-dem-lokalen-git-repository</link>
      <pubDate>Fri, 04 Nov 2016 16:16:45 GMT</pubDate>
      <dc:creator><![CDATA[Malte Lantin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/malte_lantin/?p=1115</guid>
      <description><![CDATA[Bekanntlich ist Serverless ja das neue Schwarz und auch Microsoft ist mit Azure Functions...]]></description>
      <content:encoded><![CDATA[Bekanntlich ist <a target="_blank" href="https://medium.com/@codeprincess/serverless-is-the-new-black-1c11ce34a02a#.8r9uef4li">Serverless ja das neue Schwarz </a>und auch Microsoft ist mit <a target="_blank" href="https://azure.microsoft.com/en-us/services/functions/">Azure Functions </a>mittendrin. Jetzt können wir in Minuten, ohne jegliche Konfiguration von Servern und anderer Infrastruktur, unsere eigenen Dienste bereitstellen und zahlen nur für die tatsächliche Ausführungszeit.

Azure Functions bietet zum Erstellen der eigenen Funktionen in C# oder NodeJS (weitere in Preview) einen Online Code Editor, welcher von Syntax-Highlighting bis direkter Buildintegration (im Falle von C#) die wichtigsten Funktionen mitbringe. Doch natürlich wollen wir auch weiterhin unsere üblichen (offline) Tools verwenden und Azure Functions in unsere Toolchain einbinden. Natürlich ist auch das möglich. Auch hier ist die Auswahl der Möglichkeiten groß, von einer direkten Anbindung an GitHub, bis zum Deployment über ein Push aus dem lokalen Git Repository. Und genau das wollen wir uns mal ansehen.

Ich habe heute das schöne Tutorial von Manu (aka <a target="_blank" href="https://twitter.com/codePrincess">@CodePrincess</a>) zum Erstellen eines <a target="_blank" href="https://medium.com/@codeprincess/get-your-funky-mock-server-7ca82ce9c35a#.6m52uina8">Mock Servers auf Azure Functions</a> durchlaufen, wollte das Deployment jedoch nicht automatisch von einem öffentlichen Repository, sondern manuell aus meinem lokalen Repository durchführen.

Wie geht das also:

1. Nach dem Anlegen unsere Function App gehen wir links unten auf "Function app settings"

<img width="300" height="177" class="alignnone size-medium wp-image-1125" alt="1" src="https://msdnshared.blob.core.windows.net/media/2016/11/14-300x177.png" />

2. Dann klicken wir auf "Configure continuous integration"

3. Im sich öffnenden Menü ("Blade") klicken wir auf Setup.

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/24.png"><img width="300" height="100" class="alignnone size-medium wp-image-1135" alt="2" src="https://msdnshared.blob.core.windows.net/media/2016/11/24-300x100.png" /></a>

4. Dann wählen wir "Local Git Repository" aus.

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/33.png"><img width="300" height="225" class="alignnone size-medium wp-image-1145" alt="3" src="https://msdnshared.blob.core.windows.net/media/2016/11/33-300x225.png" /></a>

Azure legt uns nun ein Git Repository im Context unserer Function App an. Der Inhalt des Repository spiegelt den Content meines 'Servers' wieder. Nun können wir das Repository klonen oder unsere Inhalte in dieses pushen. Eventuell müssen wir noch einen Benutzernamen und Passwort festlegen, falls wir das für diese Subscription noch nicht getan haben.

5. Für die Nutzung des Repositories brauchen wir die Git-URL. Diese finden wir über "Go to App Service Settings" und dann unter "Overview" oder "Properties" im Bereich "Settings"

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/43.png"><img width="300" height="146" class="alignnone size-medium wp-image-1155" alt="4" src="https://msdnshared.blob.core.windows.net/media/2016/11/43-300x146.png" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/52.png"><img width="196" height="300" class="alignnone size-medium wp-image-1165" alt="5" src="https://msdnshared.blob.core.windows.net/media/2016/11/52-196x300.png" /></a>

6. Jetzt wo wir die URL haben, können wir unsere Inhalte veröffentlichen. 👌

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/62.png"><img width="300" height="105" class="alignnone size-medium wp-image-1175" alt="6" src="https://msdnshared.blob.core.windows.net/media/2016/11/62-300x105.png" /></a>

Links:
<ul>
 	<li>@CodePrincess Serverless is the new black: <a target="_blank" href="https://medium.com/@codeprincess/serverless-is-the-new-black-1c11ce34a02a#.8r9uef4li">https://medium.com/@codeprincess/serverless-is-the-new-black-1c11ce34a02a#.8r9uef4li</a></li>
 	<li>Azure Functions: <a target="_blank" href="https://azure.microsoft.com/en-us/services/functions/">https://azure.microsoft.com/en-us/services/functions/</a></li>
 	<li>Mock Server auf Azure Functions: <a target="_blank" href="https://medium.com/@codeprincess/get-your-funky-mock-server-7ca82ce9c35a#.6m52uina8">https://medium.com/@codeprincess/get-your-funky-mock-server-7ca82ce9c35a#.6m52uina8</a></li>
</ul>
&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Azure in Studium, Lehre und Forschung</title>
      <link>https://docs.microsoft.com/archive/blogs/malte_lantin/microsoft-azure-in-studium-lehre-und-forschung</link>
      <pubDate>Thu, 03 Nov 2016 08:52:13 GMT</pubDate>
      <dc:creator><![CDATA[Malte Lantin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/malte_lantin/?p=1095</guid>
      <description><![CDATA[Ich bin seit einigen Jahren häufig an Hochschulen in ganz Deutschland unterwegs und arbeite dort mit...]]></description>
      <content:encoded><![CDATA[Ich bin seit einigen Jahren häufig an Hochschulen in ganz Deutschland unterwegs und arbeite dort mit Studierenden, sowie Dozentinnen und Dozenten zusammen. Immer häufiger stellt sich hier die Frage nach einem Zugriff auf unsere Azure Cloud Plattform in Form von z.B. <a target="_blank" href="https://azure.microsoft.com/en-us/services/virtual-machines/">virtuellen Maschinen</a> oder auch <a target="_blank" href="https://azure.microsoft.com/en-us/services/machine-learning/">Azure Maschine Learning</a>. Der Grund hierfür sind meist Lehrveranstaltungen, praktische Softwareentwicklung oder auch Forschungsprojekte. Aber auch Hintergrundinformationen und Lehrmaterialien rund um den praktischen Einsatz von Cloud-Technologien werden immer häufiger angefragt. Für beide Bereiche gibt es verschiedenen Angebote, die ich hier einmal an einer Stelle zusammenfassen möchte.
<h1>Nutzung von Microsoft Azure</h1>
Für Studierende bietet sich insbesondere die kostenfreie Nutzung über <a target="_blank" href="https://catalog.imagine.microsoft.com/de-de/Catalog/Product/99">Microsoft Imagine</a> (Aktivierung ohne Kreditkarte) sowie über die <a target="_blank" href="https://azure.microsoft.com/de-de/pricing/member-offers/vs-dev-essentials/">Visual Studio Dev Essentials</a> (Aktivierung mit Kreditkarte) an. DreamSpark umfasst die Nutzung von ausgewählten Cloud-Diensten wie Azure App Services und SQL-Datenbanken. Bei den Visual Studio Dev Essentials steht ein monatliches Guthaben von 21 Euro für ein Jahr für alle Dienste von Microsoft Azure zur Verfügung. Für kürzere Projekte können wir auf persönliche Anfrage und abhängig von der Verfügbarkeit für Studierenden auch Microsoft Azure Pässe mit Guthaben und einer Laufzeit von einem Monat ausstellen.

Des Weiteren haben Forscher über das Programm <a target="_blank" href="https://www.microsoft.com/en-us/research/academic-program/microsoft-azure-for-research/">Azure for Research</a> die Möglichkeit, Microsoft-Azure-Kontingente für Forschungsprojekte zu beantragen. Der Umfang des Research Grant richtet sich dabei nach dem Forschungsvorhaben und wird individuell vereinbart.
<h1>Lehrmaterialien</h1>
Im Rahmen unserer akademischen Programme stehen außerdem kostenlose Materialien und Unterlagen für Vorlesungen, Seminare und Übungen zur Verfügung. Diese können unabhängig von der Nutzung von Microsoft Azure in der Lehre verwendet werden. So können zum Beispiel Materialien zum Thema „Introduction to Cloud Computing“ unter <a target="_blank" href="https://www.microsoft.com/germany/techwiese/techstudent/dozenten-und-administratoren/cloud-vorlesung.aspx">aka.ms/lehre</a> kostenfrei heruntergeladen werden.

Weitere Unterlagen und Übungen für die Lehre im Bereich der Informatik finden Sie in unserem <a target="_blank" href="https://github.com/MSFTImagine/computerscience">GitHub Repository</a>. Im Bereich <a target="_blank" href="https://github.com/MSFTImagine/computerscience/tree/master/Complimentary%20Course%20Content">Complimentary Course Content</a> stehen aktuell neben einer allgemeinen Einführung in das Thema „Cloud Computing“ auch Module in den Bereichen Webentwicklung, Cross-Platform Mobile Development, Internet of Things, DevOps sowie Data Analysis und Data Science zur Verfügung.

Bei Feedback oder Anregungen zu den Inhalten, freuen wir uns jederzeit über Rückmeldungen.
<h2>Links:</h2>
<ul>
 	<li>Microsoft Azure Virtuelle Maschinen: <a target="_blank" href="https://azure.microsoft.com/en-us/services/virtual-machines/">https://azure.microsoft.com/en-us/services/virtual-machines/</a></li>
 	<li>Microsoft Azure Maschine Learning: <a target="_blank" href="https://azure.microsoft.com/en-us/services/machine-learning/">https://azure.microsoft.com/en-us/services/machine-learning/</a></li>
 	<li>Microsoft Azure über das Imagine Programm: <a target="_blank" href="https://catalog.imagine.microsoft.com/de-de/Catalog/Product/99">https://catalog.imagine.microsoft.com/de-de/Catalog/Product/99</a></li>
 	<li>Visual Studio Dev Essentials: <a target="_blank" href="https://azure.microsoft.com/de-de/pricing/member-offers/vs-dev-essentials/">https://azure.microsoft.com/de-de/pricing/member-offers/vs-dev-essentials/</a></li>
 	<li>Azure for Research: <a target="_blank" href="https://www.microsoft.com/en-us/research/academic-program/microsoft-azure-for-research/">https://www.microsoft.com/en-us/research/academic-program/microsoft-azure-for-research/</a></li>
 	<li>Materialien für die Lehre:<a target="_blank" href="https://www.microsoft.com/germany/techwiese/techstudent/dozenten-und-administratoren/cloud-vorlesung.aspx"> https://www.microsoft.com/germany/techwiese/techstudent/dozenten-und-administratoren/cloud-vorlesung.aspx</a></li>
 	<li>Computer Science Material GitHub:<a target="_blank" href="https://github.com/MSFTImagine/computerscience"> https://github.com/MSFTImagine/computerscience</a></li>
 	<li>Kursmaterialien für Dozenten: <a target="_blank" href="https://github.com/MSFTImagine/computerscience/tree/master/Complimentary%20Course%20Content">https://github.com/MSFTImagine/computerscience/tree/master/Complimentary%20Course%20Content</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>[English] Host your own Minecraft Server on Microsoft Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/malte_lantin/english-host-your-own-minecraft-server-on-microsoft-azure</link>
      <pubDate>Tue, 14 Jun 2016 19:26:55 GMT</pubDate>
      <dc:creator><![CDATA[Malte Lantin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/malte_lantin/?p=985</guid>
      <description><![CDATA[You might already play Minecraft on your Windows / Linux PC or Mac, but once you want to play with...]]></description>
      <content:encoded><![CDATA[You might already play <a href="https://minecraft.net" target="_blank">Minecraft</a> on your Windows / Linux PC or Mac, but once you want to play with your friends you will need your own Minecraft Server. You can either get your own Minecraft world for a monthly fee through <a href="https://minecraft.net/en/realms/pc/" target="_blank">Minecraft Realms</a> or just host the server yourself (this only works with the Java based Windows, Linux, Mac Version of Minecraft). Setting up your own server is documented <a href="https://minecraft.gamepedia.com/Tutorials/Setting_up_a_server" target="_blank">here</a>, but as you will find there are some hoops to jump through.

What if you could just use a preconfigured server, set it up for on demand usage and only pay when you are actually playing on your server? With Microsoft Azure you can do exactly that and you can even scale the size of your server (number of cpu cores, RAM, etc) when you need it.

There are just a few steps to take when setting up the server (up to date as of June 14th 2016):

1. Get a Microsoft Azure account. You can start with a free trial and credits for your first month here: <a href="https://azure.microsoft.com/en-gb/free/" target="_blank">https://azure.microsoft.com/en-gb/free/</a>

2. Select the Minecraft Server Virtual Machine from the Azure Marketplace: <a href="https://aka.ms/minecraftvm" target="_blank">https://azure.microsoft.com/en-gb/marketplace/partners/microsoft/minecraftserver/</a>

3. Click on "Create Virtual Machine"

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/118.png"><img class="alignnone wp-image-986 size-medium" src="https://msdnshared.blob.core.windows.net/media/2016/06/118-300x169.png" alt="1" width="300" height="169" /></a>

&nbsp;

4. Log in with your Microsoft Account and click on "Create"

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/214.png"><img class="alignnone size-medium wp-image-995" src="https://msdnshared.blob.core.windows.net/media/2016/06/214-300x283.png" alt="2" width="300" height="283" /></a>

5. Now you need to do some basic configuration work:
<ul>
	<li>Pick a name for your server (the url for your server will be name.cloudapp.net)</li>
	<li>Enter a username to use as an administrator</li>
	<li>Define a password or upload an ssh key you will use to access your server</li>
	<li>Select a server size / pricing tier, A1 will be a good size to start with</li>
	<li>Optional: Configure Network, Storage and Diagnostics</li>
	<li>Optional: Select or define a name to group your Azure ressources</li>
	<li>Optional: Select the subscription to use if you have got multiple</li>
	<li>Select a location / data center to host your server, pick a location close to your users</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/06/312.png"><img class="alignnone size-medium wp-image-1005" src="https://msdnshared.blob.core.windows.net/media/2016/06/312-177x300.png" alt="3" width="177" height="300" /></a>

6. Now click on "Create" to have Azure create you Minecraft Server

7. After a few minutes your server will be ready. To connect to this server in Minecraft just use the URL and Port 25565 like this: yourname.cloudapp.net:25565

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/3-5.png"><img class="alignnone size-medium wp-image-1015" src="https://msdnshared.blob.core.windows.net/media/2016/06/3-5-300x179.png" alt="3-5" width="300" height="179" /></a>

8. If you use a current version of Minecraft and try this right away, you will get the error message that your Minecraft server version needs to be updated from 1.8 to a current version.

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/49.png"><img class="alignnone size-medium wp-image-1025" src="https://msdnshared.blob.core.windows.net/media/2016/06/49-300x179.png" alt="4" width="300" height="179" /></a>

9. To update your server (and do some additional settings), log into your server using ssh (Linux, Mac) or a tool like Putty (Windows). Bash and SSH will come to Windows soon.

10. After logging into your server with you username and password first switch to the folder of your Minecraft Server "cd /srv/minecraft_server".

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/58.png"><img class="alignnone size-medium wp-image-1035" src="https://msdnshared.blob.core.windows.net/media/2016/06/58-300x193.png" alt="5" width="300" height="193" /></a>

11. Download the current version of the Minecraft server using CURL. Currently this would be "sudo curl --remote-name https://s3.amazonaws.com/Minecraft.Download/versions/1.10/minecraft_server.1.10.jar". You can find an up to date link for downloading the current server version on <a href="https://minecraft.net/en/download/server" target="_blank">https://minecraft.net/en/download/server</a>.

12. While in the correct folder let's also update ops.json file right now, so that we have got some rights to modify the game when logged into our server. We can edit the file using using nano like this: "sudo nano ops.json". Edit the file like shown below using your (or your friends) Minecraft user name and unique ID. You can find out the unique ID using the the tool on <a href="https://mcuuid.net" target="_blank">https://mcuuid.net</a>.

[
{
"uuid": "uuid",
"name": "minecraft_username",
"level": 4
}
]

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/77.png"><img class="alignnone size-medium wp-image-1045" src="https://msdnshared.blob.core.windows.net/media/2016/06/77-300x193.png" alt="7" width="300" height="193" /></a>

13. Now save the file using "CTRL + o" and exit Nano using "CTRL + x". You can also edit your "server.properties" file here to do some further configuration of your server. You can find more details about the server properties in the <a href="https://minecraft.gamepedia.com/Server.properties" target="_blank">Minecraft Wiki</a>.

14. Let us now tell the Minecraft server service to use the current version of Minecraft we just downloaded. For that we will edit the service configuration using Nano like this: "sudo nano /etc/systemd/system/minecraft-server.service". We just need to reference the new version of the Minecraft Server here.

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/96.png"><img class="alignnone size-medium wp-image-1055" src="https://msdnshared.blob.core.windows.net/media/2016/06/96-300x112.png" alt="9" width="300" height="112" /></a>

15. Save the file and exit Nano.

16. Now stop and restart the the Minecraft server service. You might need to reload the systemd state before using "systemctl daemon-reload". Now run "systemctl restart minecraft-server" to restart the service.

17. You will need to give the service a few seconds to restart. After that you can refresh your server in you Minecraft client and connect to your server.

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/104.png"><img class="alignnone size-medium wp-image-1065" src="https://msdnshared.blob.core.windows.net/media/2016/06/104-300x179.png" alt="10" width="300" height="179" /></a>

18. Congratulations! You have now set up your own Minecraft Server.

19. To make the Minecraft server service start automatically after you shutdown / start or reboot your server through the Azure Management Portal use the following command: "sudo ln -s /etc/systemd/system/minecraft-server.service /etc/systemd/system/multi-user.target.wants/minecraft-server.service"

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/119.png"><img class="alignnone size-medium wp-image-1066" src="https://msdnshared.blob.core.windows.net/media/2016/06/119-300x179.png" alt="11" width="300" height="179" /></a>

Use the Azure Portal (https://portal.azure.com) to stop your server when you don't use it. You can restart it when ever you need it. When your server is stopped through the Azure Portal it does not cause any VM charges. You just have to pay a small amount to keep your server drive persisted in Azure storage.

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/123.png"><img class="alignnone size-medium wp-image-1075" src="https://msdnshared.blob.core.windows.net/media/2016/06/123-300x177.png" alt="12" width="300" height="177" /></a>

You can use the <a href="https://azure.microsoft.com/en-us/pricing/calculator/" target="_blank">calculator</a> on the Azure website to calculate your charges. Keep in mind that charges for runnig your server depend on the size of you virtual machine and are charged per minute. So just make sure your server is in the "deallocated" state when you don't use it.

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/132.png"><img class="alignnone size-medium wp-image-1085" src="https://msdnshared.blob.core.windows.net/media/2016/06/132-300x73.png" alt="13" width="300" height="73" /></a>

Have fun with your new Minecraft server!

Links:
<ul>
	<li>Minecraft Website: <a href="https://minecraft.net" target="_blank">https://minecraft.net</a></li>
	<li>Minecraft Realms: <a href="https://minecraft.net/en/realms/pc/" target="_blank">https://minecraft.net/en/realms/pc/</a></li>
	<li>Minecraft Wiki - Setting up a server: <a href="https://minecraft.gamepedia.com/Tutorials/Setting_up_a_server" target="_blank">https://minecraft.gamepedia.com/Tutorials/Setting_up_a_server</a></li>
	<li>Microsoft Azure Trial: <a href="https://azure.microsoft.com/en-gb/free/" target="_blank">https://azure.microsoft.com/en-gb/free/</a></li>
	<li>Minecraft Server Azure Virtual Machine: <a href="https://aka.ms/minecraftvm" target="_blank">https://azure.microsoft.com/en-gb/marketplace/partners/microsoft/minecraftserver/</a></li>
	<li>Minecraft Server Download: <a href="https://minecraft.net/en/download/server" target="_blank">https://minecraft.net/en/download/server</a></li>
	<li>Minecraft Unique ID: <a href="https://mcuuid.net" target="_blank">https://mcuuid.net</a></li>
	<li>Minecraft Wiki Server Configuration: <a href="https://minecraft.gamepedia.com/Server.properties" target="_blank">https://minecraft.gamepedia.com/Server.properties</a></li>
	<li>Azure Pricing Calculator: <a href="https://azure.microsoft.com/en-us/pricing/calculator/" target="_blank">https://azure.microsoft.com/en-us/pricing/calculator/</a></li>
</ul>
&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Neuer Virtual Academy Kurs - Eine Einführung in PowerApps</title>
      <link>https://docs.microsoft.com/archive/blogs/malte_lantin/neuer-virtual-academy-kurs-eine-einfuhrung-in-powerapps</link>
      <pubDate>Mon, 04 Apr 2016 08:19:01 GMT</pubDate>
      <dc:creator><![CDATA[Malte Lantin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/malte_lantin/?p=981</guid>
      <description><![CDATA[Noch vor Ostern ist mein neuer Microsoft Virtual Academy (MVA) Kurs zu PowerApps erschienen....]]></description>
      <content:encoded><![CDATA[Noch vor Ostern ist mein neuer <a href="https://mva.microsoft.com/" target="_blank">Microsoft Virtual Academy</a> (MVA) <a href="https://mva.microsoft.com/de-de/training-courses/eine-einfhrung-in-powerapps-16124" target="_blank">Kurs zu PowerApps</a> erschienen. <span id="course-title-desc" class="displayInlineBlock"><a href="https://powerapps.microsoft.com" target="_blank">PowerApps </a>ist eine Sammlung von Werkzeugen, die es Fachanwendern erlaubt in einfacher Art und Weise Apps für Smartphones, Tablets (iOS, Windows) sowie Windows 10 PCs zu erstellen. Gearbeitet wird dabei in einer für Office-Anwender vertrauten Umgebung, welche nur geringe bis keine Programmierkenntnisse erfordert. Die erstellten Apps können auf bereits im Unternehmen vorhandene Daten zurückgreifen und damit sowohl neue Anwendungsfälle abdecken, als auch existierende Systeme um eine mobile Komponente ergänzen. Gemeinsam mit von der Unternehmens IT bereitsgestellten Schittstellen und Diensten sowie den mitgelieferten Schnittstellen bietet PowerApps damit eine einfach zu nutzende Möglichkeit Geschäftanwendungen für mobile Endgeräte zu erstellen und diese mit anderen Anwendern im Unternehmen zu teilen. In vier Modulen stelle ich die Technologie in diesem <a href="https://mva.microsoft.com/de-de/training-courses/eine-einfhrung-in-powerapps-16124" target="_blank">Kurs </a>vor.
</span>

Links:
<ul>
	<li>MVA Kurs - Eine Einführung in PowerApps: <a href="https://mva.microsoft.com/de-de/training-courses/eine-einfhrung-in-powerapps-16124" target="_blank">https://mva.microsoft.com/de-de/training-courses/eine-einfhrung-in-powerapps-16124</a></li>
	<li>Microsoft Virtual Academy (MVA): <a href="https://mva.microsoft.com/" target="_blank">https://mva.microsoft.com/</a></li>
	<li>PowerApps Website: <a href="https://powerapps.microsoft.com" target="_blank">https://powerapps.microsoft.com</a></li>
</ul>]]></content:encoded>
    </item>
  </channel>
</rss>