Open AlexMcConnell opened 3 years ago
I'm having this problem with the VNC version as well.
99% chance that they do not support hardware nested virtualization
Amazon Linux is actually Red Hat linux, so it will work.... but in this case, it's probably hardware nested virtualization that has been disabled.
Digital Ocean works
I can confirm Digital Ocean works, I'm using that as I type this comment, but don't expect to use xcode. Apple blocks requests from DO droplets.
Not sure if/how I can enable hardware nested virtualization on AWS, but I'll definitely have a closer look at their RHEL AMIs
I can confirm Digital Ocean works, I'm using that as I type this comment.
Not sure if/how I can enable hardware nested virtualization on AWS, but I'll definitely have a closer look at their RHEL AMIs
Haha excellent! 😝🚀🚀
Is it expensive in DO? I want to have macOS ephimeral runners for my Gitlab CI/CD but an AWS metal instance is pretty much for my use case...
The most economical way to do it is in the following way:
docker commit at the stage you want your machine, or copy the .img to somewhere.
Then use their API, or terraform, to run the server for the time required, and then delete it after.
Is it expensive in DO? I want to have macOS ephimeral runners for my Gitlab CI/CD but an AWS metal instance is pretty much for my use case...
I am not familiar with their bare metals but it would probably work.
@daraul were you able to run it on amazon linux?
@daraul were you able to run it on amazon linux?
@ykhandelwal913 it will run on bare metal only, source: https://www.reddit.com/r/aws/comments/eo85jr/ec2_instance_types_that_support_nested/
Edit: this thread could be old news though
Thanks @sickcodes for prompt response. sorry for reopening the old thread.
I never got a chance to look at their RHEL AMI's @ykhandelwal913, but if I do I'll be back.
If you are in the EU, Hetzner is a great host to use. They have servers in Germany and Finland. Super cheap prices. I have 10Gbps connection for €39 p/m (not including the server cost)
Well, it's Amazon's own special implementation of Linux, so who knows if it's even possible to make this work, but...
SSH'd into my EC2 instance.
Ran:
Exited and rebooted.
SSH'd back in, pulled the Docker image and ran:
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
Failboat:
Other stuff:
Is this due to not having a display? Is there a way around not having a display?