0

I have implemented parallel execution of Selenium tests and my requirement is to run the tests with 200+ parallel Chrome browsers.

I am running my scripts on an EC2 instance in headless mode. The EC2 instance config is 8-core CPU and 32GB memory, which is less for 200+ browsers. I don't want to increase the config as it will increase the cost.

Can anyone suggest some AWS setup to achieve parallel execution so that I can use the AWS instance on demand and destroy it if not in use thereby saving cost?

8
  • Have you checked AWS Device Farm? Oct 14, 2022 at 18:09
  • no I haven't checked AWS Device Farm. Thanks for the suggestion, let me check if it suits my requirement Oct 18, 2022 at 7:05
  • AWS device farm only allows 50 parallel sessions docs.aws.amazon.com/devicefarm/latest/testgrid/… Nov 2, 2022 at 8:25
  • Just like any AWS service you can just ask the support to increase the limit as stated in the docs. "If you require more than 50 concurrent sessions, open a technical support case with your use case" Nov 3, 2022 at 9:20
  • 1
    An alternative is running a bunch of spot instances, run your tests and dispose them (This might scale for much more than 200 parallel instances). There's an example on AWS blog here: aws.amazon.com/pt/blogs/opensource/… Nov 9, 2022 at 14:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.