I'm aware of two Android emulators such as BlueStacks (Windows and macOS) and Genymotion (macOS and Linux). They both use virtual images to run Android emulation and they work fine on my MacBook. However they won't work on VPS, as you can't use VM within already virtualized environment (such as VPS or Amazon EC2).
Is there any solution to run Android app with works 24h/7d on Amazon EC2 or on different VPS, either on Linux, macOS or using some special AMI used for Android?