Hello All,
Due to increasing usage of WPT, we decided to do a POC by setting up WPT Private instance on AWS using community AMI’s. Once complete we can invest on scaling up setup.
For POC we choose non auto-scaling EC2 WPT Agent. Based on all given documentation and understanding I have setup 2 instances (sever and agent). Must be doing something wrong due to which when agent is not getting populated on server.
Following are the steps and configurations:
- Setup server using “ami-fcfd6194” and user data as “api_key= headless=0 iq=80 pngss=1”
- assigned an elastic IP
- Tested UI and it is coming up good.
- Setup Agent using AMI “ami-4bd6dc2f” and user data “wpt_server=<elastic IP of server” wpt_location=TG_London_WPT wpt_key="
- RDP to agent is coming good.
- Edited settings.ini on server, commented ec2_locations and ec2 both to 0
- Edited locations.ini on server as
[locations]
1=EC2
default=EC2
[EC2]
1=TG_London_WPT_wptdriver
2=TG_London_WPT_IE11
label=“TG_London”
default=TG_London_WPT_wptdriver
[TG_London_WPT_wptdriver]
browser=Chrome,Firefox
label=“WPT Agent”
[TG_London_WPT_IE11]
browser=IE 11
label=“IE 11 Agent”
8. Restarted NGINX
9. /install
Test Locations
EC2 : My awesome tester agent
TG_London_WPT_wptdriver : My awesome tester agent with wptdriver - No Agents Connected
TG_London_WPT_IE11 : My awesome tester agent - No Agents Connected
Please do let me know if need any further information.
Thanks
Tarun