# No hardware? Use VirtualBox to simulate a device for balenaCloud!

**URL:** <https://forums.balena.io/t/no-hardware-use-virtualbox-to-simulate-a-device-for-balenacloud/350792>\
**Category:** Discussions\
**Created:** [January 3, 2022, 9:40pm UTC](https://forums.balena.io/t/no-hardware-use-virtualbox-to-simulate-a-device-for-balenacloud/350792 "2022-01-03T21:40:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewnhem](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/andrewnhem/32/4284_2.png) [@andrewnhem](https://forums.balena.io/u/andrewnhem)\
**Post date:** [January 3, 2022, 9:40pm UTC](https://forums.balena.io/t/no-hardware-use-virtualbox-to-simulate-a-device-for-balenacloud/350792/1 "2022-01-03T21:40:38Z")

</div>

Please use the thread below to discuss the related blog post:

> **[No hardware? Use VirtualBox to simulate a device for balenaCloud!](https://www.balena.io/blog/no-hardware-use-virtualbox/)**
>
> We receive quite a few inquiries from people wanting to use balena on their own developer machines in a VM. Maybe the board you're using is still in the mail and you can't wait to get started? Or perhaps you'd like to try balena with a fleet of...

---

<div class="post-metadata">

**Author:** ![sergei](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@sergei](https://forums.balena.io/u/sergei)\
**Post date:** [May 13, 2022, 8:19pm UTC](https://forums.balena.io/t/no-hardware-use-virtualbox-to-simulate-a-device-for-balenacloud/350792/2 "2022-05-13T20:19:10Z")

</div>

The deployed image is not pulled by a device installed on top of NUC Intel (VM Virtual Box) VM.  
I have prepared a golden image (converted) according to instructions and flashed it to the VM.  
Next I removed one storage (the same as if unplugged USB) and executed the commands:

> balena push fleet\_2  
> balena deploy fleet\_2  
> But I see no effect! The release version is created in balenaCloud dashboard.  
> But device is not pulling a new image with configured containerized application.  
> Any ideas why?
> 
> ![image](https://global.discourse-cdn.com/balena/original/2X/d/d0be01ec3ae59861ca7c242ceee04a5e4f38b29b.png)

---

<div class="post-metadata">

**Author:** ![builder555](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@builder555](https://forums.balena.io/u/builder555)\
**Post date:** [July 19, 2022, 8:03pm UTC](https://forums.balena.io/t/no-hardware-use-virtualbox-to-simulate-a-device-for-balenacloud/350792/5 "2022-07-19T20:03:42Z")

</div>

Hi Sergei,

There could be a number of reasons why the application is not being pulled down. I just followed the tutorial and got the application pulled down and running. At first I made a mistake of not adding the 2nd drive to the VM, which caused the entire process to fail.

So far I see two possible reasons: 1. your device is showing offline, so it could be a networking issue, or 2. there is some kind of error applying a boot config, which could indicate something wrong with the storage that you selected.

Here are the steps that I followed, which worked:

1. Create a new fleet (or select existing), I created a fleet `testnuc`
2. Add device, download the image (the file was `balena-cloud-testnuc-intel-nuc-2.98.33-v13.1.11.img.zip`
3. unzip the image
4. convert it to VM disk: `VBoxManage convertdd balena-cloud-testnuc-intel-nuc-2.98.33-v13.1.11.img testnuc.vmdk --format VMDK`
5. Create new machine w/4gb ram WITHOUT a disk
6. in Settings, ensure VM System config is correct (as per tutorial):  
6.1 Disable I/O APIC (default setting can result in a boot crash)  
6.2 Enable EFI (the NUC image is set up for UEFI boot)
7. In Settings \> Storage, add new SATA controller
8. Create new VHD (Virtual Hard Disk) and add it to the controller (i set 8gb)
9. Add the converted disk to the same controller (at this point you should see the contoller with port count as 2 and have 2 disks, with your 8gb one being first)
10. in Settings \> Network select NAT
11. Run the VM, wait until it shows up in dashboard and settles with Online status
12. On the local machine, clone a Masterclass CLI repo: `git clone https://github.com/balena-io/balena-cli-masterclass`
13. deploy it to the fleet: `cd balena-cli-masterclass && balena push builder555/testnuc` (you’ll need to replace the last part with your own username/fleet)

After a few seconds, in the logs it showed “Hello world”

Please try these steps and see if you get the same result
