WebPagetest Forums
Multiple instances within one AWS account - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Multiple instances within one AWS account (/showthread.php?tid=14701)



Multiple instances within one AWS account - avandonkelaar - 01-18-2017 10:54 PM

I'am trying to setup multiple wpt instances in one AWS account with automatic scaling. This works as long as i use other locations as soon as i want to use the same location on or the other wpt instance thinks that there are instances which can be used, but since they have the metadata of the other instances it can takes ages before something will happen.

Any idea how to set this up?


RE: Multiple instances within one AWS account - pmeenan - 01-24-2017 03:13 AM

I don't think the current code will be able to do it because the scaling logic uses fixed meta-data and assumes there is only one instance per account.

Best way I can think of to fix it is for each install to generate a unique ID and include that ID as part of the metadata.