Sha256: 2a379c01318a3c55f1d03e47c2c5f198ce7b87649e79af511a14d39b47b7b7cc

Contents?: true

Size: 1.42 KB

Versions: 28

Compression:

Stored size: 1.42 KB

Contents

scheduler:
  type: ecs
  region: ap-northeast-1
  cluster: eagletmt
  desired_count: 2
  role: ecsServiceRole
  elb:
    listeners:
      - load_balancer_port: 80
        protocol: HTTP
    subnets:
      - subnet-XXXXXXXX
      - subnet-YYYYYYYY
    security_groups:
      - sg-ZZZZZZZZ
  autoscaling:
    role_arn: arn:aws:iam::012345678901:role/ecsAutoscaleRole
    min_capacity: 1
    max_capacity: 4
    policies:
      # Add one task when ecs-scaling-out-hello-autoscaling-service is in alarm state
      - alarms: [ecs-scaling-out-hello-autoscaling-service]
        cooldown: 300
        adjustment_type: ChangeInCapacity
        scaling_adjustment: 1
        metric_interval_lower_bound: 0
        metric_aggregation_type: Average
      # Remove one task when ecs-scaling-in-hello-autoscaling-service is in alarm state
      - alarms: [ecs-scaling-in-hello-autoscaling-service]
        cooldown: 300
        adjustment_type: ChangeInCapacity
        scaling_adjustment: -1
        metric_interval_upper_bound: 0
        metric_aggregation_type: Average
app:
  image: ryotarai/hello-sinatra
  memory: 128
  cpu: 256
  env:
    $providers:
      - type: file
        path: hello.env
    PORT: '3000'
    MESSAGE: '#{username}-san'
additional_containers:
  front:
    image_tag: hako-nginx
    memory: 32
    cpu: 32
scripts:
  - <<: !include front.yml
    backend_port: 3000
    locations:
      /:
        allow_only_from:
          - 10.0.0.0/24

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hako-2.0.4 examples/hello-autoscaling.yml
hako-2.0.3 examples/hello-autoscaling.yml
hako-2.0.2 examples/hello-autoscaling.yml
hako-2.0.1 examples/hello-autoscaling.yml
hako-2.0.0 examples/hello-autoscaling.yml
hako-1.9.0 examples/hello-autoscaling.yml
hako-1.8.4 examples/hello-autoscaling.yml
hako-1.8.3 examples/hello-autoscaling.yml
hako-1.8.2 examples/hello-autoscaling.yml
hako-1.8.1 examples/hello-autoscaling.yml
hako-1.8.0 examples/hello-autoscaling.yml
hako-1.7.0 examples/hello-autoscaling.yml
hako-1.6.2 examples/hello-autoscaling.yml
hako-1.6.1 examples/hello-autoscaling.yml
hako-1.6.0 examples/hello-autoscaling.yml
hako-1.5.2 examples/hello-autoscaling.yml
hako-1.5.1 examples/hello-autoscaling.yml
hako-1.5.0 examples/hello-autoscaling.yml
hako-1.4.0 examples/hello-autoscaling.yml
hako-1.3.3 examples/hello-autoscaling.yml