<commit_before>---
autodeploy_passthrough_enabled: no
autoscale: no
dns_points_to_load_balancer: "{{ load_balancers_enabled | bool }}"
elb_ssl_certificate_name: 'self-signed'
elb_ssl_offload: no
load_balance_prototypes: no
load_balancers_enabled: no
root_volume_size: 10
subnet_prefix: '10.0'
using_rds: no

forge_region: eu-central-1
forge_bucket: telusdigital-forge
forge_userdata: <KEY>

virtualization_type: hvm

health_check_response_timeout: "{% if autoscale %}2{% else %}5{% endif %}"
health_check_interval: "{% if autoscale %}5{% else %}30{% endif %}"
health_check_unhealthy_threshold: 2
health_check_healthy_threshold: 10

always_use_spot_instance_for_roles:
  - aggregator
  - logs
  - metrics
  - build
  - preview

autoscale_roles:
  - management
  - inbound
  - application
  - database
  - cache
  - outbound
  - aggregator
  - build
  - preview
  - logs
  - metrics

default_instance_type:
  management: m3.medium
  inbound: c3.large
  application: m3.medium
  cache: m3.medium
  database: m3.medium
  outbound: m3.medium
  aggregator: m3.medium
  build: m3.medium
  preview: m3.medium
  logs: hi1.4xlarge
  metrics: hi1.4xlarge

fallback_instance_type:
  management: t1.micro
  inbound: m1.small
  application: c1.medium
  cache: m1.small
  database: m1.medium
  outbound: m1.small
  aggregator: m1.small
  build: m1.small
  preview: m1.small
  logs: hi1.4xlarge
  metrics: hi1.4xlarge

use_spot_instances_in_environments:
  - next
  - development
  - staging

default_instance_bid:
  c1.medium: 0.130
  c1.xlarge: 0.520
  c3.2xlarge: 0.420
  c3.4xlarge: 0.840
  c3.8xlarge: 1.680
  c3.large: 0.105
  c3.xlarge: 0.210
  c4.2xlarge: 0.464
  c4.4xlarge: 0.928
  c4.8xlarge: 1.856
  c4.large: 0.116
  c4.xlarge: 0.232
  cc2.8xlarge: 2.00
  cg1.4xlarge: 2.10
  cr1.8xlarge: 3.50
  g2.2xlarge: 0.650
  hi1.4xlarge: 3.100
  hs1.8xlarge: 4.600
  i2.2xlarge: 1.705
  i2.4xlarge: 3.410
  i2.8xlarge: 6.820
  i2.xlarge: 0.853
  m1.large: 0.175
  m1.medium: 0.087
  m1.small: 0.044
  m1.xlarge: 0.350
  m2.2xlarge: 0.490
  m2.4xlarge: 0.980
  m2.xlarge: 0.245
  m3.2xlarge: 0.560
  m3.large: 0.140
  m3.medium: 0.070
  m3.xlarge: 0.280
  r3.2xlarge: 0.700
  r3.4xlarge: 1.400
  r3.8xlarge: 2.800
  r3.large: 0.175
  r3.xlarge: 0.350
  t1.micro: 0.020
  t2.medium: 0.052
  t2.micro: 0.013
  t2.small: 0.026

instance_type_requires_paravirtualization:
  - c1.medium
  - c1.xlarge
  - m1.large
  - m1.medium
  - m1.small
  - m1.xlarge
  - m2.2xlarge
  - m2.4xlarge
  - m2.xlarge
  - t1.micro

override_instance_type: {}
override_instance_bid: {}
override_root_volume_size: {}

default_server_types:             # Values in roles/meta/infrastructure/vars/infrastrucutre/load-balancers.yml
  application: webserver
  database: mysql
  outbound: squid
override_server_types: {}
server_types: "{{ default_server_types.update(override_server_types) }}{% if fallback_mode %}{{ default_server_types.update(fallback_instance_types) }}{% endif %}{{ default_server_types }}"
roles_needing_public_ip:
  - outbound
  - inbound<commit_msg>Updated naming of fallback mode to 'fallback_server_type'.<commit_after>---
autodeploy_passthrough_enabled: no
autoscale: no
dns_points_to_load_balancer: "{{ load_balancers_enabled | bool }}"
elb_ssl_certificate_name: 'self-signed'
elb_ssl_offload: no
load_balance_prototypes: no
load_balancers_enabled: no
root_volume_size: 10
subnet_prefix: '10.0'
using_rds: no

forge_region: eu-central-1
forge_bucket: telusdigital-forge
forge_userdata: <KEY>

virtualization_type: hvm

health_check_response_timeout: "{% if autoscale %}2{% else %}5{% endif %}"
health_check_interval: "{% if autoscale %}5{% else %}30{% endif %}"
health_check_unhealthy_threshold: 2
health_check_healthy_threshold: 10

always_use_spot_instance_for_roles:
  - aggregator
  - logs
  - metrics
  - build
  - preview

autoscale_roles:
  - management
  - inbound
  - application
  - database
  - cache
  - outbound
  - aggregator
  - build
  - preview
  - logs
  - metrics

default_instance_type:
  management: m3.medium
  inbound: c3.large
  application: m3.medium
  cache: m3.medium
  database: m3.medium
  outbound: m3.medium
  aggregator: m3.medium
  build: m3.medium
  preview: m3.medium
  logs: hi1.4xlarge
  metrics: hi1.4xlarge

fallback_instance_type:
  management: t1.micro
  inbound: m1.small
  application: c1.medium
  cache: m1.small
  database: m1.medium
  outbound: m1.small
  aggregator: m1.small
  build: m1.small
  preview: m1.small
  logs: hi1.4xlarge
  metrics: hi1.4xlarge

use_spot_instances_in_environments:
  - next
  - development
  - staging

default_instance_bid:
  c1.medium: 0.130
  c1.xlarge: 0.520
  c3.2xlarge: 0.420
  c3.4xlarge: 0.840
  c3.8xlarge: 1.680
  c3.large: 0.105
  c3.xlarge: 0.210
  c4.2xlarge: 0.464
  c4.4xlarge: 0.928
  c4.8xlarge: 1.856
  c4.large: 0.116
  c4.xlarge: 0.232
  cc2.8xlarge: 2.00
  cg1.4xlarge: 2.10
  cr1.8xlarge: 3.50
  g2.2xlarge: 0.650
  hi1.4xlarge: 3.100
  hs1.8xlarge: 4.600
  i2.2xlarge: 1.705
  i2.4xlarge: 3.410
  i2.8xlarge: 6.820
  i2.xlarge: 0.853
  m1.large: 0.175
  m1.medium: 0.087
  m1.small: 0.044
  m1.xlarge: 0.350
  m2.2xlarge: 0.490
  m2.4xlarge: 0.980
  m2.xlarge: 0.245
  m3.2xlarge: 0.560
  m3.large: 0.140
  m3.medium: 0.070
  m3.xlarge: 0.280
  r3.2xlarge: 0.700
  r3.4xlarge: 1.400
  r3.8xlarge: 2.800
  r3.large: 0.175
  r3.xlarge: 0.350
  t1.micro: 0.020
  t2.medium: 0.052
  t2.micro: 0.013
  t2.small: 0.026

instance_type_requires_paravirtualization:
  - c1.medium
  - c1.xlarge
  - m1.large
  - m1.medium
  - m1.small
  - m1.xlarge
  - m2.2xlarge
  - m2.4xlarge
  - m2.xlarge
  - t1.micro

override_instance_type: {}
override_instance_bid: {}
override_root_volume_size: {}

default_server_types:             # Values in roles/meta/infrastructure/vars/infrastrucutre/load-balancers.yml
  application: webserver
  database: mysql
  outbound: squid
override_server_types: {}
server_types: "{{ default_server_types.update(override_server_types) }}{% if fallback_server_type %}{{ default_server_types.update(fallback_instance_types) }}{% endif %}{{ default_server_types }}"
roles_needing_public_ip:
  - outbound
  - inbound
{'fraction_non_alphanumeric': 0.112475442043222, 'fraction_numerical': 0.091683038637852, 'mean_word_length': 3.5453869047619047, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5349493', 'n_tokens_mistral': 2924, 'n_tokens_neox': 2604, 'n_words': 477}