Current time: 12-06-2019, 11:14 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EC2 Amazon Agents - SSL Certs
08-19-2015, 01:04 AM
Post: #1
EC2 Amazon Agents - SSL Certs
Hi,

I am using the Amazon EC2 WPT solution. I want to see if it is possible to use ssl certs to test certain webpages but I cant see any nice way to do this.
I think i would need to install the Cert on the Amazon Agent, but if I do this then that Agent will be removed after an hour of non-use. Is there a way to disable this feature (i.e. keep the Amazon Agent alive with the installed Cert?). Or can you think of a better approach?

Many thanks for your help!
Find all posts by this user
Quote this message in a reply
08-20-2015, 06:42 AM
Post: #2
RE: EC2 Amazon Agents - SSL Certs
If you disable the auto-scaling in settings.ini and launch the instances manually it should work. Another option is to snapshot a configured instance and use that AMI ID in locations.ini.ec2 instead of the default WPT AMI's. That way when it spins up new instances it will use your image with the cert installed.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-24-2015, 08:01 PM
Post: #3
RE: EC2 Amazon Agents - SSL Certs
Thanks for your suggestion Patrick. I have opted for the first option, disabling the auto-scaling in settings.ini.
To disable auto-scaling I have set
EC2.default=eu-west-1
EC2.eu-west-1.min=1
EC2.eu-west-1.max=1
I launch the ssl instance and works great, however WPT launches another Agent instance also which means I have 2 Agents connected to eu-west-1
From http://<wpt_server>/install
eu-west-1-group : Europe (Ireland)
eu-west-1 : Europe (Ireland) - 4 agents connected
eu-west-1_IE11 : Europe (Ireland) - 4 agents connected

Are the changes I made to settings.ini above enough to disable the auto-scaling?
Find all posts by this user
Quote this message in a reply
08-24-2015, 11:40 PM
Post: #4
RE: EC2 Amazon Agents - SSL Certs
It would be cleaner to just remove the ec2_key and ec2_secret from the config: https://github.com/WPO-Foundation/webpag...ample#L164

That will actually turn off the scaling directly.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-25-2015, 12:54 AM
Post: #5
RE: EC2 Amazon Agents - SSL Certs
I decided to use the second option and launch the instance from a pre-configured AMI. Works great, Thank you for you help!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)