Running Bluestacks on AWS or Google cloud - amazon-web-services

Is there any way to run Bluestacks on virtualized instances in the cloud.
I tried both AWS, GCE, both failed.
AWS fails with the message "Failed due to enabled Hyper-V", even It's disabled in the settings.
And GCE just cannot start bluestacks, it simply loads and finally says "couldn't start Bluestacks"
What's interesting that these guys managed to do it.. https://aws.amazon.com/marketplace/pp/Cognosys-Inc-1-Click-Ready-Secured-BlueStacks-App-/B01N0E0YYZ
But how? Cannot use their image as it's old.

Bluestack doesn't work for me too. I saw Cognosys but they are running on Windows Server 2012 which is really old.
Try Memu Play 2GB Ram Minimum (Try the 4GB VPS)
Windows Server 2019 Base
DirectX
It works for me

Related

AWS Windows 10 Workspaces not functional?

Noob here with AWS workspaces. Brand new AWS account, went through full tutorial to set up a Windows workspace as per this video (twice). Both times, I can sign in but trying to connect to the Workspace is unsuccessful via the AWS client or their web client. When trying to use their web client I get "Connecting..." for about 10 minutes, and then an error (see image below). Note that I can connect just fine using RDP to the Workspace windows desktop, using Remmina (I'm on ubuntu) so I know these hosts are spun up and working just fine. But the AWS clients aren't working. I've tried all troubleshooting steps provided by AWS including verifying that the right processes are running on the host with Powershell as Administrator.
Anybody else running into this? It seems pretty weak of Amazon to release this offering that doesn't work "out of the box" with pretty much default choices for everything including their own Windows image.

Is it possible to run Carla simulator in Google Linux VM instance

I am trying to run Carla simulator in Google Linux VM instance (Ubuntu 20.4 with GPU NVIDIA Tesla P100 Virtual Workstation). I used NoMachine to remotely connect to the instance.
All the installation steps are done perfectly but when I run Carla simulator, it will show below error
I run the vulkaninfo command on NoMachine then an exception is thrown
build/vulkan-tools-KEbD_A/vulkan-tools-1.2.131.1+dfsg1/vulkaninfo/vulkaninfo.h:477: failed with ERROR_INITIALIZATION_FAILED
However, if I run vulkaninfo command on SSH connection then it results correctly.
I guess that is because there is no physic display for Google VM instance so NoMachine cannot detect it (I even used NoMachine workstation version already).
So, I just wonder if it is possible to graphic display for Google Linux instance? Or is there any better way to do visualize remote connection rather than NoMachine? I would appreciate any suggestions.
Thank you very much in advance
It seems to be an issue with no machine and vulkan as per this other thread.
You could try using Teradici for PCoIP as suggested in GCP's documentation for "Creating a virtual GPU-accelerated Linux workstation". A Free trial period can be requested here.

AWS EC2 instance Login failure

I am getting below error when trying to login into my AWS EC2 instance. Last login was around 2 weeks back and everything was working fine so the password I am using is correct. No other information is available on the error message.
Is there a way I can see any logs through management console ?
Appreciate any help on this.
Remote Desktop Connection
An authentication error has occurred.The function requested is not supported
It seems like you are facing this issue.
Bottemline, This is caused by a Microsoft Security Patch. The Microsoft Security patch issued on Tuesday, May 8th 2018 triggered the problem by setting and requiring remote connections at the highest level.
Simply adjust the Remote Desktop settings on the host machine to a lower security level. From File Explorer, choose Computer, right-click and select Properties, then click Change Settings, and go to the Remote tab.
From Windows 10, uncheck the option to “Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)”
From Windows 7, it’s setting the option to the Less Secure option rather than More Secure
Once these are set, users can remote to the machine again.
If you don't have any other way into the machine except Remote Desktop, I'm afraid the machine is lost.
For anyone facing this issue. Below is response from AWS technical support team:
Looking at the error message you posted, this is due to a recent patch (KB4103727) that Microsoft has released to fix a vulnerability. It is a mandatory requirement from Microsoft that both the client machine (the computer from which you are trying to RDP into your instances) and the remote server (your EC2 instance) has the latest updates installed. If one of these machines has the latest updates installed and the other does not, RDP connection would fail.
Note: If you see your Windows is up to date and you do not see the KB4103727 installed, it could be a different KB article which applied the KB4103727 as a cumulative update. If this is the case, please uninstall all KBs that were installed recently before the RDP connection was broken.
For more information about this hotfix, please refer to the Microsoft documentation below:
https://blogs.technet.microsoft.com/yongrhee/2018/05/09/after-may-2018-security-update-rdp-an-authentication-error-occurred-this-could-be-due-to-credssp-encryption-oracle-remediation/
https://support.microsoft.com/en-us/help/4093492/credssp-updates-for-cve-2018-0886-march-13-2018
There are multiple workarounds for this issue:
Option 1: If the update is installed on your client (workstation) and is not installed on your EC2 instance.
Uninstall KB4103727 from your client machine. After you uninstall the KB and gain RDP access to the EC2 instance, you can patch the instance with latest updates first and then update your client machine with the KB by running Windows Update again.
Alternately, you can keep your client machine updated and you can install latest Windows updates on your EC2 instance remotely using SSM Run Command. For detailed instructions on how to configure your instance to use SSM Run Command, please refer to the below documentation:
SSM Prerequisites: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-prereqs.html
Run Command Tutorial: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/tutorial_run_command.html#rc-tutorial-ui
After you configure your instance to use SSM Run Command, you can execute the Run Command document "AWS-InstallWindowsUpdates" remotely on your instance.
Option 2: If the KB is installed on your EC2 instance and is not installed on your client machine
Run Windows Update on your client machine and install latest software updates. Once the latest updates are installed on both your instance and the client machine, you should be able to RDP into the instance.
Alternately, if you have a backup AMI or an EBS snapshot created before the patch was installed on your EC2 instance, you may consider restoring your instance from the backup to roll back the installed software updates.
Option 3: There is a workaround suggested by third party websites to disable the check altogether on the unpatched Windows machine and RDP should work normally. On the unpatched machine, open a command prompt with Administrator privileges and run the command mentioned below:
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /f /v AllowEncryptionOracle /t REG_DWORD /d 2
Please note, you may have to reboot your Windows machine for the changes to take effect after you install/uninstall the KB.
So, finally I had to uninstall mentioned update from client machine(using which I was trying to connect to the aws instance) which allowed me to connect to the instance. Once connect, I updated the instance with windows updates and rebooted it which resolved the issue.

Reconnecting to google cloud datalab; notebook seems to be frozen

I setted up a google cloud datalab vm on google cloud following their instructions on the official page. I also created the datalab vm using the google cloud sdk on my local computer and the problem was the same using both ways.
Both ways I could open the notebook, run my code and everything looked good in the beginning. However, if I close the browser windows, computer turns to sleep mode or connection break, I cannot reconnect properly. My code runs for couple of hours producing output. When I reconnect I only see the output from the last autosave but no new data is produced and the notebook is not responding.
From the google cloud platform I can see that the datalab vm instance is running on full cpu power so it seems like the kernel is running but the notebook is not connecting properly. I'm using windows 10 with chrome.

Free VM with management API that runs on windows?

Is anyone aware of a free (as in beer) VM that will run on a wide range of windows hosts (XP/Vista/7/etc), that comes with a full management API (at least the ability to create, monitor, start/stop and snapshot guest VMs) ?
I looked at VMPlayer, but its VIX API appears to be crippled for that product.
I looked at Xen, and it comes with a management API, but Xen only runs on Linux hosts.
thanks
Steve
Have a look at VirtualBox I have ran that succesfully on both XP and 7, have not tried Vista