Current time: 12-01-2020, 07:48 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Robustness of EC2 Autoscaling
12-05-2015, 11:27 AM
Post: #2
RE: Robustness of EC2 Autoscaling
FWIW, none of the cli code is used in the newer auto-scaling code.

The EC2 scaling code is here: https://github.com/WPO-Foundation/webpag...c2.inc.php

The shutdown check for instances are triggered every 5 minutes here: https://github.com/WPO-Foundation/webpag...n/5min.php (no need to hook it up to actual cron, it is triggered automatically as agents poll for work).

The code in cli/ is from a few years ago and is more of a sample if people wanted to use it as a base for EC2 instance scaling and it was used on the public instance for some testing.

The instance size is m2 medium by default I believe but it can be overridden in the locations: https://github.com/WPO-Foundation/webpag...ations.ini
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Robustness of EC2 Autoscaling - ShaneLabs - 12-05-2015, 10:42 AM
RE: Robustness of EC2 Autoscaling - pmeenan - 12-05-2015 11:27 AM

Forum Jump:


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