We already use WPT Agent AMIs and they work beautifully. But has anyone done any work to create Google Cloud Compute Images for WPT agent available? (If not I can possibly share our Image once I manage to get it working). The site we wish to monitor is hosted in AWS so we thought it would be a good idea to monitor it from outside of AWS as well.
I know its fairly easy to create Private Machine Images in Google Compute but I can’t seem to get the traffic shaping to work. I have seen some threads in this forum where others have run into the same issue. This thread says ipfw does not work on 64bit Windows but I can see WPT Agent AMI ami-a3a81dd0 seems to be built with 64bit windows as well (where obviously traffic shaping works fine).
I have tried almost everything to make sure Google Image is exactly the same as the said AMI but haven’t had any luck yet. May be I am overlooking something and I’ll be able to solve this eventually but was checking to see if someone has already solved this issue and tell me if
there is a Google Cloud Compute Image for WPT Agent
One thing to watch out for on the setup is that the GCE servers do not have graphics attached so the only way to run an actual desktop is through RDP. This gets a bit convoluted to set up but it means you need to have the VM start an RDP session to 127.0.0.2 (localhost but not on the black-list for RDP) and then run the test agent inside of the RDP session.
btw, if you just need outside-of-EC2 testing, it might be easier to bring an instance up on Azure for right now since they do have Graphics attached and it is basically just following the server install directions.
I had done some work on public Azure images and just need to carve out some time to re-visit it.
Hi Patrick - many thanks for your super swift response.
I have managed to get wpt agent working (without traffic shaping) using GCE graphics hack suggested - so no problems there.
To answer your first query re dummynet installation - yes I did follow all the steps mentioned carefully and in exact same order suggested (link to video). But once dummynet is installed
Windows RDP session becomes very sluggish and
all tests start to timeout as dummynet installation seems to reduce the upload speed down to 0.05MBPS regardless what traffic shaping values you insert. I have attached a brief youtube video (~1 minute length) of me attempting to install dummynet (if you can kindly review).
Not sure if this is of any help but wptdriver.exe does pick up the tests and run them as expected but the tests timeout as there is not much but upload speed to work with.
Hmm, could be that the windows servers are using a paravirtual driver that doesn’t play nice with dummynet
We have the same issue with newer images on EC2 (except all networking breaks). I’m just starting work on a replacement driver for Dummynet that uses newer Windows API’s and will work with windows 10 as well and it might just have to wait until I have that finished (hopefully not more than a few weeks).
FWIW, the agents work fine on GCE now with the Windows 2016 server images and the switch to winshaper for traffic-shaping (in the 3.0 release). Unfortunately you still need to build images yourself because there isn’t support for publicly sharing images but I can confirm the agents work fine.