How to run android emulator on amazon ec2?

Viewed 6012

Well, I already go through several blogs to run an android emulator on amazon ec2, but none of them works, and they are generally 3 to 5 years old.

Would like to know, do we have any alternative, way, crack in 2021 to run android studio & emulator on Amazon EC2 instance(Ubuntu or Windows Server) without using any third party like Bluestacks, and for free?

Thanks

2 Answers

You have 2 options:

  1. use regular ec2 instance like this example - Android-Emulator-on-AWS-EC2 I tried it and it works well, but you don't have any fun way to get the emulator with GUI and you can work only with ADB.
  2. Use bare metal instances like c5.metal (The cost is $4 per hour) this is a good guide on how to do it.Deploying Android Emulators on AWS EC2 in this link he explains the difference between the instances.
Related