Selenium script execution in AWS EC2 instance using selenium grid and docker containers
<blockquote>
<p><strong><em> In this use case, we will see how to execute the selenium script execution inside AWS EC2 instances using Selenium grid and docker image.</em></strong></p>
</blockquote>
<h2> <strong>EC2 instance creation with preinstalled docker amazon Linux AMI</strong></h2>
<p> Go to AWS Management console, In AMI search for an ‘docker’ and select one of the Linux AMI where docker already been pre-installed as below.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/0*MSZY7hcoiFOh-2W7.png" style="height:288px; width:700px" /></p>
<p> Create a new key-pair in order to connect with EC2 instances. If you are using putty please make you are selecting the .ppk file</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:678/0*zCuk8F6cqcC22mpz.png" style="height:702px; width:678px" /></p>
<p> In Network settings, make sure you add the inbound security group with port 4444 and 7900 as below</p>
<p><a href="https://medium.com/cloudnloud/selenium-script-execution-in-aws-ec2-instance-using-selenium-grid-and-docker-containers-6fd2b0c8c1c1"><strong>Website</strong></a></p>