Run VirtualBox On An Azure Virtual Machine

I’m currently doing a Data Science on Coursera (https://www.coursera.org/course/datasci) that requires me to complete assignments using a provided virtual machine. The easiest option for playing the VM seems to be VirtualBox however I can’t install it on my PC. So I’m going to try to get it running on an Azure VM instead (essentially running a VM within a VM).


First, set up a new Azure VM (e.g. DataSciServer) – I’ve detailed how to do this in a previous post. On DataSciServer, download VirtualBox from https://www.virtualbox.org/ & install.
1 vbox_install_1
2 vbox_install_2
3 vbox_install_3
4 vbox_install_4
5 vbox_installed_5
Download data science VM (.ova file format). Launch VirtualBox, click the File menu & Import Appliance. In the Import Virtual Appliance window, enter .ova file location & click Next.
6 vbox_import_ova
In the Appliance Settings window, click Import.
7 vbox_appliance_settings
8 vbox_importing_ova
Once imported, you should see the VM details in the VirtualBox screen.
9 vbox_imported_vm
Highlight the VM & click Start.
10 vbox_start_vm
This is the point at which we find out if running VirtualBox in an Azure VM is possible…
11 vbox_vm_running
Success!

Advertisements

4 comments

  1. Hi, I tried to do similar with genymotion which is run under virtual box.. but with no success Just wondering is there anything special for .ova?

    1. Hi Budi. There was nothing special about the .ova I used as far as I’m aware. It was provided to me, rather than one I had created myself so I can’t say if the creator set any special properties on it.

  2. Wan Arif · · Reply

    Hi,

    I have setup a virtual machine in Azure running Windows Server 2012 R2 Datacenter, and also installed VirtualBox on top of it.
    I managed to import .ova file, but failed to start/power_on the appliance. Got this error:

    “This kernel requires an x86-64 CPU but only detected an i686 CPU. Unable to boot – please use a kernel appropriate for your CPU.”

    My research on internet showed some instructions to activate hardware virtualization in the BIOS setup for 64bit machine, assuming I have control to the physical machine. As you are aware I am in Azure virtual machine. Is it possible to activate hardware virtualization on Azure virtual machine? Sounds strange, but if possible, please show me the way …..

    Thanks a lot.

    Wan Arif

    1. Hi. I’m not aware of a way to get this working with a 64-bit machine. If you find a way of doing so, it’d be great to hear how you did it. Thanks.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Kevin Kline

Career and Technical Advice for the IT Professional

TroubleshootingSQL

Explaining the bits and bytes of SQL Server and Azure

SQL Authority with Pinal Dave

SQL Server Performance Tuning Expert

Powershellshocked

A blog about PowerShell and general Windows sysadmin stuff

Simon Learning SQL Server

I'm trying to become "better" at SQL Server and data - here's how I'm doing it!

%d bloggers like this: