Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
opennic:infra:wiki [2017-07-19T21:22:08Z] fuslopennic:infra:wiki [2017-07-30T08:04:12Z] fusl
Line 38: Line 38:
 === prod-wiki-high === === prod-wiki-high ===
   * Policy type: ''Simple scaling''   * Policy type: ''Simple scaling''
-  * Execute policy when: ''prod-wiki-high'' (breaches the alarm threshold: ''TargetResponseTime >= 1'' for *300seconds for the metric dimensions ''LoadBalancer = app/prod-wiki/0ec4b8b4601b350c'')+  * Execute policy when: ''prod-wiki-high'' (breaches the alarm threshold: ''TargetResponseTime >= 1'' for ''300'' seconds for the metric dimensions ''LoadBalancer = app/prod-wiki/0ec4b8b4601b350c'')
   * Take the action: ''Add 2 instances''   * Take the action: ''Add 2 instances''
   * And then wait: ''180 seconds before allowing another scaling activity''   * And then wait: ''180 seconds before allowing another scaling activity''
Line 44: Line 44:
 === prod-wiki-low === === prod-wiki-low ===
   * Policy type: ''Simple scaling''   * Policy type: ''Simple scaling''
-  * Execute policy when: ''prod-wiki-low'' (breaches the alarm threshold: ''TargetResponseTime <= 0.5'' for *300seconds for the metric dimensions ''LoadBalancer = app/prod-wiki/0ec4b8b4601b350c'')+  * Execute policy when: ''prod-wiki-low'' (breaches the alarm threshold: ''TargetResponseTime <= 0.5'' for ''300'' seconds for the metric dimensions ''LoadBalancer = app/prod-wiki/0ec4b8b4601b350c'')
   * Take the action: ''Remove 1 instances''   * Take the action: ''Remove 1 instances''
   * And then wait: ''180 seconds before allowing another scaling activity''   * And then wait: ''180 seconds before allowing another scaling activity''
Line 122: Line 122:
       * Is: ''<='' ''500''       * Is: ''<='' ''500''
       * For at least: ''1'' consecutive period(s) of ''5 Minutes''       * For at least: ''1'' consecutive period(s) of ''5 Minutes''
 +===== git sync ===== 
 +The entire web root directory is synced to [[https://github.com/opennic/wikipages|GitHub]] approximately every 30 minutes using [[https://github.com/opennic/wikipages/blob/master/sync.sh|this]] simple bash script. Some files are [[https://github.com/opennic/wikipages/blob/master/.gitignore|not synced]] to the repository, for example the ''conf/users.auth.php'' file containing all users with their email addresses and passwords until LDAP authentication is up and running.
  • /wiki/data/pages/opennic/infra/wiki.txt
  • Last modified: 5 years ago
  • by fusl