Click here to Skip to main content
14,391,917 members

Setting up a Deep Learning Machine on Azure from the App Marketplace

Rate this:
3.80 (5 votes)
Please Sign up or sign in to vote.
3.80 (5 votes)
23 Oct 2018CPOL
Using a pre-configured environment on Azure to create a "ready to go" Deep Learning machine

Introduction

I've run a lot of machine learning/A.I. projects as toys, and even a few not very complex ones in production. Normally, they run on the CPU, and in only one instance did I use a GPU ... the projects simply didn't require it. Sometimes however, you come across something you need to try out, and it needs a STONKIN BIG MOTHA of a machine to really get its teeth stuck in. I had to do that recently and found the quickest way to get started was to spin up what I needed using the pre-configured Azure Deep Learning environment, then drop it when I was finished. No messing around with configuration/installs or other faffing about, just straight down to business. This article walks through the process that is actually rather pleasantly simple.

Setup

The pre-build environment we want sits in the Azure app marketplace. It can run both Windows and Linux, and when switched on, gives you immediate access to all of the popular Deep Learning toolkits including Tensorflow, Keras, MS Cognitive Toolkit, etc. You can find the setup link for the deep-learning environment in the app marketplace here.

Image 1

To get started, click on the 'Get it now' button and then 'continue' once you agree to the usual 'sign your life away' malarkey.

Image 2

You will next be redirected to the Azure portal and asked to start environment creation.

Image 3

Fill in the usual things like machine name, resources group, etc. and the next part of the fun is to pick the machine size, and <cough> price! ....

Image 4

Now, let there be no panic when you see these prices! :)

Image 5

A lot of times, we look at prices of tech as developers and gulp .... wow, expensive! .... well, it depends .... this is the cloud, and the promise of the cloud is you only pay for what you use. So, in my case, and I am sure yours, I only want to sign up the machine for perhaps 30 minutes, do my clever clogs Machine Learning on the GPU, and then delete the box ... gone, never to be heard of again.... so actually, even the more expensive box listed, will only cost me a few dollars to spin up, use, and spin down again.

Image 6

After the usual few minutes of automation, the complete environment is up and ready to connect into!

Using this prebuilt environment on an 'as needed' basis saves a ton of time, and, so long as you remember to delete it afterwards, is a very affordable way to build models fast. Please, oh please don't forget to delete those big expensive environments after use!!! ... you've been warned. :)

History

  • 23rd October, 2018: Version 1

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

AJSON
Engineer
United Kingdom United Kingdom
Allen is a consulting architect with a background in enterprise systems. His current obsessions are IoT, Big Data and Machine Learning. When not chained to his desk he can be found fixing broken things, playing music very badly or trying to shape things out of wood. He runs his own company specializing in systems architecture and scaling for big data and is involved in a number of technology startups.

Allen is a chartered engineer, a Fellow of the British Computing Society, and a Microsoft MVP. He writes for CodeProject, C-Sharp Corner and DZone. He currently completing a PhD in AI and is also a ball throwing slave for his dogs.

Comments and Discussions

 
Bug<strike>No images?</strike> Pin
Kornfeld Eliyahu Peter24-Oct-18 5:03
mveKornfeld Eliyahu Peter24-Oct-18 5:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Article
Posted 23 Oct 2018

Stats

2.8K views
2 bookmarked