SeleniumGridScaler
SeleniumGridScaler copied to clipboard
Can't find AMI on aws
Hi!
Is the linux ami listed in aws.properties.default
as id: ami-d216a3ba
available anywhere? If not, is it possible to set this up without it?
It is in us-east-1 region.
Does anybody know what the username to access this AMI once it comes up is?
Oh, hilarious. I've set up our infrastructure sans the autoscaling, but nice to know for futureproofing. Is there a locked user already set up on the AMI?
I rebuilt the AMI from us-east-1 using packer, and created an ami in ap-southeast-2: ami-70ddcf13
.
I used this packer file:
{
"builders": [
{
"ami_name": "grid-node-new-open3-domain",
"ami_groups": [ "all" ],
"ssh_username": "ubuntu",
"instance_type": "t2.medium",
"region": "us-east-1",
"source_ami": "ami-d216a3ba",
"type": "amazon-ebs"
}
]
}
Basically created an AMI in my AWS account in us-east-1, then just copied the AMI to ap-southeast-2.
So you could do the same for whatever region you need.
Great. Thanks for posting that.
@AggressiveSneeze the built in user should be 'ubuntu' FWIW
@James-E-Adams @discobean @mhardin As we are talking about AMI, have got a question: Currently my grid runs on 2.53 , FFv45 ESR (supported by AWS EC2), Chrome v51 , all fine.
I upgraded to Selenium Webdriver 3.4.0 and i was able to run on FFv52 ESR (supported by AWS EC2) But now that I updated SeleniumGrid Scaler to selenium 3.5.3, I am not able to start FFv52 or Chrome v61 on EC2 nodes. I can see the spots are greyed but then i get ' Chrome failed to start: crashed' and for FF it simply times out. Just curious if any of you have succeeded in running latest FF or Chrome in AWS linux boxes? I am using latest Chrome and Gecko drivers as necessary.
Any input is appreciated!
@ambirag we're running chrome 61 on our linux boxes. We updated selenium in this project, as well as the selenium jar on the nodes. I want to say we intermittently get the Chrome failed to start: crashed
error, but for the most part it runs well for us.
@mhardin is that Linux - AWS linux or Ubuntu or FEDORA or what flavor is it? because officially chrome discontinued support for CenOS/RHEL so just curious. Also installing chrome on Linux requires gtk3 library, can you point me to any instructions you followed?
@ambirag its the default ubuntu image thats included in this project.