For our test and demo environments I’d like to be able to host some ‘virtual’(?) Balena devices in AWS. I would like to manage them through the regular Balena dashboard as much as possible. I just need a place where they’ll stick around without the need to organise a bunch of hardware.
I managed to get an instance going in VirtualBox. But AFAIK you can’t put VirtualBox on EC2 or in a Docker container. Otherwise I could make something manageable using Vagrant.
I tried to make Balena in container work under Kubernetes. But I couldn’t figure it out. It seemed like Kubernetes would not let Balena do al the mounting things and I could not find a way around that.
I found this pull request that looks perfect for me. I could just start an EC2 container with a Balena OS AMI. But the pull request looks like it has been idle for a while. And I don’t even know where to begin with that to contribute, looks like a really steep learning curve there.
Since I got it going on VirtualBox I’m going to try if I can import that somehow using AWS VM Import. But that feels like a bit of a long shot not to mention cumbersome. But if I manage to get EBS volumes for boot, state and data at the right mount points it might work right?
In conclusion; I’m kind of stuck with this. Does anyone have any practical tips on how I could get a few virtual Balena devices setup on AWS?